Total EBS Volume for an AWS Account

0

Hi,

I did like to generate a report on total ebs volume that I have provisioned for all of my aws resources in a given account in a given region.

Is there a cli command that will aggregate total ebs volume size, regardless of type of ebs volume ?
Any documentation would help.

I did like to do the same for other aws resources, like snapshots etc.

asked 7 years ago1938 views
2 Answers
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

http://jmespath.org/tutorial.html#functions

frosef
answered 7 years ago
0

any option to generate same report on a control tower using UI to know all my member accounts EBS capacity?

Venu
answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions