Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Hybrid Cloud for Developers
  • Toc
  • feedback
Hybrid Cloud for Developers

Hybrid Cloud for Developers

By : Hirway
close
Hybrid Cloud for Developers

Hybrid Cloud for Developers

By: Hirway

Overview of this book

This book introduces you to the hybrid cloud platform, and focuses on the AWS public cloud and OpenStack private cloud platforms. It provides a deep dive into the AWS and OpenStack cloud platform services that are essential for developing hybrid cloud applications. You will learn to develop applications on AWS and OpenStack platforms with ease by leveraging various cloud services and taking advantage of PaaS. The book provides you with the ability to leverage the ?exibility of choosing a cloud platform for migrating your existing resources to the cloud, as well as developing hybrid cloud applications that can migrate virtual machine instances from AWS to OpenStack and vice versa. You will also be able to build and test cloud applications without worrying about the system that your development environment supports. The book also provides an in-depth understanding of the best practices that are followed across the industry for developing cloud applications, as well as for adapting the hybrid cloud platform. Lastly, it also sheds light on various troubleshooting techniques for OpenStack and AWS cloud platform services that are consumed by hybrid cloud applications. By the end of this book, you will have a deep understanding of the hybrid cloud platform and will be able to develop robust, efficient, modular, scalable, and ?exible cloud applications.
Table of Contents (11 chapters)
close

Developing Amazon EC2 applications – Windows


In the second chapter, we discussed EC2 instances in brief. 

Let's now start by looking at how we can launch an EC2 instance using the SDK by writing an application program. We will use the same .NET C# SDK classes and their functions to manipulate EC2 instances.

Launching an EC2 instance

To launch an EC2 instance on AWS, we need:

  • Amazon Machine Image (AMI)
  • Instance type or flavor of the instance
  • Key Pair name

An EC2 instance can be launched using an existing AMI in the same region. There are two important classes used for this purpose. The AmazonEC2Client class is used to instantiate an EC2 client object. This class is used to manage the EC2 resources. Also, the RunInstancesRequest class is used to create a request object that consists of the instance details such as AMI identifier, instance type, key pair, and so on. The request object is then passed to the RunInstances() function of the AmazonEC2Client class. This function then sends a request to...

bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete