403Webshell
Server IP : 167.99.254.82  /  Your IP : 216.73.216.188
Web Server : Apache
System : Linux host.techisquad.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64
User : pawluxera ( 1011)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/thread-self/root/usr/lib/python3/dist-packages/awscli/examples/ec2/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/thread-self/root/usr/lib/python3/dist-packages/awscli/examples/ec2/create-snapshot.rst
**To create a snapshot**

This example command creates a snapshot of the volume with a volume ID of ``vol-1234567890abcdef0`` and a short description to identify the snapshot.

Command::

  aws ec2 create-snapshot --volume-id vol-1234567890abcdef0 --description "This is my root volume snapshot"

Output::

   {
       "Description": "This is my root volume snapshot",
       "Tags": [],
       "Encrypted": false,
       "VolumeId": "vol-1234567890abcdef0",
       "State": "pending",
       "VolumeSize": 8,
       "StartTime": "2018-02-28T21:06:01.000Z",
       "Progress": "",
       "OwnerId": "012345678910",
       "SnapshotId": "snap-066877671789bd71b"
   }

**To create a snapshot with tags**

This example command creates a snapshot and applies two tags: purpose=prod and costcenter=123.

Command::

  aws ec2 create-snapshot --volume-id vol-1234567890abcdef0 --description 'Prod backup' --tag-specifications 'ResourceType=snapshot,Tags=[{Key=purpose,Value=prod},{Key=costcenter,Value=123}]'

Output::

  {
      "Description": "Prod backup",
      "Tags": [
          {
              "Value": "prod",
              "Key": "purpose"
          },
          {
              "Value": "123",
              "Key": "costcenter"
          }
       ],
       "Encrypted": false,
       "VolumeId": "vol-1234567890abcdef0",
       "State": "pending",
       "VolumeSize": 8,
       "StartTime": "2018-02-28T21:06:06.000Z",
       "Progress": "",
       "OwnerId": "012345678910",
       "SnapshotId": "snap-09ed24a70bc19bbe4"
   }

Youez - 2016 - github.com/yon3zu
LinuXploit