Configuring overrides - Amazon EC2 Auto Scaling

Configuring overrides

Overrides are changes you make to the properties of your launch template. Amazon EC2 Auto Scaling supports overrides to the instance type property. That way, you can specify multiple instance types. To do so, you must add the Overrides structure to your mixed instances policy.

The Overrides structure allows you to define a set of parameters that Amazon EC2 Auto Scaling can use to launch instances, including:

  • InstanceType — The instance type. For more information about the instance types that are available, see Instance types in the Amazon EC2 User Guide for Linux Instances.

  • LaunchTemplateSpecification — (Optional) A launch template for an individual instance type. This property is currently limited to the AWS CLI or an SDK, and is not available from the console.

  • WeightedCapacity — (Optional) The number of units that a provisioned instance of this type provides toward fulfilling the desired capacity of the Auto Scaling group. If you specify a weight value for one instance type, you must specify a weight value for all of them.