Amazon S3 Cost Limit (Simple Storage Service)

I find the fact that the service does not offer cost limits is a little scary. Are there alternatives (for Amzn s3, which offers a restriction), or is there a way, for example, to query the current value and turn off the service if the data or transmission volumes suddenly grow like crazy?

Or some other smart way to keep accounts.

+4
source share
2 answers

First of all, this question certainly matters.

If you understood correctly, you would like to estimate the value of your gangs + to stop people loading your objects.

You have two options for estimating bandwidth costs:

  • Download the usage report from your AWS account; if you choose Data-Transfer-Out and All-Operations, you can easily get a fairly accurate estimate of your bandwidth costs from this. You have a lot of details, but this is a manual process (despite many API requests for this on AWS forums). The closest to the programmatic access I came across is the script
  • enable bucket logging and analyze the logs yourself or through some external tool / service, such as S3STAT.

and about blocking access, etc.,

  • modify the ACLs / s and / or bucket / s, from which you get most of the downloads, making them private.
  • make your objects accessible through your own domain and reassign the corresponding DNS records for these objects / buckets; you can use AWS Route 53 for this, for example.
+1
source

You can accurately calculate the cost of starting an EC2 instance per hour and be confident in your costs.

If you are worried about bandwidth costs, you can manage them on your host OS, for example:

https://serverfault.com/questions/52027/how-can-i-limit-per-user-bandwidth

-1
source

Source: https://habr.com/ru/post/1336251/


All Articles