Dragonfly Cloud is now available in the AWS Marketplace - learn more

cache.m5.24xlarge (Amazon ElastiCache Instance Overview)

Instance Details

vCPUMemoryNetwork PerformanceInstance FamilyInstance Generation
96314.32 GiB25 GigabitStandardCurrent

Pricing Analysis

Filters

RegionON DEMAND1 Year Reserved (All Upfront)
US West (Oregon)$7.488$4.770
US East (N. Virginia)$7.488$4.770

cache.m5.24xlarge Related Instances

Instance NamevCPUMemory
cache.m5.4xlarge1652.26 GiB
cache.m5.12xlarge48157.12 GiB
cache.m5.24xlarge96314.32 GiB

Use Cases for cache.m5.24xlarge

Primary Use Cases

  • High Throughput, Memory-Intensive Caching: Ideal for large Redis or Memcached environments where caching performance, low-latency access to large datasets, and memory availability are critical.
  • Data Analytics and Machine Learning Inference: Works well as a backend cache layer for real-time analytics engines by providing fast data retrieval.
  • Session Stores and In-Memory Databases: Supports high-performing, scalable session stores where session persistence and availability at scale are essential for web applications, especially those experiencing high traffic volumes.
  • Geospatial or Time Series Data: Offers the memory and CPU resources needed to handle large amounts of ephemeral geospatial data.

When to Use cache.m5.24xlarge

  • Large Datasets and High Throughput: When your application predominantly accesses large datasets, such as for recommendation systems, stream processing, e-commerce websites, or mobile applications, m5.24xlarge ensures low-latency performance.
  • Enterprise-Grade Scalability: It is particularly beneficial for large enterprises scaling their Redis clusters, where in-memory data stores need to continually expand to accommodate a growing user base.
  • Stable, Balanced Workload Needs: If your workload needs a fair distribution of CPU, memory, and network throughput without over-reliance on one particular resource, this instance type is well-suited.

When Not to Use cache.m5.24xlarge

  • Lightweight or Burst Workloads: For development or testing environments or where cost control is essential, going with a smaller instance size or a burstable T3 (e.g., t3.medium) instance is a better choice.
  • Compute-Heavy Tasks: If compute resources are the primary bottleneck rather than memory or general performance, consider the c5 series machines such as cache.c5.18xlarge, which provide higher compute performance at a lower memory capacity.
  • Extreme Memory-Dependent Workloads: If memory needs are more extreme than CPU or network, consider the r5 or r6g series, designed to handle significantly larger memory footprints (e.g., cache.r5.24xlarge).

Understanding the m5 Series

Overview of the Series

The m5 series represents the fifth generation of AWS general-purpose instances. The series is engineered to provide a balanced mix of compute, memory, and network resources, making it an excellent choice for diverse workloads such as caching, databases, machine learning inference, and large-scale enterprise applications. These instances leverage the Intel Xeon Platinum 8000 series processors (Skylake-SP or Cascade Lake) for strong compute performance. The m5 series offers enhanced networking and integration with Elastic Network Adapters (ENA) to deliver low-latency, high-throughput performance.

Key Improvements Over Previous Generations

Compared to the m4 series, the m5 series introduces several enhancements:

  • Processor Performance: Powered by 2.5 GHz Intel Xeon Platinum 8000 series processors that support Intel AVX-512—a key improvement that benefits compute-intensive workloads.
  • Generational Architecture: The m5 family uses a more efficient memory interface with an increased memory footprint per vCPU, improving memory-intensive operations.
  • Improved Network Throughput: Support for Enhanced Networking with support for up to 25 Gbps throughput—crucial for latency-sensitive applications like Redis/Memcached clusters in ElastiCache.
  • Increased instance sizes: In particular, larger sizes like "24xlarge" support improved horizontal and vertical scaling for high-volume workloads.

Comparative Analysis

Primary Comparison

Within the m5 family, cache.m5.24xlarge boasts some distinct advantages:

  • vCPU count: The cache.m5.24xlarge provides 96 vCPUs, making it the most computationally powerful option within the m5 family.
  • Memory: It offers 384 GiB of memory, making it ideal for memory-heavy in-memory databases like Redis instances working with large time series, geospatial, or object state data.
  • Elastic Network Performance: It supports up to 25 Gbps of network bandwidth, enabling faster retrieval and processing of cache data in distributed workloads.

Compared to smaller m5 instances (like m5.large or m5.xlarge), this instance type drastically increases performance capacity but comes at a greater cost, so it’s better suited for production environments requiring larger-scale memory and CPU throughput.

Brief Comparison with Relevant Series

  • General Purpose vs. Compute Optimized: While the m5 series offers a well-balanced solution for most caching tasks, switching to c5 series (compute-optimized) instances, like cache.c5.18xlarge, may benefit workloads that are highly compute-bound, at the expense of reduced memory.

  • Cost-Effective Alternatives: If cost management is a top priority with less emphasis on consistent performance, consider burstable instances such as the t3 or t4g series for development and testing environments.

  • High Network Throughput: For workloads requiring maximum data throughput, r5n series or r6gd instances provide enhanced networking capabilities and can hit higher bandwidth requirements, making them an alternative for network-constrained memory-centric workloads.

Migration and Compatibility

Migrating to cache.m5.24xlarge from an older generation (like m4) is relatively smooth but requires some planning.

  • Snapshot Migration: First, ensure that you snapshot your ElastiCache cluster running on a smaller or previous generation instance (such as m4) before upgrading.
  • Parameter Group Compatibility: Ensure that any ElastiCache parameter groups in use are compatible with the CPU architecture of the m5 series. It is recommended to review the instance-level tuning for Redis or Memcached parameters due to performance differences.
  • Application Compatibility: Applications will not need to make any architectural changes during migration, but monitor new resource utilization patterns post-upgrade, as the m5 series offers a different balance of resources.