1 Answer
- Newest
- Most votes
- Most comments
0
You can use a JMSEpath query to get what you're after:
aws ec2 describe-volumes --query 'sum(Volumes[].Size)'
You can also filter by region and tags etc https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-volumes.html
answered 6 years ago
Relevant content
- asked 8 months ago
- asked 2 years ago
- Accepted Answerasked 3 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 4 months ago