Roman Pelepei gives smart answers on questions about C# .Net, ASP .Net, WPF and Silverlight programming with examples and source code.
вторник, 22 октября 2013 г.
How to use Amazon Web Services Auto Scaling Groups
This post we will cover all the commands to create and managed Amazons Auto Scaling Groups
What is an Auto Scaling Group?
Auto Scaling allows you to scale your Amazon EC2 capacity up or down automatically according to conditions you define. With Auto Scaling, you can ensure that the number of Amazon EC2 instances you’re using increases seamlessly during demand spikes to maintain performance, and decreases automatically during demand lulls to minimize costs.
An Amazon Machine Image (AMI) is a special type of pre-configured operating system and virtual application software which is used to create a virtual machine within the Amazon Elastic Compute Cloud (EC2). It serves as the basic unit of deployment for services delivered using EC2.
Let’s imagine you have an AMI: ami-xxxxxx
Before you can create an Auto Scaling Group you need a Launch Configuration
What is a Launch Configuration?
A Launch Configuration defines the AMI to be used, the size of the EC2 instances to be used, the security group the instances will live in and the private key used to decrypt the password in Windows or for gaining access via SSH