AWS EBS snapshot size

0

I am using DLM service for EBS snapshot. How i can see the size of my snapshot. I use aws ec2 describe-snapshots --snapshot-ids YOUR_SNAPSHOT_ID It shows volume size but its not showing differential or incremental data size. Very important for cost management.

Raise
asked 5 months ago359 views
3 Answers
0

Enter image description here

Raise
answered 5 months ago
0

You can use EBS direct API ListSnapshotBlocks to find the size of a full snapshot and ListChangedBlocks to find the changed blocks of an incremental snapshot, which is the size of incremental snapshot. Amazon EBS direct APIs are charged per request and pricing information can be found in Amazon EBS pricing page.

To make the task easier, you can use our automation flexible-snapshot-proxy.

Installation and Configuration

Sample usage.

Examples

AWS
answered 5 months ago
-2

hi,
In the DLM dashboard, you can click on "Snapshots" in the left-hand navigation pane.
To view the size of a specific snapshot, click on the snapshot's name to open its details page, you can find the size of the snapshot under the "Size" column.
Or please refer the below.

[1] https://docs.aws.amazon.com/ebs/latest/userguide/ebs-describing-snapshots.html
[2] https://docs.aws.amazon.com/ebs/latest/userguide/readsnapshots.html

AWS
EXPERT
hyp
answered 5 months ago
  • There is no size column there. I ran aws ebs list-snapshot-blocks --snapshot-id snapid But all returns blockindex 2047 The document says multiply last blockindex with 512k to get the rough size . Its a snapshot of 1GB where the data on the volume is less than 1MB as log file repeated 3 time.

    https://docs.aws.amazon.com/ebs/latest/userguide/archiving-guidelines.html not sure how to get the answer. should be straight forward.

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