. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AnonSec Shell
AnonSec Shell
Server IP : 52.223.31.75  /  Your IP : 172.31.32.98   [ Reverse IP ]
Web Server : Apache/2.4.66 () OpenSSL/1.0.2k-fips PHP/7.4.33
System : Linux ip-172-31-14-81.eu-central-1.compute.internal 4.14.281-212.502.amzn2.x86_64 #1 SMP Thu May 26 09:52:17 UTC 2022 x86_64
User : apache ( 48)
PHP Version : 7.4.33
Disable Function : NONE
Domains : 4 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python2.7/site-packages/awscli/examples/ec2/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /lib/python2.7/site-packages/awscli/examples/ec2/modify-volume.rst
**Example 1: To modify a volume by changing its size**

The following ``modify-volume`` example changes the size of the specified volume to 150GB. 

Command::

    aws ec2 modify-volume --size 150 --volume-id vol-1234567890abcdef0

Output::

    {
        "VolumeModification": {
            "TargetSize": 150,
            "TargetVolumeType": "io1",
            "ModificationState": "modifying",
            "VolumeId": " vol-1234567890abcdef0",
            "TargetIops": 100,
            "StartTime": "2019-05-17T11:27:19.000Z",
            "Progress": 0,
            "OriginalVolumeType": "io1",
            "OriginalIops": 100,
            "OriginalSize": 100
        }
    }

**Example 2: To modify a volume by changing its type, size, and IOPS value**

The following ``modify-volume`` example changes the volume type to Provisioned IOPS SSD, sets the target IOPS rate to 10000, and sets the volume size to 350GB. ::

    aws ec2 modify-volume \
        --volume-type io1 \
        --iops 10000 \
        --size 350 \
        --volume-id vol-1234567890abcdef0

Output::

    {
        "VolumeModification": {
            "TargetSize": 350,
            "TargetVolumeType": "io1",
            "ModificationState": "modifying",
            "VolumeId": "vol-0721c1a9d08c93bf6",
            "TargetIops": 10000,
            "StartTime": "2019-05-17T11:38:57.000Z",
            "Progress": 0,
            "OriginalVolumeType": "gp2",
            "OriginalIops": 150,
            "OriginalSize": 50
        }
    }

Anon7 - 2022
AnonSec Team