suspend certain autoscaling processes before cycling servers

This commit is contained in:
Anuj Biyani
2013-05-31 15:05:16 -07:00
parent 4f466e1a19
commit 6f74b5c511
4 changed files with 26 additions and 2 deletions

View File

@@ -9,4 +9,8 @@ class AwsHaRelease
raise ArgumentError, "The Auto Scaling Group named #{opts[:as_group_name]} does not exist in #{opts[:region]}."
end
end
def execute!
@group.suspend_processes 'ReplaceUnhealthy', 'AlarmNotification', 'ScheduledActions', 'AZRebalance'
end
end