Azure for AWS professionals - Auto Scaling - AWS - 01 All Related Resources for Auto Scaling
@20aman Aug 03, 2019Note that this post is a part of the series. You can view all posts in this series here: Azure for AWS professionals - Index
AWS has various features that provide autoscaling features. Each resource type has it's unique functionality and these resources can work with each other.
These services are:
- Launch Templates - the latest addition - this is a template for the EC2 instances. It has all the relevant information to launch a new EC2 instance. You can configure the compute, storage, networking, etc. inside your launch template. It also contains other instance-level settings, such as the Amazon Machine Image (AMI), instance type, key pair, and security groups, etc. This helps you to provide a predictable and repeatable way of deploying multiple EC2 instances in your environment.
- Launch Configurations - this is very similar to launch templates. This is the older way of doing things. You can have multiple versions of a launch template but not for a launch configuration.
- Auto Scale Groups - This is how you can have multiple instances hosting the same application running at the same time in AWS. This is what provides you with high availability. These scale in and out based on your scaling conditions. You can create auto scale groups in AWS using any one of the Launch Template or Launch configurations. Templates are the recommended way to go.
- AWS Auto Scaling - This is the latest offering from AWS that enables you to quickly discover all scalable resources in your environment and then set up application scaling for you. You can either choose one of the AWS recommended settings to optimize performance or cost or both. Or you can also define your own custom scaling conditions.
In the next few blog posts, we will take a practical look at these resources and how to work with each of these.