How do I find the total size of my AWS S3 storage bucket or folder?

前端 未结 10 1967
醉梦人生
醉梦人生 2020-12-09 00:48

Does Amazon provide an easy way to see how much storage my S3 bucket or folder is using? This is so I can calculate my costs, etc.

10条回答
  •  北海茫月
    2020-12-09 01:19

    Using the AWS Web Console and Cloudwatch:

    1. Go to CloudWatch
    2. Clcik Metrics from the left side of the screen
    3. Click S3
    4. Click Storage
    5. You will see a list of all buckets. Note there are two possible points of confusion here:

      a. You will only see buckets that have at least one object in the bucket.
      b. You may not see buckets created in a different region and you might need to switch regions using the pull down at the top right to see the additional buckets

    6. Search for the word "StandardStorage" in the area stating "Search for any metric, dimension or resource id"

    7. Select the buckets (or all buckets with the checkbox at the left below the word "All") you would like to calculate total size for
    8. Select at least 3d (3 days) or longer from the time bar towards the top right of the screen

    You will now see a graph displaying the daily (or other unit) size of list of all selected buckets over the selected time period.

提交回复
热议问题