How to calculate AWS S3’s (Simple Storage Service) Pricing?

0
2170

How to calculate_AWS_S3_Simple_Storage_Service_Pricing

This Article covers detailed information to help you to calculate the pricing of Amazon S3 or AWS S3 (Simple storage Service) for your business.

How to calculate AWS S3’s (Simple Storage Service) Pricing?

 

MAJORLY AWS S3 PRICING DEPENDS ON S3’S STORAGE TYPES AND YOUR BUSINESS CASE

Business Use Cases, Example

  1. Simple Business Case: A static web site with 500 images serving customers within a city
  2. Complex Business Case: A video streaming website with 50,000 high definition videos serving customers all across the globe.

 

As this article has tried to explain most of the information related to the AWS S3’s Pricing, so It has been divided in following parts :

 

Part -1 : Amazon S3’s Pricing Components Technical Terms

Part -2 : Amazon S3’s Storage Pricing

Part -3 : Example Of AWS S3 Pricing

Part -4 : S3 Pricing With The Help Of AWS S3 Price Calculator

Part-5: Case Study to Calcuclate the AWS S3 Price for your Business

Part-6 : Additional Points While Calculating The Amazon S3 Storage Cost Of Your Business

Part-7 : Important Points From AWS S3’s Customer Agreement

Part-8 : Important Points Amazon S3 Service Level Agreement

 

Part -1 : Amazon S3’s Pricing Components Technical Terms

Following Are The Three Types Of S3’s Storage :

[1]. Amazon S3 Standard for General-Purpose Storage of Frequently Accessed Data[Short Name : Amazon S3 Standard – FA]

This is the standard storage which your business regularly uses e.g. you have a website www.example.com. It’s live and its all images, videos or any other media contents are stored in Amazon S3. Your website daily viewed by various visitors and you use this storage as usual. Your customer accesses the website’s pages. These website’s pages are equipped with images or media or any other different files and stored in Amazon S3 Standard type of S3’s Storage.

[2]. Amazon S3 Standard – Infrequent Access for Long-Lived but less frequently accessed data [Short Name: Amazon S3 Standard – IA]

This is something like you have made the backup database for www.example.com in a different region for disaster recovery, Or it has those data which are less frequently used e.g. backup of your website

[3]. Reduced Redundancy Storage [Short Name: RRS]

This is something like if your business has some non-critical data and reproducible data e.g. you have stored actual images of www.example.com at Amazon S3 Standard – FA but its reproducible thumbnail of those images stored in RRS. Because on your business case you are less worried about the thumbnails, if any time some thumbnails will loose then those are always reproducible.

Note: Difference between the Full Redundancy (Amazon S3 Standard – FA and IA) and Reduced Redundancy (RRS) is as following

99.999999999% Durability Of Amazon S3 Standard IA and FA: if you store 10,000 objects with Amazon S3, you can on average expect to incur a loss of a single object once every 10,000,000 years. It sustain the concurrent loss of data in two facilities

99.99% durability for RRS: if you store 10,000 objects using the RRS option, you can on average expect to incur an annual loss of a single object (i.e. 0.01% of 10,000 objects). It sustain the loss of data in a single facility

Example Price difference between Reduced Redundancy Storage and Standard Storage for 200 GB Storage:

  • Reduced Redundancy Storage: $4.80
  • Standard Storage: 200 GB $6.00

(Detailed explanation available on next sections)

 

*Both are designed for high availability and comes with Service Level Agreement

Part-2 : AMAZON S3’S STORAGE PRICING

 Amazon S3’s Storage Pricing Divided In Three Parts

  1. Storage Pricing: Calculated based on the amount of Storage your business use e.g. 10 GB, 20 TB, 50 TB
  1. Request Pricing: Calculated based on the types of Create, Retrieve, Update and Delete requests your business case(e.g. a website or business application) makes on the stored items in S3 Storage.

Example

  • A Business WebApp uploaded an 128 KB image example.jpg ,then modified the image on a specific use case (this falls under the category of PUT, COPY, POST, or LIST Requests Pricing).
  • On a specific use case this Business WebApp retrieved the example.jpg from the S3 Storage (This falls under the category of Get Requests Pricing).
  • If this Business WebApp delete the resource then it falls under the delete request pricing (at present this is free).
  1. Data Transfer Pricing: Calculated based on how much Data came in to your Amazon S3 Account, and How much data went out from your Amazon S3 Storage Account e.

 

Example

  • Lets say your business webApp’s webpage accessed 20 Images from your Amazon S3’s storage account and each image’s size is around 30 KB, so 600 KB(20*30 KB) Data Went Out.
  • Now see the opposite that you have stored 20 Images in this. That means 600 KB (20*30 KB) Data Came In, to the Amazon S3 Account of yours.

Total Pricing = 1.Storage Pricing + 2.Request Pricing + 3.Data Transfer Pricing

 

Misc. Points Related To Pricing

* Inbound Data Transfer is Free and Outbound Data Transfer is 1 GB free per region per month

*Delete Requests will not be charged

*Amazon S3 Requests from Amazon Ec2 also metered and Charged

Lets talk about the Amazon S3’s pricing. But before actually calculating the exact pricing here, just note couple of points that actually helps to calculate the exact pricing. It will also help you to actually design your Amazon S3 Storage requirement related to the business case you have.

  • S3 Storage -(Storage, Requests, Data Transfer) Prices Varies from Region to Regiong. US Standard, US West (Oregon), US West (Norther California), EU (Ireland), EU (Frankfurt), Asia Pacific (Singapore), Asia Pacific (Tokyo), Asia Pacific (Sydney), South America (SAO Paulo).
  • Storage Services Prices based on the Tier your storage fall ing. e.g. (Tier-1) First 1 TB/ Month, (Tier-2) Next 49 TB/Month, (Tier-3) Next 450 TB/Month, (Tier-4) Next 4000 TB/Month , (Tier-5) Over 5000 TB/Month

*If you would like to calculate price per GB, then replace 1 TB = 1024 GB,

  • Prices starts from $0.0X00(e.g. X =1,2,3,4,5) per GB from first tier and reduce to 0.000X ((e.g. X =1,2,3,4,5)) on next Tier
    • Example – your business case using 50 TB of Standard S3 –FA Storage on US Standard Region then your per month price :
  • 1 TB + 49 TB =
    • 1024 * 0.0300 (per GB Price) + 49*(1024 * 0.0295 (per GB Price)) =
      • $30.72 + $49* $30.208 =
        • $30.72 + $1480.792 =
          • $1510.912
  • Pricing also includes TAXES, duties VAT and Applicable Taxes
  • For Tokyo Region Japanese Consumption Tax also included.

Part-3 : Example Of Aws S3 Pricing

 

BUSINESS CASE – A standard Blog using the Amazon S3 Storage (Refer : Amazon S3 Standard – Frequent Access) to store all of its Images and other media files, its monthly bill based on the following components:

  1. Data Transfer In and Out Pricing

 

US East (Northern Virginia) Region Usage Price

 

Bandwidth
$0.000 per GB – data transfer in per month 0.023 GB $0.00

 

$0.000 per GB – first 1 GB of data transferred out per month 0.016 GB $0.00
Total: $0.00

 

Region Total: $0.00

 

 

*Data Transfer IN To Your Amazon S3’s Account is Free

*Data Transfer OUT From Amazon S3 To Internet First 1 GB / month, is Free

* For a simple blog/basic websites its Data Transfer In/Out Almost Free

 

S3 Pricing Example -1
S3 Pricing Example -1

 

 

 

 

2.Requests Pricing

 

US East (Northern Virginia) Region Usage Price

 

Amazon Simple Storage Service Requests – Tier -1
$0.005 per 1,000 PUT, COPY, POST, or LIST requests 1,765 Requests $0.01
Amazon Simple Storage Service Requests – Tier -2 6,034 Requests $0.01
$0.004 per 10,000 GET and all other requests
Total $0.02

 

  1. Storage Pricing

 

US East (Northern Virginia) Region        Usage Bandwidth

 

Amazon Simple Storage Service TimedStorage-ByteHrs 0.004 GB-Mo $0.01
$0.0300 per GB – first 1 TB / month of storage used
Total: $0.01

 

 

 

 

 

 

Total Pricing  
1.Data Transfer In and Out Pricing $0.000
2.Request Pricing $0.02
3. Storage Pricing $0.01
Total $0.03

 

Example S3 Pricing 2
Example S3 Pricing 2

 

Part-4 : How To Calculate Pricing With The Help Of Aws S3 Price Calculator

 

You may use following steps to access the AWS S3 Price Calculator,

 

Step-1: Access the following URL: http://calculator.s3.amazonaws.com/index.html, It will open the calculator with default selected as ‘Amazon EC2’.

 

Step-2: Select ‘Amazon S3’ from the Left column of Amazon AWS S3 Price Calculator. It will open a Form with Two Tabs. ‘Services’ Tab will open by default with following details:

 

Storage:

 

Storage: The amount of storage (Designed for 99.999999999% Durability) you expect to use in a month.

Reduced Redundancy Storage: The amount of reduced redundancy storage (Designed for 99.99% Durability) you expect to use in a month.

 

* For the difference between ‘Storage’ and ‘Reduced Redundancy Storage’ refer to following.

 

Requests:

PUT/COPY/POST/LIST Requests: The number of PUT/COPY/POST/LIST requests made to your Amazon S3 account in a month, and SMC(Simple Monthly Calculator) supports at most 2147483647 (the maximum integer value) requests. Note: Amazon S3 Requests from Amazon EC2 are also metered and charged.

 

 

GET and Other Requests: The number of GET and all other requests made to your Amazon S3 account in a month, and SMC (Simple Monthly Calculator) supports at most 2147483647 (the maximum integer value) requests. Note: Amazon S3 Requests from Amazon EC2 are also metered and charged. Delete Requests are not charged.

 

*To calculate the billing you may enter the max integer value 2147483647.

 

Data Transfer:

Inter Region Data Transfer Out:The amount of network data transfer out from this service to another AWS Region(s) or Amazon CloudFront. Data Transfer in from another AWS Region is free.

 

Data Transfer Out: The amount of network data transfer you expect to go out of your Amazon S3 account to the outside Internet in a month.

 

Data Transfer In: “The amount of network data transfer you expect into your Amazon S3 account from the outside Internet in a month.”;

 

 

Example of AWS S3 Pricing 3
Example of AWS S3 Pricing 3

 

 

Part-5: A Business Use Case For Content Storage & Distribution To Calculate The Amazon Aws S3 Price

 

Business Use Case

You are running a travel business and your business uses a travel website as www.travelweb.com.

 

At present this website and media files are hosted in a dedicated server or some other cloud hosting provider. At this point you are considering to use ‘Amazon S3 Storage service’ from AWS to store the images of www.travelweb.com website.

98% of your customers are within USA, so your major focus in the USA’s AWS Region : US Standard, US West (Oregon), US West (Northern California)

 

(At this time, main focus to calculate the expected Amazon AWS S3 cost incurred by this website. To Keep things simple, complexity has been ignored at this time (not limited to) e.g. shape of the website , design of website, authentication/authorization of website, how old this website is and several other stuff related to this website, How many users using this website, What exactly real time data with this website, If this is more GET request type of website then cloudfront etc could be used to reduce the price)

 

 

Follow below steps to calculate the Amazon S3 Storage Price to store the content

 

Step: 1- Calculate the Approximate usage of the following:

  • Calculate the count and size of media files to Store at Amazon S3 Account
  • Calculate the approximate count of GET and PUT Requests
  • Calculate the approximate amount of Data Transfer In and Out

 

This website has 24000 travel location’s listing with following media files:

 

Images: 1,920,000 with average size of each image 200 KB (each travel location using average 80 images – 24000 *80 = 1,920,000 (One Million , Nine Lakhs , Twenty Thousand Or Nineteen Lakhs Twenty Thousand)

Total Image Size: 1,920,000 * 200 KB = 366.21 GB

 

To Put 1,920,000 images first time it would incur 1,920,000 PUT Request

 

Every Month there is an addition of 200 Travel Location, so on average addition of 16000 Images with average size 200 KB. This also means 16000 Post request for these images. This also means 16000 * 200 KB = 3.05 GB network data transfer you expect into your Amazon S3 account from the outside Internet in a month

 

Every Month 100,000 customer’s access this travel website , each customer on average browse ~20 Travel Location and access 80 Images for each Travel Location. That means around 100,000 *80 = 8,000,000 (8 Millions) GET Requests Every Month. That means 1525.87 GB (8 Millions * 200 KB = 1600 Millions KB = 1562500 MB = 1525.87 GB ) of network data transfer you expect to go out from your Amazon S3 account to the outside Internet in a month

 

Step: 2- Extract Storage, Request and Data Transfer details from Step-1 :

 

 

Data for Storage Price (Refer the calculate image size from Step-1)

Storage: 366.21 GB First Month with an incremental of 3.05 GB Data Every Month

{ e.g. Jan : 366.21 GB, Feb : 369.26 GB, Mar : 372.31 GB}

 

Reduced Redundancy Storage : NIL

{ e.g. At present just consider Standard Storage with Frequent Access}

 

Data for Request Price

PUT/COPY/POST/LIST Requests: 1,920,000 First Month with an incremental of 16000 PUT Request each Month

GET and Other Requests: 80,000,000 (8 Millions) GET Requests Every Month

 

Data for Data Transfer In/Out Price

Inter Region Data Transfer Out : NIL

{Lets consider the pricing of a Single Region }

Data Transfer Out : 1525.87 GB

{ Lets consider the number of customers are constant 100,000 each}

Data Transfer In : 3.05 GB

 

Step-3 : Fill these Step-2 Data to amazon AWS S3 Price Calculator As Defined in AWS S3 Price Calculator

 

Example of S3 Pricing 4
Example of S3 Pricing 4

 

 

 

Step-4: See the Calculated Price

 

Example of S3 Pricing 5
Example of S3 Pricing 5

 

 

 

 

 

Storage Price 366.21 * $0.0300 GB = $10.99

PUT Request Price = 1,920,000 = 1920 *1000 Put Request = 1920 * $0.005 = $9.60

GET Requests Price = 800 *10,000 = 800 * $0.004 = $3.20

Data Transfer In is Free

Data Transfer Out = 1525.87 GB = 1525.87 GB *0.090 GB = $137.24

 

Total Price: Storage Price + PUT Request Price + GET Requests Price + Data Transfer In + Data Transfer Out = $159.60

With discount (e.g. 1 GB Data Out Free, It total comes $159.60 }

First Month you would pay $159.60, and next month on wards it all depends on incremental update,

*Notice Get requests are much cheaper than PUT Requests

* Data Transfer In is less than Data Transfer Out

* If you have more Data Transfer Out then more Price.

Refer : https://aws.amazon.com/s3/pricing/ to understand prices are charged, For US Standard (Virginia) refer to the following tables:

Standard Storage
First 1 TB / month $0.0300 per GB
Next 49 TB / month $0.0295 per GB
Next 450 TB / month $0.0290 per GB
Next 500 TB / month $0.0285 per GB
Next 4000 TB / month $0.0280 per GB
Over 5000 TB / month $0.0275 per GB

 

For Requests Not Otherwise Specified Below
PUT, COPY, POST, or LIST Requests $0.005 per 1,000 requests
GET and all other Requests $0.004 per 10,000 requests
Delete Requests Free †
For Standard – Infrequent Access Requests
PUT, COPY, or POST Requests $0.01 per 1,000 requests
GET and all other Requests $0.01 per 10,000 requests
Lifecycle Transition Requests into Standard – Infrequent Access $0.01 per 1,000 requests
Data Retrievals $0.01 per GB
For Glacier Requests
Glacier Archive and Restore Requests $0.05 per 1,000 requests
Glacier Data Restores Free ‡

 

Data Transfer IN To Amazon S3
All data transfer in $0.000 per GB
Data Transfer OUT From Amazon S3 To
Amazon EC2 in the Northern Virginia Region $0.000 per GB
Another AWS Region $0.020 per GB
Amazon CloudFront $0.000 per GB
Data Transfer OUT From Amazon S3 To Internet
First 1 GB / month $0.000 per GB
Up to 10 TB / month $0.090 per GB
Next 40 TB / month $0.085 per GB
Next 100 TB / month $0.070 per GB
Next 350 TB / month $0.050 per GB
Next 524 TB / month Contact Us
Next 4 PB / month Contact Us
Greater than 5 PB / month Contact Us

 

Part-6 : MISC IMPORTANT POINTS WHILE CALCULATING THE AMAZON S3 STORAGE COST OF YOUR BUISNESS

Once you reach far, then apply following components as well, that will help you to tweak your pricing.

Assume (as defined above) (Refer that Page ):

  1. First Months Cost = $160
  2. Every Month Incremental Cost : $20 Per Month.

 

Month Monthly Usage Price Incremental Price
Jan $160 $20
Feb $180 $20
March $200 $20
April $220 $20
May $240 $20
June $260 $20
July $280 $20
Aug $300 $20
Sep $320 $20
Oct $340 $20
Nov $360 $20
Dec $380 $20
Total $3240

 

*If you have images as well as Videos, then storage value would be different, example:

  • Storage size for Images: 48000 * 150 KB = 6.86 GB
  • Storage Size for Videos: 24000 * 8 MB     = 187 GB

(*refer Video size vs Images Size, Video Size data transfer will also cost you, Actual count of GET and PUT for Videos depends on various parameters e.g. on the size of file (if multipart upload), Actual usage of system, that can be seen in the detailed report of Cost explorer of Amazon)

*If your business situation requires replicating the data to all three regions then calculate the cost for all three regions

  • US-East/US Standard (Virginia)
  • US-West-2 (Oregon)
  • US-WEST (Northern California)

 *Upfront Cost the day you start using Amazon S3

 *Cost of Cross-Region Replication: CRR is an Amazon S3 feature that automatically replicates data across AWS regions

 Pricing of CRR

 You pay the Amazon S3 charges for storage, requests, and inter-region data transfer for the replicated copy of data. For example, if you replicate 1,000 1 GB objects (1,000 GB) between regions you will incur a request charge of $0.005 (1,000 requests x $0.005 per 1,000 requests) for replicating 1,000 objects and a charge of $20 ($0.020 per GB transferred x 1,000 GB) for inter-region data transfer. After replication, the 1,000 GB will incur storage charges based on the destination region.

*Cost with Versioning (depends on whether you have enabled versioning) e.g.

  • What is Versioning

“Versioning allows you to preserve, retrieve, and restore every version of every object stored in an Amazon S3 bucket. Once you enable Versioning for a bucket, Amazon S3 preserves existing objects anytime you perform a PUT, POST, COPY, or DELETE operation on them. By default, GET requests will retrieve the most recently written version. Older versions of an overwritten or deleted object can be retrieved by specifying a version in the request.”

*Cost of backup of your data e.g. Original Images ,

*Cost Related to Request

  • Cost Related to Requests incurred in all regions, Get Request and Other Requests

*Cost Related to incremental Data Transfer Request

 *Monthly Cost based on the incremental addition of Storage items and

Part-7 : IMPORTANT POINTS TO REMEMBER FOR THE DATA STORAGE,

*Data Storage would be unlimited: Individual Amazon S3 Objects range would be from 1 byte to 5 Terabyte

*Largest Object can be uploaded in a single PUT is 5 GB

*Costs are decided based on the cost incurred by the AWS to setup such data center in the specific region

* Standard – IA (Infrequent Access) is designed for larger objects and has a minimum object size of 128KB. Objects smaller than 128KB in size will incur storage charges as if the object were 128KB.

Part-8: IMPORTANT POINTS FROM AWS CUSTOMER AGREEMENT

* https://aws.amazon.com/agreement/ | AWS Customer Agreement

– We may increase or add new fees and charges for any existing Services by giving you at least 30 days’ advance notice. We may charge you interest at the rate of 1.5% per month (or the highest rate permitted by law, if less) on all late payments.

IMPORTANT POINTS AMAZON S3 SERVICE LEVEL AGREEMENT | https://aws.amazon.com/s3-sla/

 How Amazon Will Provide You ‘Service Credits’ As The Refund If Any Error Occurred

What Amazon S3 SLA says “At our discretion, we may issue the Service Credit to the credit card you used to pay for the billing cycle in which the error occurred.”

Service Credits are calculated as a percentage of the total charges paid by you for Amazon S3 for the billing cycle in which the error occurred in accordance with the schedule below.

For all requests not otherwise specified below:

 

Monthly Uptime Percentage            Service Credit Percentage

Equal to or greater than 99.0% but less than 99.9%      10%

Less than 99.0%       25%

For requests to Amazon S3 Standard – Infrequent Access (Standard-IA):

 

Monthly Uptime Percentage            Service Credit Percentage

Equal to or greater than 98.0% but less than 99.0%      10%

Less than 98.0%       25%

– A Service Credit will be applicable and issued only if the credit amount for the applicable monthly billing cycle is greater than one dollar ($1 USD).

– Service Credits may not be transferred or applied to any other account.

– Service Credits will not entitle you to any refund or other payment from AWS.

– We will apply any Service Credits only against future Amazon S3 payments otherwise due from you.

References:

https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html

https://aws.amazon.com/s3/pricing/

*Objects that are in Standard – Infrequent Access have a minimum 30 days of storage, and 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.

Limit of Liability/Disclaimer of Warranty: The author make no representations or warranties with respect to the accuracy or completeness of the contents of this work and specifically disclaim all warranties, including without limitation warranties of fitness for a particular purpose. The advice and strategies contained herein may not be suitable for every situation. This work is published with the understanding that the author is not engaged in rendering legal, accounting, or other professional services. If professional assistance is required, the services of a competent professional person should be sought. the author shall not be liable for damages arising herefrom. The fact that an organization or Website is referred to in this work as a citation and/or a potential source of further information does not mean that the author endorses the information the organization or Website may provide or recommendations it may make. Further, readers should be aware that Internet Websites listed in this work may have changed or disappeared between when this work was written and when it is read.