In this, we will learn about the Auto Scaling Launch Templates.

  • Similar to a launch configuration,
  • specifies instance configuration information.
  • It specify
    • ID of the Amazon Machine Image (AMI)
    • instance type
    • a key pair
    • security groups
  • multiple versions of a template can be made.
  • With versioning, a subset of the full set of parameters can create and further resuse for creating other templates or template versions.
  • Can provision capacity across multiple instance types using both On-Demand and Spot Instances
  • If using launch configurations, can specify launch template if Auto Scaling group updates and create using a launch configuration.
Auto Scaling Launch Templates
Uses:

You may also leverage newer Amazon EC2 capabilities with launch templates. Secondly, to mention a few, this includes EBS Provisioned IOPS volumes (io2), EBS volume tagging, T2 Unlimited instances, Elastic Inference, and Dedicated Hosts. Physical servers with EC2 instance capacity that are devoted to your users are known as dedicated hosts. However, while Amazon EC2 Dedicated Instances operate on dedicated hardware as well, the benefit of choosing Dedicated Hosts over Dedicated Instances is that you may import qualified software licenses from outside suppliers and utilize them on EC2 instances.

Further, you may copy data from existing launch settings to launch templates in the console if you’re presently using launch configurations. Then, using a new launch template, you may migrate your deployed Auto Scaling groups that employ a launch configuration. To do this, start an instance refresh to do a rolling update of your group.

Check here for more.

Menu