Amazon ElastiCache – Consider Latest Generation Nodes for t-Family Nodes

·

By

Infracost

Amazon ElastiCache – Consider Latest Generation Nodes for t-Family Nodes

·

By

Infracost

The Amazon ElastiCache t family generation policy flags clusters on the previous generation cache.t1.micro node and recommends current generation nodes such as cache.t3.micro. The cache.t3.micro node costs about 22% less per hour while offering more than twice the memory and two vCPUs instead of one. Apply this policy to any aws_elasticache_cluster whose node_type is still cache.t1.micro.

Attribute

Detail

Cloud Provider

Amazon Web Services (AWS)

Resource Type

Amazon ElastiCache burstable (t family) nodes

Terraform Attribute

node_type on aws_elasticache_cluster

Non-compliant Value

Previous generation cache.t1.micro

Compliant Value

Current generation t family node types, for example cache.t3.micro or cache.t4g.micro

Cost Impact

About 22% lower on-demand cost per node moving cache.t1.micro to cache.t3.micro in US East

Why This Policy Matters

How It Helps Reduce Cloud Costs

Amazon ElastiCache bills every node by the hour for as long as the cluster exists. Small caches usually run around the clock, so the hourly node rate becomes a fixed monthly cost.

Burstable t family nodes suit small Redis OSS, Valkey, and Memcached caches with low average CPU and occasional spikes. These nodes are common in development environments, feature flags, rate limiters, and small session stores.

The cache.t1.micro node is the oldest ElastiCache burstable node. It has 1 vCPU, about 0.21 GiB of memory, and very low network performance.

The cache.t3.micro node has 2 vCPUs, 0.5 GiB of memory, and network bandwidth that bursts up to 5 Gbps. It also exposes CPUCreditUsage and CPUCreditBalance metrics in Amazon CloudWatch, so teams can see when a cache runs out of burst capacity.

AWS prices cache.t3.micro below cache.t1.micro. Upgrading the Amazon ElastiCache node type improves the hardware and lowers the hourly rate in the same change.

Keeping a cache.t1.micro node costs more for less. There is no performance or pricing case for staying on it.

Potential Savings

The Amazon ElastiCache t family generation policy saves money because the current generation node has a lower hourly rate than the cache.t1.micro node it replaces.

Node type

vCPUs

Memory

On-demand hourly (US East)

Approx. monthly

cache.t1.micro (previous generation)

1

0.213 GiB

$0.022

$16.06

cache.t3.micro (current generation)

2

0.5 GiB

$0.017

$12.41

cache.t4g.micro (current generation, Graviton)

2

0.5 GiB

$0.016

$11.68

Monthly figures assume 730 hours at US East (N. Virginia) on-demand rates. Prices vary by region, engine, and purchase option.

Moving one cache.t1.micro node to cache.t3.micro saves about $3.65 per month, or roughly $44 per year. That is a 22.7% reduction per node.

The dollar saving per node is small. The stronger case is that the same change more than doubles usable cache memory, which can reduce evictions on caches that have outgrown 0.21 GiB.

Implementation Guide

Infrastructure-as-Code Example (Terraform)

The following examples show an Amazon ElastiCache cluster on the previous generation cache.t1.micro node type and the corrected configuration on cache.t3.micro.

AWS no longer lists cache.t1.micro among supported ElastiCache node types, and previous generation nodes are not offered for new clusters. The non-compliant example therefore represents an existing, long-running cluster still tracked in Terraform state, which is where this policy usually finds violations.

Non-compliant configuration: Redis OSS cluster on cache.t1.micro

resource "aws_elasticache_cluster" "feature_flags" {
  cluster_id      = "feature-flags"
  engine          = "redis"
  node_type       = "cache.t1.micro"
  num_cache_nodes = 1
  port            = 6379
}
resource "aws_elasticache_cluster" "feature_flags" {
  cluster_id      = "feature-flags"
  engine          = "redis"
  node_type       = "cache.t1.micro"
  num_cache_nodes = 1
  port            = 6379
}
resource "aws_elasticache_cluster" "feature_flags" {
  cluster_id      = "feature-flags"
  engine          = "redis"
  node_type       = "cache.t1.micro"
  num_cache_nodes = 1
  port            = 6379
}

This configuration pays a higher hourly rate for a node with half the vCPUs and less than half the memory of cache.t3.micro. This is a common source of wasted spend in small caches that were created years ago and never revisited.

Compliant configuration: Redis OSS cluster on cache.t3.micro

resource "aws_elasticache_cluster" "feature_flags" {
  cluster_id        = "feature-flags"
  engine            = "redis"
  node_type         = "cache.t3.micro"
  num_cache_nodes   = 1
  port              = 6379
  apply_immediately = false
}
resource "aws_elasticache_cluster" "feature_flags" {
  cluster_id        = "feature-flags"
  engine            = "redis"
  node_type         = "cache.t3.micro"
  num_cache_nodes   = 1
  port              = 6379
  apply_immediately = false
}
resource "aws_elasticache_cluster" "feature_flags" {
  cluster_id        = "feature-flags"
  engine            = "redis"
  node_type         = "cache.t3.micro"
  num_cache_nodes   = 1
  port              = 6379
  apply_immediately = false
}

The only functional change is the node_type value. Setting apply_immediately = false defers the modification to the cluster's next maintenance window instead of applying it as soon as Terraform runs.

Step-by-Step Fix Instructions

  1. Search Terraform code for node_type = "cache.t1.micro" on aws_elasticache_cluster resources.

  2. Check shared modules, .tfvars files, and variable defaults. The node type often sits in a variable "node_type"default rather than the resource block.

  3. Confirm the engine version meets the cache.t3 minimum. AWS lists Redis OSS 4.0.10, Valkey 7.2, and Memcached 1.5.16. Clusters on cache.t1.micro may run an older engine, so upgrade the engine first if needed.

  4. Pick the target node. cache.t3.micro is the direct replacement, and cache.t4g.micro is the Graviton option at a slightly lower rate.

  5. Check BytesUsedForCache, Evictions, and CPUUtilization in Amazon CloudWatch to confirm the micro size still fits the workload.

  6. Change the node_type value and run terraform plan. Confirm the plan shows an in-place update to node_type, not a resource replacement. If the plan shows a replacement, schedule it as a migration rather than a routine apply.

  7. Apply the change to a non-production Amazon ElastiCache cluster first, then roll it to production during a maintenance window.

  8. Add Infracost to CI/CD so previous generation t family node types are flagged in pull requests before they merge.

Best Practices

  • Default new Amazon ElastiCache clusters to current generation node types in shared Terraform modules, and require a stated reason for anything older.

  • Watch CPUCreditBalance after the move. A cache that drains its CPU credits every day needs a non-burstable node, not a bigger burstable one.

  • Migrate non-production caches first. These carry the least risk if a client or engine issue appears.

  • Review reserved nodes before migrating. A reserved node bought for one node family does not cover usage on another family.

  • This policy targets node generation only. Right-sizing or consolidating several small caches is a separate decision that can save more.

Tools and Scripts

How does Infracost detect previous generation Amazon ElastiCache t family nodes automatically?

The Amazon ElastiCache t family generation policy is available in Infracost, including in the free trial. Enable FinOps policies in Infracost Cloud and run Infracost in CI/CD.

Infracost then checks each pull request that adds or changes an ElastiCache resource. A cache.t1.micro node type gets a finding in the PR comment, along with the estimated monthly cost of the change.

Engineers can dismiss a finding in the pull request with a reason, for example a cluster that is scheduled for decommissioning. FinOps teams can see those dismissals and the reasons behind them.

Infracost Cloud also tracks the percentage of issues fixed, the open issues that remain, and the new issues prevented in pull requests. This lets platform and FinOps teams burn down existing cache.t1.micro nodes over time and report measurable progress.

To find cache.t1.micro node types in a Terraform codebase:

grep -rn 'cache\.t1\.micro' --include="*.tf" --include="*.tfvars" .
grep -rn 'cache\.t1\.micro' --include="*.tf" --include="*.tfvars" .
grep -rn 'cache\.t1\.micro' --include="*.tf" --include="*.tfvars" .

To list running Amazon ElastiCache clusters and their node types with the AWS CLI:

aws elasticache describe-cache-clusters \
  --query "CacheClusters[].{id:CacheClusterId,type:CacheNodeType,engine:Engine,version:EngineVersion}" \
  --output table
aws elasticache describe-cache-clusters \
  --query "CacheClusters[].{id:CacheClusterId,type:CacheNodeType,engine:Engine,version:EngineVersion}" \
  --output table
aws elasticache describe-cache-clusters \
  --query "CacheClusters[].{id:CacheClusterId,type:CacheNodeType,engine:Engine,version:EngineVersion}" \
  --output table

If a cluster is managed by Terraform, change node_type in code rather than in the AWS console. Otherwise the next terraform apply sets the old node type again.

Examples of Impact

Savings from the Amazon ElastiCache t family generation policy scale with node count, because the code change per resource is one attribute.

Illustrative example: a feature flag cache. A platform team runs a single cache.t1.micro Redis OSS node for feature flags. Moving to cache.t3.micro cuts on-demand cost by about $3.65 per month and gives the cache 0.5 GiB of memory instead of 0.21 GiB.

Illustrative example: per-environment caches. A team runs 10 cache.t1.micro nodes across development, staging, and preview environments. Switching all of them to cache.t3.micro saves about $36.50 per month, roughly $438 per year, at US East on-demand rates.

(These are illustrative scenarios, not specific customer accounts.)

Considerations and Caveats

The Amazon ElastiCache t family upgrade is low risk for most small caches, but engine versions and burst behavior deserve a check first.

  • Engine version floor. The cache.t3 family requires Redis OSS 4.0.10 or later. Clusters on older engines need an engine upgrade before the node type change.

  • No new previous generation clusters. AWS no longer lists cache.t1.micro as a supported node type, so a Terraform plan that recreates a cache.t1.micro cluster should not be expected to succeed.

  • Burstable limits still apply. cache.t3.micro earns 12 CPU credits per hour with a 10% baseline per vCPU. Sustained high CPU workloads belong on a non-burstable node.

  • Persistence settings. AWS does not support the Redis OSS appendonly and appendfsync parameters on burstable nodes.

  • Provider-specific. This policy targets Amazon ElastiCache through the aws Terraform provider. Other managed caches use different node families and resource names.

Related Policies and Concepts

  • Amazon ElastiCache - consider using latest generation node for m family nodes: the same generation upgrade applied to general-purpose ElastiCache nodes.

  • Amazon ElastiCache - consider using latest generation nodes for r family nodes: the same generation upgrade applied to memory-optimized ElastiCache nodes.

  • Amazon ElastiCache - consider using Graviton instances: the next step after a generation upgrade, moving x86 nodes such as cache.t3 to Graviton nodes such as cache.t4g.

  • Amazon RDS - consider using latest generation instances for t family instances: the same burstable generation upgrade applied to aws_db_instance classes.

  • Amazon EC2 - consider using latest generation instances for t family instances: the Compute-group policy for moving older EC2 burstable instances to current generation types.

Frequently Asked Questions (FAQs)

Is this policy supported in Infracost?

Yes. The Amazon ElastiCache t family generation policy is supported in Infracost and available in the free trial. Infracost flags ElastiCache resources that use the previous generation cache.t1.micro node type in pull request comments. The team can then change the node type before merge.

Can this policy be customized?

Yes. Teams choose which Infracost policies are enabled in Infracost Cloud, including the Amazon ElastiCache t family generation policy. Engineers can also dismiss a specific finding with a stated reason, such as a cluster scheduled for decommissioning, and FinOps teams can review that reason.

Does Infracost automatically fix violations?

No. Infracost reports each Amazon ElastiCache node on a previous generation t family node type and shows the cost of the change in the pull request. Changing the node_type value and validating the cluster on the new node type is a decision the team makes and applies.

Is this policy cloud-agnostic?

No. The Amazon ElastiCache t family generation policy targets Amazon ElastiCache through the aws Terraform provider. Azure Cache for Redis and Google Cloud Memorystore use their own tiers and resource names, so these node types do not apply.

How much does upgrading cache.t1.micro to cache.t3.micro save?

At US East (N. Virginia) on-demand rates, cache.t1.micro costs $0.022 per hour, about $16.06 per month, and cache.t3.micro costs $0.017 per hour, about $12.41 per month. That is roughly a 22% saving per Amazon ElastiCache node, with more memory and twice the vCPUs.

Which engine version does cache.t3 require?

AWS lists Redis OSS 4.0.10, Valkey 7.2, and Memcached 1.5.16 as the minimum engine versions for Amazon ElastiCache cache.t3 nodes. Clusters on cache.t1.micro running an older engine need an engine upgrade before the node type change.

Should I choose cache.t3.micro or cache.t4g.micro?

Both are current generation Amazon ElastiCache burstable nodes with 2 vCPUs and 0.5 GiB of memory. The Graviton-based cache.t4g.micro lists at $0.016 per hour in US East, slightly below cache.t3.micro. Choose cache.t4g.microwhen the engine version and client libraries are confirmed compatible.

How often should I review Amazon ElastiCache node generations?

Teams running Infracost in CI/CD get an Amazon ElastiCache t family generation check on every pull request that touches an ElastiCache resource. For clusters already running, a quarterly review of Amazon ElastiCache node types is a reasonable cadence for most teams.

Create Free Account

This policy is supported in Infracost and available in the free trial. Sign up today and scan your code using our entire library of FinOps policies.

Get started
with Infracost

© 2026 Infracost Inc

Manage cookies

Get started
with Infracost

© 2026 Infracost Inc

Manage cookies

Get started
with Infracost

© 2026 Infracost Inc

Manage cookies