HEX
Server: LiteSpeed
System: Linux ip-172-31-76-142.ec2.internal 4.14.158-129.185.amzn2.x86_64 #1 SMP Tue Dec 24 03:15:32 UTC 2019 x86_64
User: 69b4844ae61d4e92bf26ad98af552775 (1065)
PHP: 7.2.27
Disabled: exec,passthru,shell_exec,system,eval
Upload Files
File: //lib/python2.7/site-packages/awscli/examples/autoscaling/enter-standby.rst
**To move instances into standby mode**

This example puts the specified instance into standby mode::

    aws autoscaling enter-standby --instance-ids i-93633f9b --auto-scaling-group-name my-auto-scaling-group --should-decrement-desired-capacity

The following is example output::

    {
        "Activities": [
            {
                "Description": "Moving EC2 instance to Standby: i-93633f9b",
                "AutoScalingGroupName": "my-auto-scaling-group",
                "ActivityId": "ffa056b4-6ed3-41ba-ae7c-249dfae6eba1",
                "Details": {"Availability Zone": "us-west-2a"},
                "StartTime": "2015-04-12T15:10:23.640Z",
                "Progress": 50,
                "Cause": "At 2015-04-12T15:10:23Z instance i-93633f9b was moved to standby in response to a user request, shrinking the capacity from 2 to 1.",
                "StatusCode": "InProgress"
            }
        ]
    }