Introducing Dragonfly Cloud! Learn More

Question: What is the pricing for a T2.Micro instance in ElastiCache?


Amazon Web Services (AWS) doesn't provide specific pricing details for individual instances like T2.Micro in ElastiCache since the cost varies based on various factors. These factors include the region where your cache nodes are deployed, whether you're using Redis or Memcached, and whether your nodes are running in a single availability zone or across multiple zones.

Here's a general way to check the most up-to-date pricing information:

  1. Visit the Amazon ElastiCache Pricing Page.
  2. Scroll down to the "On-Demand Cache Nodes" section.
  3. Select your desired region from the dropdown menu.
  4. Find the "Cache.t2.micro" row under your selected caching engine (Redis or Memcached).

Remember that these prices are per-node and don't include additional costs such as data transfer fees or backup storage.

Please note that the T2 instances are burstable performance instances that provide a baseline level of CPU performance with the ability to burst above the baseline. They are ideal for workloads that don't use the full CPU often or consistently but occasionally need to burst to higher CPU performance.

# Here's an example of creating a t2.micro ElastiCache node using boto3 in Python import boto3 client = boto3.client('elasticache', region_name='us-west-2') response = client.create_cache_cluster( CacheClusterId='my-memcached-cluster', Engine='memcached', CacheNodeType='cache.t2.micro', NumCacheNodes=2, AZMode='cross-az', )

This code will create a new ElastiCache cluster with Memcached as the caching engine and two t2.micro nodes spread across multiple Availability Zones.

For the most accurate and current AWS ElastiCache pricing, it's highly recommended to visit the official AWS pricing page or use the AWS Price List Service API.

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.