aws_ dax_ cluster cost estimation
An in-memory write-through cache for DynamoDB. Priced per node-hour by node type, multiplied across the cluster's node count.
An aws_
The node rate depends on the node type, which the Terraform expresses with a dax. prefix (dax.r5.large, dax.t3.small, etc.). A dax.t3.small is cheap for development; dax.r5.large and up are the production sizes. A 3-node cluster of dax.t3.small is three times the single-node rate. There's no separate request or data charge for DAX itself, the node-hours are the whole story.
c3x reads node_
Terraform example
A minimal but realistic configuration that C3X can estimate.
resource "aws_dax_cluster" "cache" {
cluster_name = "orders-cache"
iam_role_arn = aws_iam_role.dax.arn
node_type = "dax.r5.large"
replication_factor = 3
}Pricing dimensions
What you actually pay for when you provision aws_.
| Dimension | Unit | What's being charged |
|---|---|---|
| Node hours | per node-hour | On-demand rate for the node type, billed for every node (replication_ $0.269/hour for dax.r5.large in us-east-1 |
Sample C3X output
Example output from c3x estimate (dax.r5.large, 3 nodes):
aws_dax_cluster.cache
└─ Nodes (dax.r5.large x 3) 2,190 node-hours $589.11
OVERALL TOTAL $589.11Optimization tips
Common ways to reduce aws_ cost without changing the workload.
Only use DAX for read-heavy, latency-sensitive tables
Whole cluster if unneededDAX adds always-on node cost. It pays off when you have hot keys read far more than written and need microsecond latency. For write-heavy or low-QPS tables it's pure overhead.
Right-size node type and replication factor
Per excess nodeA 3-node cluster triples the rate. Two nodes give HA; a third is for throughput. Use the smallest node type that holds your working set and the fewest nodes that meet availability needs.
Compare against DynamoDB DAX-free with strong caching upstream
Workload-dependentIf you already cache at the application layer (ElastiCache, in-process), DAX may be redundant. Estimate the table with and without DAX to see whether the latency gain justifies the node cost.
FAQ
How does c3x estimate DAX cost?
It reads node_
Does DAX charge per request like DynamoDB?
No. DAX bills only for the provisioned nodes by the hour. The DynamoDB table behind it still bills its own read/write capacity or on-demand requests, separately.
When is DAX worth the cost?
For read-heavy workloads with hot keys where microsecond latency matters and the same items are read repeatedly. For write-heavy or low-traffic tables, DAX adds node cost without a meaningful benefit.
How many nodes should I run?
At least two for high availability across AZs. A third adds read throughput. Each node bills at the full rate, so don't add nodes beyond what availability and throughput require.
Is the DynamoDB table cost included?
No. The aws_
Related resources
More AWS resources
Estimate this resource in your own Terraform
Free, open source, no API key. C3X parses your Terraform and shows line-item cost for every resource, including aws_.