AWS Auto Scaling Groups

Last article we studied how to load balance our servers so that we can make them more reliable but adding servers manually still make our system brittle. At any time the load on our servers may increase. So, we need to set our servers in such a way tha…


This content originally appeared on DEV Community and was authored by Ajit Singh

Last article we studied how to load balance our servers so that we can make them more reliable but adding servers manually still make our system brittle. At any time the load on our servers may increase. So, we need to set our servers in such a way that servers are added and removed automatically. This is what auto scaling groups are used for in AWS.

What is an Auto Scaling Group?

In the cloud you can create and get rid of serves very quickly and we don't know what kind of a load will be on our server. So, in order to ensure an optimum number of server quantity we use auto scaling groups. ASG adds EC2 instances and removes EC2 instances according to need. ASG automatically registers new EC2 instances as and when needed on the load balancer. It can also detect unhealthy instances and add new servers replacing them. This leads to cost savings and a robust system architecture.

How does an ASG work?

In an ASG we give a minimum capacity, a maximum capacity and a preferred capacity. Our ASG starts from a preferred quantity and add or remove servers according to need. It registers all of them under a load balancer so that we can still take the advantage of one common DNS for all our servers, plus traffic is automatically balanced across our servers.

In the next article we will see how to create a robust architecture in our EC2 instances using our load balancers and auto scaling groups.


This content originally appeared on DEV Community and was authored by Ajit Singh


Print Share Comment Cite Upload Translate Updates
APA

Ajit Singh | Sciencx (2021-06-29T04:14:44+00:00) AWS Auto Scaling Groups. Retrieved from https://www.scien.cx/2021/06/29/aws-auto-scaling-groups/

MLA
" » AWS Auto Scaling Groups." Ajit Singh | Sciencx - Tuesday June 29, 2021, https://www.scien.cx/2021/06/29/aws-auto-scaling-groups/
HARVARD
Ajit Singh | Sciencx Tuesday June 29, 2021 » AWS Auto Scaling Groups., viewed ,<https://www.scien.cx/2021/06/29/aws-auto-scaling-groups/>
VANCOUVER
Ajit Singh | Sciencx - » AWS Auto Scaling Groups. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/06/29/aws-auto-scaling-groups/
CHICAGO
" » AWS Auto Scaling Groups." Ajit Singh | Sciencx - Accessed . https://www.scien.cx/2021/06/29/aws-auto-scaling-groups/
IEEE
" » AWS Auto Scaling Groups." Ajit Singh | Sciencx [Online]. Available: https://www.scien.cx/2021/06/29/aws-auto-scaling-groups/. [Accessed: ]
rf:citation
» AWS Auto Scaling Groups | Ajit Singh | Sciencx | https://www.scien.cx/2021/06/29/aws-auto-scaling-groups/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.