 <p>Okay, <a href="https://s3.amazonaws.com/downloads.mesosphere.io/dcos/stable/single-master.cloudformation.json" rel="nofollow">given the DCOS template</a>, the LaunchConfiguration for the slaves looks like this: (I've shortened it somewhat)</p> <pre><code>"MasterLaunchConfig": { "Type": "AWS::AutoScaling::LaunchConfiguration", "Properties": { "IamInstanceProfile": { "Ref": "MasterInstanceProfile" }, "SecurityGroups": [ ... ], "ImageId": { ... }, "InstanceType": { ... }, "KeyName": { "Ref": "KeyName" }, "UserData": { ... } } } </code></pre> <p>To get started, all you need to do is add the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-spotprice" rel="nofollow"><code>SpotPrice</code></a> property in there. The value of <code>SpotPrice</code> is, obviously, the maximum price you want to pay. You'll probably need to do more work around autoscaling, especially with alarms and time of day. So here's your new <code>LaunchConfiguration</code> with a spot price of $1.00 per hour:</p> <pre><code>"MasterLaunchConfig": { "Type": "AWS::AutoScaling::LaunchConfiguration", "Properties": { "IamInstanceProfile": { "Ref": "MasterInstanceProfile" }, "SecurityGroups": [ ... ], "ImageId": { ... }, "InstanceType": { ... }, "KeyName": { "Ref": "KeyName" }, "UserData": { ... }, "SpotPrice": 1.00 } } </code></pre>