Review EBS volumes in available status
On this page
Run the read-only inventory for the review scope defined by your AWS configuration. Treat returned available-status volumes as review candidates, not automatic deletion targets.
Why this is worth a look
DescribeVolumes describes specified EBS volumes or all EBS volumes, and its status filter accepts available. The command projects documented response fields: volume ID, type, size, snapshot ID, and creation time. AWS strongly recommends paginated requests because unpaginated requests are susceptible to throttling and timeouts. The operation needs ec2:DescribeVolumes, while the EC2 console can use additional API actions. This command is a point-in-time inventory, not a billing or deletion assessment.
Start with this query
BASHRuns DescribeVolumes with a status filter, automatic pagination, an example service-call page size, and JSON output. Set REGION according to the AWS review scope you intend to inspect.
set -euo pipefail
REGION="us-east-1"
aws ec2 describe-volumes \
--region "$REGION" \
--filters Name=status,Values=available \
--page-size 100 \
--query 'Volumes[].{VolumeId:VolumeId,VolumeType:VolumeType,SizeGiB:Size,SnapshotId:SnapshotId,CreateTime:CreateTime}' \
--output jsonHow to confirm it
- 01
Set the review scope
Set REGION to the value your AWS configuration uses for the intended review scope. Confirm the configured credentials and scope under your organization’s AWS operating process before running the command.
- 02
Run the read-only command
Run the Bash command with permission to call ec2:DescribeVolumes. It invokes DescribeVolumes with the documented status=available filter and contains no volume mutation operation.
- 03
Review the returned fields
Read each returned VolumeId, VolumeType, SizeGiB, SnapshotId, and CreateTime. SizeGiB is the command’s alias for the documented Size field, which AWS defines in GiB. Compare the records with ownership and retention information.
- 04
Adjust pagination deliberately
Automatic pagination remains enabled. The value 100 is an example page size for each AWS service call, not a required AWS setting. Adjust it if your operational testing shows a different page size is more suitable, while retaining pagination.
Before making changes
Assumptions: Bash and the AWS CLI are available, the configured credentials and REGION represent the review scope you intend to inspect, and the caller has ec2:DescribeVolumes. The supplied evidence does not define AWS CLI credential or account selection, nor establish Region-scoping behavior, so verify those locally. This is a point-in-time, read-only inventory with no billing data or deletion assessment. SizeGiB is in GiB and CreateTime is a timestamp. Because IncludeManagedResources=true is not set, managed resources whose visibility is hidden may be omitted.