Question: How much does AWS ElastiCache cost?

Answer

AWS ElastiCache pricing varies based on the node type, engine, and region. The pricing model is pay-as-you-go, meaning that you only pay for what you use. There are two types of charges associated with ElastiCache - cache node usage and data transfer.

Cache Node Usage: The cache node usage charges are based on the number and type of nodes that you use. The following are the node types available in ElastiCache:

  • Redis:
    • Cache.t2.micro
    • Cache.t2.small
    • Cache.t2.medium
    • Cache.t2.large
    • Cache.m4.large
    • Cache.m4.xlarge
    • Cache.m4.2xlarge
    • Cache.m4.4xlarge
    • Cache.m4.10xlarge
    • Cache.m5.large
    • Cache.m5.xlarge
    • Cache.m5.2xlarge
    • Cache.m5.4xlarge
    • Cache.m5.12xlarge
    • Cache.r4.large
    • Cache.r4.xlarge
    • Cache.r4.2xlarge
    • Cache.r4.4xlarge
    • Cache.r4.8xlarge
    • Cache.r4.16xlarge
  • Memcached:
    • Cache.t2.micro
    • Cache.t2.small
    • Cache.t2.medium
    • Cache.t2.large
    • Cache.m3.medium
    • Cache.m3.large
    • Cache.m3.xlarge
    • Cache.m3.2xlarge
    • Cache.m4.large
    • Cache.m4.xlarge
    • Cache.m4.2xlarge
    • Cache.m4.4xlarge
    • Cache.m4.10xlarge
    • Cache.m5.large
    • Cache.m5.xlarge
    • Cache.m5.2xlarge
    • Cache.m5.4xlarge
    • Cache.m5.12xlarge

The pricing for the various node types can be found on the AWS website.

Data Transfer: The data transfer charges are based on the amount of data transferred in and out of the ElastiCache cluster. Data transfer charges vary by region and are typically free within the same availability zone.

In addition to these charges, there may be additional charges for other services used in conjunction with ElastiCache, such as Amazon VPC or AWS Direct Connect.

To get an estimate of the cost of using ElastiCache, you can use the AWS Simple Monthly Calculator.

Here's an example of how to calculate the cost:

Suppose you're running a Redis cache with a cache.m4.large node in the US East (N. Virginia) region. The cache is active for 730 hours per month, and the total data transfer in and out of the cache is 1 terabyte (TB).

The hourly rate for a cache.m4.large instance is $0.153. So the monthly cost for the cache node usage would be:

$0.153 * 730 = $111.69

The data transfer cost would depend on the region and amount of data transferred. Assuming the cache is located in the US East (N. Virginia) region, the cost would be:

$0.01 per GB * 1000 GB = $10

So the total monthly cost for the ElastiCache instance would be:

$111.69 + $10 = $121.69

Was this content helpful?

White Paper

Free System Design on AWS E-Book

Download this early release of O'Reilly's latest cloud infrastructure e-book: System Design on AWS.

Free System Design on AWS E-Book

Start building today

Dragonfly is fully compatible with the Redis ecosystem and requires no code changes to implement.