Skip to content

Instantly share code, notes, and snippets.

@przygode
Created October 21, 2012 21:33
Show Gist options
  • Save przygode/3928588 to your computer and use it in GitHub Desktop.
Save przygode/3928588 to your computer and use it in GitHub Desktop.
auto-scaling AppServerGroup
{
"AppServerGroup": {
"Type": "AWS::AutoScaling::AutoScalingGroup",
"Properties": {
"AvailabilityZones": {
"Fn::GetAZs": ""
},
"LaunchConfigurationName": {
"Ref": "ChefClient"
},
"LoadBalancerNames": [
{
"Ref": "app.stratalux.com"
}
],
"MinSize": "3",
"MaxSize": "6",
"HealthCheckType": "ELB",
"HealthCheckGracePeriod": "720",
"NotificationConfiguration": {
"TopicARN": {
"Ref": "AppServerSNSTopic"
},
"NotificationTypes": [
"autoscaling:EC2_INSTANCE_LAUNCH",
"autoscaling:EC2_INSTANCE_LAUNCH_ERROR",
"autoscaling:EC2_INSTANCE_TERMINATE",
"autoscaling:EC2_INSTANCE_TERMINATE_ERROR"
]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment