Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions,
see Getting Started with Amazon Web Services in China
(PDF).
Suspend processes
To suspend a process for an Auto Scaling group, use one of the following methods:
- Console
-
To suspend a process
Open the Amazon EC2 console at
https://console.amazonaws.cn/ec2/, and choose Auto Scaling Groups from the navigation pane.
-
Select the check box next to the Auto Scaling group.
A split pane opens up in the bottom of the page.
-
On the Details tab, choose
Advanced configurations,
Edit.
-
For Suspended processes, choose the
process to suspend.
-
Choose Update.
- Amazon CLI
-
Use the following suspend-processes command to suspend individual
processes.
aws autoscaling suspend-processes --auto-scaling-group-name my-asg
--scaling-processes HealthCheck
ReplaceUnhealthy
To suspend all processes, omit the --scaling-processes
option, as follows.
aws autoscaling suspend-processes --auto-scaling-group-name my-asg