

The main benefit of having S3 and EC2 in the same region is the performance and lower transfer cost. However, there are few basics that are worth getting right as they may be costly to fix down the line: Pick the right AWS region for your S3 bucket.Įnsure EC2 and S3 are in the same AWS region. The best bet is to start simple and worry about the monthly S3 bill after it has crossed the certain threshold. Given this, most S3 users don’t need to worry about cost optimization right away. On S3 there is no risk of over-provisioning and no need to manage disk utilization. This makes managing S3 cost easier than many other services including Amazon EBS and Amazon EC2. For example, in the case of Amazon EBS disk you pay for the size of 1 TB of disk even if you just save 1 GB file. In a lot of other services such as Amazon EC2, Amazon Elastic Block Storage (Amazon EBS) and Amazon DynamoDB you pay for provisioned capacity. For example, for 1 GB file stored on S3 with 1 TB of storage provisioned, you are billed for 1 GB only. One of the most important aspects of Amazon S3 pricing structure is that you only pay for the storage used and not provisioned.

I will use the above prices in following cost estimates.

On the end of the other spectrum, companies such as Sumo Logic use S3 to store petabytes of data.

Many bloggers, including Werner Vogels CTO of AWS, host their blogs for less than a couple of dollars a month. Amazon Simple Storage Service (Amazon S3) is one of the most popular Amazon Web Services (AWS) offering with flexible pricing.
