You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My question is, what is the size of that column? Is it based off the block size?
What I want to do, is use the AWS calculator to confirm that the size of my snapshots == the storage I am being charged for, to make sure the numbers match up. And when they do, I want to work out a cost savings, based on snapshot retention time
Thanks again!
The text was updated successfully, but these errors were encountered:
However, there's a problem in the script. On line 18 the blockSize variable is set to 524288, which is 512, but it's 512 KB, not bytes.
According to AWS documentation, an attached EBS volume appears to be a physical hard disk drive containing 512-byte disk sectors. Note that's 512 bytes, not Kilobytes. So, the use of 524288 is incorrect and it should be changed to just 512.
In line 35 that specifically does the changed * blockSize part, it obtains the number of EBS blocks that have changed in the snapshot. Since EBS is a 512-byte block size you need to multiply the number of changed blocks by 512 to get the amount of bytes that have changed.
Hi,
Thank you so much for this script, really helpful!
I have a question around the size of the volume
You have
The value for VolumeSize is in GB - https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-snapshots.html
My question is, what is the size of that column? Is it based off the block size?
What I want to do, is use the AWS calculator to confirm that the size of my snapshots == the storage I am being charged for, to make sure the numbers match up. And when they do, I want to work out a cost savings, based on snapshot retention time
Thanks again!
The text was updated successfully, but these errors were encountered: