Amazon Elastic Compute Cloud
User Guide for Linux Instances

Viewing Volume Information

You can view descriptive information about your EBS volumes. For example, you can view information about all volumes in a specific region or view detailed information about a single volume, including its size, volume type, whether the volume is encrypted, which master key was used to encrypt the volume, and the specific instance to which the volume is attached.

You can get additional information about your EBS volumes, such as how much disk space is available, from the operating system on the instance.

Viewing Descriptive information

To view information about an EBS volume using the console

  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. In the navigation pane, choose Volumes.

  3. To view more information about a volume, select it. In the details pane, you can inspect the information provided about the volume.

To view what EBS (or other) volumes are attached to an Amazon EC2 instance

  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. In the navigation pane, choose Instances.

  3. To view more information about an instance, select it.

  4. In the details pane, you can inspect the information provided about root and block devices.

To view information about an EBS volume using the command line

You can use one of the following commands to view volume attributes. For more information, see Accessing Amazon EC2.

Viewing Free Disk Space

You can get additional information about your EBS volumes, such as how much disk space is available, from the Linux operating system on the instance. For example, use the following command:

[ec2-user ~]$ df -hT /dev/xvda1 Filesystem Type Size Used Avail Use% Mounted on /dev/xvda1 xfs 8.0G 1.2G 6.9G 15% /