Skip to content

Instantly share code, notes, and snippets.

@kenperkins
Created September 18, 2014 18:12
Show Gist options
  • Save kenperkins/46ac8badf16d32503203 to your computer and use it in GitHub Desktop.
Save kenperkins/46ac8badf16d32503203 to your computer and use it in GitHub Desktop.
Autoscale Sample Create Scaling Group
{
"launchConfiguration": {
"args": {
"loadBalancers": [{
"port": 80,
"loadBalancerId": 237935
}],
"server": {
"name": "autoscale_server",
"imageRef": "7cf5ffc3-7b20-46fd-98e4-fefa9908d7e8",
"flavorRef": "performance1-2",
"OS-DCF:diskConfig": "AUTO",
"networks": [{
"uuid": "11111111-1111-1111-1111-111111111111"
}, {
"uuid": "00000000-0000-0000-0000-000000000000"
}]
}
},
"type": "launch_server"
},
"groupConfiguration": {
"maxEntities": 10,
"cooldown": 360,
"name": "testscalinggroup",
"minEntities": 0
},
"scalingPolicies": [{
"cooldown": 0,
"name": "scale up by 1",
"change": 1,
"type": "schedule",
"args": {
"cron": "23 * * * *"
}
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment