user734094
user734094

Reputation:

How S3 storage cost works on daily basis?

I’ having hard time to calculate S3 storage cost. The case is that I need to store daily backups to it.

The scenario: Let's say that I lease S3 service on 1st of January and send to it 10 files (zip) 10GB each. Then, every single day the 2 oldest files will be deleted and replaced by 2 new ones (10 GB each). So, every day will always stored 100GB of files.

How do I calculate the storage cost in this case? What will i pay at the end of January?

Upvotes: 1

Views: 3424

Answers (1)

Sergey Kovalev
Sergey Kovalev

Reputation: 9401

Objects that are deleted, overwritten, or transitioned to a different storage class before 30 days incur a pro-rated charge equal to the storage charge for the remaining days.

That means that if you store 100 GB for the whole month (say, 30 days), you pay $N, but if store 100 GB for 1 day, you pay $(N/30).

At the end of the month, you will also pay for outbound traffic (should be minimal in your scenario) and requests made to S3 service (also almost non-existing in your case).

Upvotes: 2

Related Questions