Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase rolling update PauseTime to 40 minutes #126

Merged
merged 1 commit into from
Aug 22, 2016

Conversation

toolmantim
Copy link
Contributor

@toolmantim toolmantim commented Aug 22, 2016

Updating the stack with a large number of instances sometimes fails, and then the rollback itself fails. This increases the PauseTime to 40 minutes to help this, with the downside that if an instance fails to come up during a rolling update, it's a long wait before you can do something about it. The upside is updates, and especially rollbacks, should have a better chance of succeeding.

The amount of time that AWS CloudFormation pauses after making a change to a batch of instances to give those instances time to start software applications. For example, you might need to specify PauseTime when scaling up the number of instances in an Auto Scaling group.

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html

If you enable the WaitOnResourceSignals property, PauseTime is the amount of time that AWS CloudFormation should wait for the Auto Scaling group to receive the required number of valid signals from added or replaced instances. If the PauseTime is exceeded before the Auto Scaling group receives the required number of signals, the update fails. For best results, specify a time period that gives your applications sufficient time to get started. If the update needs to be rolled back, a short PauseTime can cause the rollback to fail.

(mentioned in #84)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant