amazon web services - Spot Instances Support DCOS -


is possible change dcos template use spot instances? have looked around , there not seem information regarding this.

okay, given dcos template, launchconfiguration slaves looks this: (i've shortened somewhat)

"masterlaunchconfig": {   "type": "aws::autoscaling::launchconfiguration",   "properties": {     "iaminstanceprofile": { "ref": "masterinstanceprofile" },     "securitygroups": [ ... ],     "imageid": { ... },     "instancetype": { ... },     "keyname": { "ref": "keyname" },     "userdata": { ... }   } } 

to started, need add spotprice property in there. value of spotprice is, obviously, maximum price want pay. you'll need more work around autoscaling, alarms , time of day. here's new launchconfiguration spot price of $1.00 per hour:

"masterlaunchconfig": {   "type": "aws::autoscaling::launchconfiguration",   "properties": {     "iaminstanceprofile": { "ref": "masterinstanceprofile" },     "securitygroups": [ ... ],     "imageid": { ... },     "instancetype": { ... },     "keyname": { "ref": "keyname" },     "userdata": { ... },     "spotprice": 1.00   } } 

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -