Skip to content

Instantly share code, notes, and snippets.

@ryo0301
Last active August 29, 2015 14:19
Show Gist options
  • Save ryo0301/da2657a6274b7ef1f754 to your computer and use it in GitHub Desktop.
Save ryo0301/da2657a6274b7ef1f754 to your computer and use it in GitHub Desktop.
CloudFormationで新旧LaunchConfigurationをrolling updateで切り替える ref: http://qiita.com/ryo0301/items/7b9ab1d74c230806f492
{
"Resources": {
"Group": {
"Type": "AWS::AutoScaling::AutoScalingGroup",
"UpdatePolicy": {
"AutoScalingRollingUpdate": {
"MaxBatchSize": "2",
"MinInstancesInService": "5",
"PauseTime": "PT10M",
"WaitOnResourceSignals": "true"
},
"AutoScalingScheduledAction" : {
"IgnoreUnmodifiedGroupSizeProperties" : "true"
}
},
"Properties": {
:
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment