| Server IP : 52.25.153.185 / Your IP : 216.73.216.194 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/lightsail/ |
Upload File : |
**To get information about a block storage disk**
The following ``get-disk`` example displays details about the disk ``Disk-1``. ::
aws lightsail get-disk \
--disk-name Disk-1
Output::
{
"disk": {
"name": "Disk-1",
"arn": "arn:aws:lightsail:us-west-2:111122223333:Disk/c21cfb0a-07f2-44ae-9a23-bEXAMPLE8096",
"supportCode": "6EXAMPLE3362/vol-0EXAMPLEf2f88b32f",
"createdAt": 1566585439.587,
"location": {
"availabilityZone": "us-west-2a",
"regionName": "us-west-2"
},
"resourceType": "Disk",
"tags": [],
"sizeInGb": 8,
"isSystemDisk": false,
"iops": 100,
"path": "/dev/xvdf",
"state": "in-use",
"attachedTo": "WordPress_Multisite-1",
"isAttached": true,
"attachmentState": "attached"
}
}
For more information, see `title <link>`__ in the *guide*.