Amazon ElastiCache follows an on-demand pricing model, which means you pay for compute capacity by the hour with no long-term commitments. For replicas, you pay for the hourly usage of each node – meaning, the price depends on the type and number of nodes you use.
ElastiCache supports two types of engines - Redis and Memcached. For Redis, in addition to primary nodes, you can have read replicas, which are essentially additional copies of your data that can handle read traffic and support high availability. You would pay for these replicas just as you do for primary nodes.
Here's an example of how this might look:
Your total cost would then be the
total_price_per_hour multiplied by the number of hours you run the replicas.
Keep in mind prices vary by region and instance type. Also, data transfer and storage costs could apply. For instance, there could be costs associated with replicating data across regions or taking snapshots of your data.
For the most accurate pricing, refer to the official Amazon ElastiCache Pricing page.