Which solution will meet these requirements with the LEAST operational overhead?
Define an Amazon EC2 Auto Scaling group by using a launch configuration. Use the provided AMI in the launch configuration. Configure three On-Demand Instances and three Spot Instances. Configure a maximum Spot Instance price in the launch configuration.
Define an Amazon EC2 Auto Scaling group by using a launch template. Use the provided AMI in the launch template. Configure three On-Demand Instances and three Spot instances. Configure a maximum Spot Instance price in the launch template.
Define two Amazon EC2 Auto Scaling groups by using launch configurations. Use the provided AMI in the launch configurations. Configure three On-Demand Instances for one Auto Scaling group. Configure three Spot Instances for the other Auto Scaling group. Configure a maximum Spot Instance price in the launch configuration for the Auto Scaling group that has Spot Instances.
Define two Amazon EC2 Auto Scaling groups by using launch templates. Use the provides AMI in the launch templates. Configure three On-Demand Instances for one Auto Scaling group. Configure three Spot Instances for the other Auto Scaling group. Configure a maximum Spot Instance price in the launch template for the Auto Scaling group that has Spot Instances.
Explanations:
Launch configurations do not support the use of Spot Instance price controls. Spot pricing is only supported with launch templates.
Launch templates support Spot Instance price controls and allow the configuration of both On-Demand and Spot Instances in a single Auto Scaling group. This option ensures high availability with minimal operational overhead.
Using two Auto Scaling groups increases operational complexity without adding significant benefits. A single Auto Scaling group with both On-Demand and Spot Instances is more efficient.
While using launch templates is correct, configuring two Auto Scaling groups is unnecessary. The solution should use a single Auto Scaling group to reduce complexity and operational overhead.