Skip to content

Instantly share code, notes, and snippets.

@regispires
Created October 4, 2023 11:55
Show Gist options
  • Save regispires/d3604636ec0e8d0d3ecab41f009f3d1c to your computer and use it in GitHub Desktop.
Save regispires/d3604636ec0e8d0d3ecab41f009f3d1c to your computer and use it in GitHub Desktop.
Cloud Object Storage Pricing

Comparison of Cloud Object Storage from the most used cloud providers

A brief summary of pricing for Object Storage services from AWS, Azure and GCP providers

AWS - S3

The storage we want is just for backup, so theoretically we won't need access, and even if we do, instant access won't be necessary. So we will use this storage in the cheapest region. In this case: US East (N. Virginia)

Before talking about spending on AWS, we must first raise the reasons why we will be charged. In our case:

  • Storage
  • Requests
  • Data tansfer

Storage

Storage is billed monthly based on the amount of storage and the storage class. Here are the two classes that best fit our case:

  • S3 Standard - Infrequent Access - For long lived but infrequently accessed data that needs millisecond access
  • S3 Glacier - For long-term backups and archives with retrieval option from 1 minute to 12 hours
  • S3 Deep glacier - For long-term data archiving that is accessed once or twice in a year and can be restored within 12 hours
Storage Class Cost / GB / Month
S3 Glacier 0.0036
S3 Deep Glacier 0.00099
S3 Standard - Infrequent Access $ 0.0125

Requests

Requests are billed based in the number and type of requests:

the only type of request we will not be charged for will be delete requests, for the other types:

Storage Class PUT, COPY, POST, LIST GET, SELECT Data Retrieval requests
S3 Glacier 0.03 / 1k requests 0.04 / 1k requests $ 0.05 / 1k requests
S3 Deep Glacier 0.05 / 1k requests 0.04 / 1k requests $ 0.02 / 1k requests
S3 Standard-InfrequentAccess 0.01 / 1k requests 0.01 / 1k requests n/a

For archiving classes there is an additional cost to unarchive:

Storage Class Data Retrievals
S3 Glacier 0.01 / GB
S3 Deep Glacier 0.025 / GB

S3 Standard-Infrequent Access is not a class to archive, so it does not apply.

Transfer

The only expected expense that fits our use is transferring data from S3 to the Internet, which will cost approximately 0.09 per GB

GCP - CS

Storage

Similar to AWS, GCP will also charge us through the amount and class of storage:

  • Archive storage: for data archiving, online backup, and disaster recovery with data availability in milliseconds
Storage Class Cost / GB / Month
Archive storage 0.0012

Requests

Storage Class PUT, COPY, POST, LIST GET, SELECT
Archive storage 0.05 / 1k requests 0.04 / 1k requests

For archiving classes there is an additional cost to unarchive:

Storage Class Data Retrievals
S3 Deep Glacier 0.05 / GB

Transfer

The only expected expense that fits our use is transferring data from CS to the Internet, which will cost approximately 0.12 per GB.

Azure Blob Storage

Storage

  • Archive: The archive tier is an offline tier for storing data that is rarely accessed. The archive access tier has the lowest storage cost. However, this tier has higher data retrieval costs with a higher latency.
Storage Class Cost / GB / Month
Archive 0.00099

Requests

Storage Class PUT, COPY, POST, LIST GET, SELECT
Archive storage 0.13 / 10k requests 6.50 / 10k requests

For archiving classes there is an additional cost to unarchive:

Storage Class Data Retrievals
S3 Deep Glacier 0.02 / GB

Transfer

The only expected expense that fits our use is transferring data from Azure to the Internet, which will be free for the fist 100GB after that will cost approximately 0.08 per GB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment