403Webshell
Server IP : 52.25.153.185  /  Your IP : 216.73.216.222
Web Server : Apache
System : Linux ip-172-26-6-158 5.10.0-45-cloud-amd64 #1 SMP Debian 5.10.259-1 (2026-07-02) x86_64
User : daemon ( 1)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/awscli/examples/autoscaling/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/awscli/examples/autoscaling/detach-instances.rst
**To detach an instance from an Auto Scaling group**

This example detaches the specified instance from the specified Auto Scaling group::

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

The following is example output::

    {
        "Activities": [
            {
                "Description": "Detaching EC2 instance: i-93633f9b",
                "AutoScalingGroupName": "my-auto-scaling-group",
                "ActivityId": "5091cb52-547a-47ce-a236-c9ccbc2cb2c9",
                "Details": {"Availability Zone": "us-west-2a"},
                "StartTime": "2015-04-12T15:02:16.179Z",
                "Progress": 50,
                "Cause": "At 2015-04-12T15:02:16Z instance i-93633f9b was detached in response to a user request, shrinking the capacity from 2 to 1.",
                "StatusCode": "InProgress"
            }
        ]
    }

Youez - 2016 - github.com/yon3zu
LinuXploit