Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.Remove an instance maintenance policy
If you want to stop using an instance maintenance policy with your Auto Scaling group, you
can remove it.
- Console
-
To remove an instance maintenance policy (console)
Open the Amazon EC2 console at
https://eusc-de-east-1.console.amazonaws-eusc.eu/ec2/, and choose Auto Scaling Groups from the navigation pane.
-
On the navigation bar at the top of the screen, choose the
AWS Region that you created your Auto Scaling group in.
-
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
Instance maintenance policy,
Edit.
-
Choose No instance maintenance
policy.
-
Choose Update.
- AWS CLI
-
To remove an instance maintenance policy (AWS CLI)
Add the --instance-maintenance-policy option to the
update-auto-scaling-group command. The following
example removes the instance maintenance policy from the specified
Auto Scaling group.
aws autoscaling update-auto-scaling-group --auto-scaling-group-name my-asg \
--instance-maintenance-policy '{
"MinHealthyPercentage": -1,
"MaxHealthyPercentage": -1
}'