This template creates a launch configuration that can be used by an Auto Scaling group to configure Amazon EC2 instances. It specifies an instance store-backed AMI and includes a Spot price and IAM role. The launch configuration will only be active if the current Spot price is less than the specified price (0.045). The launch configuration also uses an IAM instance profile.

CloudFormation Template