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

cache.r6g.12xlarge (Amazon ElastiCache Instance Overview)

Instance Details

vCPUMemoryNetwork PerformanceInstance FamilyInstance Generation
48317.77 GiB20 GigabitMemory optimizedCurrent

Pricing Analysis

Filters

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

cache.r6g.12xlarge Related Instances

Instance NamevCPUMemory
cache.r6g.4xlarge16105.81 GiB
cache.r6g.8xlarge32209.55 GiB
cache.r6g.12xlarge48317.77 GiB
cache.r6g.16xlarge64419.09 GiB

Use Cases for cache.r6g.12xlarge

Primary Use Cases

The cache.r6g.12xlarge instance is well-suited for enterprises and large-scale applications requiring in-memory key-value stores that demand high memory capacity and strong network performance. Typical use cases include but are not limited to:

  • Real-Time Analytics: High-throughput jobs that analyze data in near real-time, such as user behavior tracking or IoT data processing.
  • Databases with High Read/Write Loads: Scenarios like recommendation engines or global leaderboards where rapid retrieval from cache and constant updates are necessary.
  • Caching for Large Web Applications: Caching frequently accessed web content, such as personalized user profiles or dynamic templates during high-traffic periods.

When to Use cache.r6g.12xlarge

This instance type should be employed for high-performance, memory-intensive workloads where downtime or latency must be minimized. Ideal use cases include:

  • Enterprise-grade Redis/Memcached deployments: Applications requiring large-scale, distributed caching to reduce response times, such as session management in high-user-demand applications.
  • Data-heavy workloads: Environments where large datasets are stored and processed in-memory for real-time outcomes, such as machine learning inference.
  • Distributed in-memory databases: Systems that demand frequent access to large datasets with high availability and minimal query response time (e.g., ad-tech platforms or e-commerce personalization).

When Not to Use cache.r6g.12xlarge

The cache.r6g.12xlarge is not suitable for all workloads, especially when the demands are either low or not memory-centric. Use cases where this instance may not be ideal include:

  • Cost-sensitive Light Workloads: For applications with low memory needs or burstable workloads, considering smaller and lower-cost instances (e.g., cache.t3.medium) could be more cost-efficient.
  • CPU-Bound Workloads: If the workload is highly compute-intensive but doesn’t require large amounts of memory, a compute-optimized instance (e.g., cache.c6g.4xlarge) may be a better choice.
  • Network-Bound Applications: In scenarios where advanced networking is the priority, especially in data pipeline or high I/O workloads, instances with enhanced networking capabilities (e.g., r6gd series for access to NVMe storage) should be considered.

Understanding the r6g Series

Overview of the Series

The r6g series in Amazon ElastiCache is designed to offer memory-optimized performance using AWS Graviton2 processors. These Graviton2-based instances are powered by 64-bit Arm Neoverse cores, which provide a significant performance boost, especially in workloads that are memory-intensive. This series is ideal when you need a balance between cost-efficiency and excellent memory bandwidth for applications like Redis or Memcached.

The r6g family is known for its high memory-to-CPU ratio, making it particularly useful for in-memory databases, caching layers, and analytics jobs. With enhancements brought by the Arm-based architecture, users experience lower cost per GiB compared to previous Intel-based instances, along with a better performance per dollar ratio. The r6g instances are available in multiple sizes, from smaller deployments to much larger configurations like cache.r6g.12xlarge, making them versatile for different scaling needs.

Key Improvements Over Previous Generations

The r6g series offers several notable advantages over its predecessor, the r5 series:

  • Powered by AWS Graviton2 processors: Offering up to a 40% better price/performance ratio compared to similar x86-based instances (such as r5).
  • Improved Energy Efficiency: Graviton2 processors are designed for better energy use, resulting in potential cost reductions for large-scale operations.
  • Enhanced Memory Bandwidth: Allows better handling of memory-hungry workloads like Redis, Memcached, and big data-related use cases.
  • Improved Networking: With r6g, network performance has been enhanced for the instances, ensuring a smoother operation under heavy-demand scenarios.

Comparative Analysis

  • Primary Comparison: Within the same family, compared to a smaller instance type like cache.r6g.8xlarge, the 12xlarge configuration offers more vCPUs and memory for higher throughput and more concurrent users. This instance may suit larger, enterprise-grade workloads compared to smaller configurations suited for moderate usage.

  • Brief Comparison with Relevant Series:

    • General-purpose series (m-series): If a balance between CPU, memory, and network performance is needed (e.g., lightweight applications with varying resource demands), consider instances from the m6g series (e.g., cache.m6g.xlarge). These are less memory-intensive but may serve cost-conscious users well.
    • Compute-optimized series (c-series): For workloads that require higher CPU performance relative to memory (such as caching only a small amount of data but under heavy compute demands), compute-optimized instances (e.g., c6g) are worth exploring.
    • Burstable performance series (t-series): For workloads with small, intermittent spikes in load, a more cost-efficient solution may be a burstable T-series instance (e.g., t4g.medium). These are suitable for light workloads without constant high-memory demands.
    • Specialized instances: If the workload demands high-performance networking (e.g., real-time analytics), choosing an instance series with advanced networking features (like the high-bandwidth network in the r6gd series) may provide added value.

Migration and Compatibility

Upgrading to r6g instances from earlier generations like r5-series should be seamless, as the primary difference lies in the processor architecture. Graviton2 (Arm-based) means certain x86-optimized applications or libraries may need to be recompiled for Arm but most workloads in memory-based systems like Redis are well supported. Ensure that any external dependencies, or integrations with x86-based workloads that share resources, are fully tested in a staging environment prior to migration.

Detailed attention should be paid to compatibility when moving to a larger instance size within the same r6g series for throughput scaling. To avoid sudden performance shifts, follow best practices for horizontal scaling, such as Redis cluster partitioning or running a Memcached cluster.