Components Of EC2 Auto Scaling

Launch configuration or Launch Template

These define how Auto Scaling Group builds new EC2 instances

  • Which Amazon Machine Image to use
  • Which Instance type to use
  • If you would like to use Spot Instances
  • If and when Public IP addresses should be used
  • If any user data is on the first boot
  • What storage volume configuration should be used
  • What Security Groups should be used

A lunch template is essentially a newer and more advanced version of the launch configuration

Being a template you can build a standard configuration allowing you to simplify how you launch instances for your auto scaling groups.

Without either the launch configuration or launch template, Auto Scaling would not know what instance it was launching and to which configuration.

Auto Scaling Group

The Auto Scaling Group defines:

  • The desired capacity and other limitations of the other group using scaling policies
  • Where the Group should scale resources, such as which availability zone
Nadtakan Futhoem — Sr. Software Engineer



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store