Most Recent

test

Auto scaling



 Amazon EC2 Auto Scaling

Amazon EC2 Auto Scaling helps you ensure that you have the correct number of Amazon EC2 instances available to handle the load for your application. You create collections of EC2 instances, called Auto Scaling groups. You can specify the minimum number of instances in each Auto Scaling group, and Auto Scaling ensures that your group never goes below this size. You can specify the maximum number of instances in each Auto Scaling group, and Auto Scaling ensures that your group never goes above this size.


For example, the following Auto Scaling group has a minimum size of 1 instance, the desired capacity of 2 instances, and a maximum size of 4 instances. The scaling policies that you define adjust the number of instances, within your minimum and a maximum number of instances, based on the criteria that you specify.



   An illustration of a basic Auto Scaling group.


Graphic 2



Go to Amazon Console and check for EC2




On the left panel get top Auto scaling Group

Go to "Create autos Scaling Group





 Choose the first one

Choose the free tier

we name it "first-launch-config"  them go to skip to review
we will check from one of the existing  security group

we will choose one of our existing keys

We will call our first Auto  Scaling group " first-ASG" and we will choose a default subnet
Check for a review of the configuration




You could verify that there is our Auto scaling group

Go  to instances on the left panel ..check if they are  running properly



 verification
Once it has been created we can delete it as well on the action tab



we can see that it's terminated


One is running, the second one is terminated

Now we can check on history tab, AWS Auto Scaling


In action tab, we can delete that one as well.. and check the desired, Min and Max tab.

Please check graphic 2 at the beginning of this tutorial
delete confirmation


check on Desired, Min and Max tab

deleted confirmation



Auto scaling Auto scaling Reviewed by ohhhvictor on June 26, 2018 Rating: 5

No comments:

Flickr Widget

Powered by Blogger.