Sitemap
Sudipta Pati

Sudipta Pati

Press enter or click to view image in full size

Memory-Optimized Instance Type

14 min readAug 17, 2023

--

Just another bustling day. Sudipta patiently waited for Pooja in the training room for about 25 minutes, yet Pooja was nowhere to be seen. Sudipta tried reaching out to Pooja on Teams, but she was offline. Consequently, Sudipta headed over to Pooja’s desk to search for her, but she wasn’t present. However, Bharath, Pooja’s colleague, was at his workstation.

Sudipta: Hi Bharath, Good morning. Do you happen to know where Pooja is?

Bharath: Hi Sudipta, Good morning. Absolutely, I spoke to Pooja. She mentioned being on her way to the office but was caught in traffic. Just wait for 10–15 minutes, she should be arriving at the office soon.

Sudipta: Alright, once she’s here, please let her know I’m waiting for her in the training room.

Bharath: Certainly.

Sudipta: Thank you, and goodbye.

Bharath: Yeah, bye.

After approximately 25 minutes, Pooja finally entered the training room.

Pooja: Hi Sudipta, Good morning. I apologize for the delay; I got held up in traffic.

Sudipta: No worries, Bharath already informed me. I was actually waiting for you, and when you didn’t show up, I went to your desk to find you. Bharath had already let me know you’d be late due to traffic. Anyway, it’s alright, I understand.

Pooja: Thank you. So, let’s kick off today’s session with the next instance type: Memory-optimized.

Sudipta: Absolutely, let’s get started.

Pooja: Memory-optimized instances deliver remarkable performance for workloads involving large in-memory datasets, utilizing high RAM capacity.

These instances are optimized for various scenarios such as:

  1. High performance for relational or non-relational databases
  2. Distributed web-scale cache store
  3. In-memory databases tailored for business intelligence
  • Real-time processing of substantial unstructured data

Instances within this category are distinguished by their starting letters:

  • R:- Memory optimized
  • X:- Memory intensive
  • z:- High performance

Now, let’s dive into the subset of instances starting with R.

Sudipta: Understood.

Pooja: Within this category, there are a total of 11 instances. Let’s take a closer look at each of them.

R4 Instances:

  • R4 instances are tailored for memory-intensive applications, offering a more economical price per GiB of RAM compared to their predecessor, R3. The R3 instances belong to the previous generation of memory-optimized instances.
  • These instances are powered by high-frequency Intel Xeon Scalable (Broadwell E5–2686 v4) processors.
  • Furthermore, R4 instances support DDR4 memory and enhanced networking capabilities.
  • Let’s explore the various sizes available for R4 instances:
Press enter or click to view image in full size

R5 Instances:

  • These instances are powered by either the 1st or 2nd generation Intel Xeon Platinum 8000 series processor (Skylake-SP or Cascade Lake), featuring a consistent all-core Turbo CPU clock speed of up to 3.1 GHz. They also introduce support for the new Intel Advanced Vector Extensions 512 (AVX-512) instruction set, presenting up to 2x the FLOPS per core compared to the previous generation R4 instances.
  • R5 instances offer a 5% increase in memory per vCPU compared to R4 instances, with the largest size providing an impressive 768 GiB of memory. Additionally, R5 instances bring about a 10% price per GiB improvement and an approximate 20% enhancement in CPU performance over R4 instances.
  • In the case of R5d instances, local NVMe-based SSDs are directly connected to the host server, offering block-level storage that is inherently linked to the lifespan of the R5 instance.
  • Let’s now delve into the assortment of sizes that are available for R5 instances:
Press enter or click to view image in full size

R5b Instances

  • The b attribute in R5b signifies a focus on high EBS performance. R5b instances, the latest memory-optimized type, deliver remarkable EBS performance, offering up to 60 Gbps bandwidth and 260K IOPS.
  • These instances amplify EBS performance by threefold when compared to equivalently sized R5 instances. Equipped with 2nd generation Intel Xeon Scalable Processors (Cascade Lake), R5b instances feature an all-core Turbo CPU frequency of 3.1 GHz.
  • Moreover, these instances provide support for the new Intel Advanced Vector Extensions 512 (AVX-512) instruction set, delivering up to twice the FLOPS per core compared to the prior generation R4 instances.
  • Notably, these instances boast up to 96 vCPUs, 768 GiB of memory, 25 Gbps network bandwidth, and a robust 60 Gbps of EBS bandwidth.
  • Available sizes include:
Press enter or click to view image in full size

R5n Instances

  • R5 instances excel in memory-bound workloads, encompassing high-performance databases, distributed web-scale in-memory caches, mid-sized in-memory databases, real-time big data analytics, and other enterprise applications. The R5n and R5dn instance variants, offering heightened bandwidth, are tailored for applications capitalizing on enhanced network throughput and packet rate performance.
  • These instances supply a robust 100 Gbps of network bandwidth and a dedicated 19 Gbps of bandwidth to Amazon EBS. They are equipped with the second-generation Intel Xeon Scalable Processors (Cascade Lake), boasting a sustained all-core Turbo CPU frequency of 3.1 GHz. Moreover, they feature support for the new Vector Neural Network Instructions (AVX-512 VNNI*), markedly accelerating common machine learning operations like convolution and automatically enhancing inference performance across a broad spectrum of deep learning workloads.
  • For smaller instance sizes, they deliver up to 25 Gbps of peak bandwidth, while the largest instance size showcases a remarkable 100 Gbps of network bandwidth.
  • Let’s explore the available sizes:
Press enter or click to view image in full size

R5a Instances

  • Introducing R5a and R5ad instances, powered by AMD EPYC 7000 series processors with an all-core turbo clock speed of 2.5 GHz.
  • These AMD-based instances offer flexibility for customers with varying compute needs, unlocking potential cost savings of 10%.
  • Experience up to 20 Gbps network bandwidth through enhanced networking, coupled with an impressive 768 GiB of memory per instance.
  • Discover a range of available sizes to suit your requirements:
Press enter or click to view image in full size

R6a Instances

  • R6a instances are powered by 3rd generation AMD EPYC processors, offering a 35% improvement in price performance over R5a instances, and costing 10% less than comparable x86-based Amazon EC2 instances.
  • R6a instances maintain an 8:1 ratio of memory to vCPU, mirroring R5a instances, and support expanded sizes, accommodating up to 192 vCPUs per instance.
  • These instances hold SAP certification and excel in memory-intensive workloads such as SQL and NoSQL databases, distributed web-scale in-memory caches like Memcached and Redis, as well as in-memory databases and real-time big data analytics encompassing Apache Hadoop and Apache Spark clusters, alongside other enterprise applications.
  • They offer a remarkable networking speed of up to 50 Gbps, coupled with 40 Gbps bandwidth to the EBS. The 48xlarge and metal sizes are equipped with Elastic Fabric Adapter support.
  • Furthermore, these instances embrace always-on memory encryption using AMD Transparent Single Key Memory Encryption (TSME), and incorporate new AMD Advanced Vector Extensions (AVX-2) instructions for faster execution of cryptographic algorithms.
  • Let’s explore the available sizes below:
Press enter or click to view image in full size

R6g Instances

  • These instances utilize a custom-built AWS Graviton2 Processor, featuring 64-bit Arm Neoverse cores.
  • They exhibit a remarkable 40% improvement in price performance compared to R5 instances, specifically designed for executing memory-intensive workloads. Such workloads encompass open-source databases, in-memory caches, and real-time big data analytics.
  • Furthermore, these instances provide support for Enhanced Networking, furnishing a network bandwidth of up to 25 Gbps. Additionally, they come EBS-optimized by default to optimize storage performance.
  • For applications necessitating high-speed, low-latency local storage, you can opt for R6g instances equipped with local NVMe-based SSD block-level storage (R6gd).
  • Explore the various available sizes within this category:
Press enter or click to view image in full size

R6i Instances

  • R6i instances are powered by 3rd Generation Intel Xeon Scalable processors, offering a remarkable 15% improvement in price performance when compared to R5 instances.
  • These instances maintain an 8:1 ratio of memory to vCPU, akin to R5 instances, and boast support for up to 128 vCPUs per instance — an impressive 33% increase over R5 instances.
  • Additionally, they support up to 50 Gbps of networking speed and a bandwidth of 40 Gbps for Amazon Elastic Block Store (EBS).
  • The instances in the sizes of 32xlarge and metal offer support for Elastic Fabric Adapter, elevating networking capabilities.
  • Furthermore, these instances also incorporate the support for always-on memory encryption through Intel Total Memory Encryption (TME), along with embracing new Intel Advanced Vector Extension (AVX-512) instructions, designed to accelerate cryptographic algorithm execution.
  • With the inclusion of R6id instances, you gain access to a substantial 7.6 TB of local NVMe-based SSDs, intimately connected to the host server. These SSDs offer block-level storage intrinsically tied to the lifecycle of the R6i instance.
  • The spectrum of available sizes in this category encompasses:
Press enter or click to view image in full size

R6in Instances

  • R6in instances are optimized for memory-intensive workloads harnessing robust networking bandwidth, such as SAP, SQL, NoSQL databases, and in-memory databases like SAP HANA.
  • TFueled by 3rd Generation Intel Xeon Scalable processors (Ice Lake), these instances operate at an all-core turbo frequency of 3.5 GHz.
  • Both R6in and R6idn instances deliver an impressive 200 Gbps network bandwidth and up to 80 Gbps Amazon Elastic Block Store (EBS) bandwidth.
  • The 32xlarge and metal variants of these instances support Elastic Fabric Adapter (EFA), an Amazon EC2 network interface. EFA-enabled instances excel in scaling applications requiring heightened inter-node communication.
  • Furthermore, these instances facilitate continuous memory encryption using Intel Total Memory Encryption (TME) and leverage Intel Advanced Vector Extensions (AVX-512) for swift cryptographic algorithm processing.
  • In the case of R6idn instances, they house up to 7.6 TB of local NVMe-based SSDs, directly connected to the host server, offering block-level storage synchronized with the R6idn instance’s lifecycle.
  • Various sizes of R6in instances are available to suit different needs:
Press enter or click to view image in full size

R7g Instances

  • Introducing the R7g instances, powered by Arm-based AWS Graviton3 processors.
  • They present a remarkable 25% boost in performance compared to the sixth-generation AWS Graviton2-based R6g instances.
  • With Double Data Rate 5 (DDR5) memory, R7g instances grant a 50% surge in memory bandwidth over DDR4 memory, ensuring swift access to data in memory.
  • Notably, R7g instances deliver a substantial 20% increase in enhanced networking bandwidth compared to R6g instances, and they come EBS-optimized by default.
  • Elevating capabilities, the r7g.16xlarge and r7g.metal instances are equipped with Elastic Fabric Adapter.
  • Discover the array of available sizes below:
Press enter or click to view image in full size

R7iz Instances

  • R7iz instances excel as memory-optimized, high-frequency instances.
    They pioneer the utilization of 4th Generation Intel Xeon Scalable processors, boasting a sustained all-core turbo frequency of up to 3.9 GHz, a 20% performance leap compared to EC2 z1d instances (which we’ll explore later).
    They are also the inaugural x86-based EC2 instances to harness DDR5 memory, bestowing 2.4x higher memory bandwidth over z1d instances.
  • R7iz instances showcase an impressive 8:1 memory to vCPU ratio, accommodating up to 128 vCPUs and a staggering 1,024 GiB of memory. With network speeds reaching up to 50 Gbps and bandwidth capabilities up to 40 Gbps for Amazon Elastic Block Store (EBS), they shine across various scenarios.
  • Their unique blend of high compute performance and expansive memory footprint positions R7iz instances optimally for tasks like frontend Electronic Design Automation (EDA), relational databases with intensive per-core licensing, as well as financial, actuarial, and data analytics simulations.
  • It’s worth noting that the sizes for R7iz instances are not yet available on Amazon websites.

The R series concludes here.

Get Sudipta Pati’s stories in your inbox

Join Medium for free to get updates from this writer.

Sudipta: Clear. What’s the next topic?

Pooja: We’ll now move on to the x series.

Sudipta: Roger that.

Pooja: The x series comprises 6 instance types. Let’s delve into each of them step by step.

X1 Instances

  • X1 Instances excel at executing large-scale, memory-intensive applications within the AWS Cloud ecosystem.
  • Boasting a generous 1,952 GiB of DRAM-based memory, each X1 instance derives its power from four Intel® Xeon® E7 8880 v3 processors (codenamed Haswell) and offers an impressive capacity of up to 128 vCPUs.
  • Incorporating SSD instance storage for temporary block-level storage and coming EBS-optimized by default, these instances provide this advantage without any extra charges.
  • Here’s a glimpse at the available instance sizes:
Press enter or click to view image in full size

X1e Instances

  • The e attribute in X1e instances signifies additional storage or memory capacity.
  • Driven by four Intel® Xeon® E7 8880 v3 processors, these instances provide an impressive array of up to 128 vCPUs and 3,904 GiB of DRAM-based memory.
  • SAP has certified the x1e.32xlarge instance for various workloads, including the next-generation Business Suite S/4HANA, Business Suite on HANA (SoH), Business Warehouse on HANA (BW), and Data Mart Solutions on HANA on the AWS Cloud.
  • Various sizes of these instances are available to meet your requirements:
Press enter or click to view image in full size

X2gd Instances

  • These instances are driven by Arm-based AWS Graviton2 processors, offering the most budget-friendly cost per GiB of memory within Amazon EC2.
  • They yield a remarkable 55% improvement in price performance compared to the current generation of x86-based X1 instances. Additionally, they present double the memory per vCPU when compared to R6g/R5 instances, all while maintaining the most competitive cost per GiB of memory in Amazon EC2.
  • Furthermore, these instances support Enhanced Networking, furnishing an impressive network bandwidth of up to 25 Gbps.
  • X2gd instances also incorporate local NVMe-based SSD block-level storage. This feature caters to applications demanding high-speed, low-latency data access for tasks such as caching and real-time analytics.
  • The sizes available for these instances are as follows:
Press enter or click to view image in full size

X2idn Instances

  • X2idn instances are powered by 3rd generation Intel Xeon Scalable processors, boasting an all-core turbo frequency of up to 3.5 GHz. These instances outperform comparable X1 instances with up to 50% better compute price performance.
  • Featuring a flexible choice between a 16:1 or 32:1 ratio of memory to vCPU, they’re a perfect match for memory-intensive databases and electronic design automation (EDA) workloads.
  • These instances offer remarkable networking capabilities, with support for up to 100 Gbps of networking speed and a substantial 80 Gbps bandwidth to Amazon Elastic Block Store.
  • Furthermore, X2idn instances ensure robust security through always-on memory encryption using Intel Total Memory Encryption (TME). They also incorporate the cutting-edge Intel Advanced Vector Extensions (AVX-512) instructions, which enhance cryptographic algorithm execution for quicker results.
  • Available sizes are as follows:
Press enter or click to view image in full size

X2iedn Instances

  • X2iedn instances leverage 3rd generation Intel Xeon Scalable processors with an all-core turbo frequency of up to 3.5 GHz.
  • These instances exhibit a 50% improved price-performance ratio compared to X1 instances.
  • X2iedn instances boast local NVMe SSD storage of up to 3.8 TB and networking bandwidth of up to 100 Gbps, accompanied by a maximum memory capacity of 4 TiB.
  • Further enhancing their capabilities, these instances provide a bandwidth of up to 80 Gbps to the Amazon Elastic Block Store.
  • Moreover, they encompass support for continuous memory encryption via Intel Total Memory Encryption (TME) and incorporate the new Intel Advanced Vector Extensions (AVX-512) instructions, expediting cryptographic algorithm execution.
  • Below are the available instance sizes:
Press enter or click to view image in full size

X2iezn Instances

  • X2iezn instances are fueled by the swiftest Intel Xeon Scalable processors, codenamed Cascade Lake, available in the cloud. They boast an impressive all-core turbo frequency of up to 4.5 GHz, making them an excellent option for memory-intensive electronic design automation (EDA) workloads.
  • These instances are equipped with an ample memory capacity of up to 1.5 TiB, providing an extraordinary computational environment. Moreover, they offer an impressive 55% enhancement in price performance compared to X1e instances.
  • Leveraging their robust architecture, X2iezn instances deliver exceptional networking capabilities, with network speeds reaching up to 100 Gbps. Additionally, they offer up to 19 Gbps of bandwidth to the Amazon Elastic Block Store, ensuring seamless data handling.
  • Among their notable features, the 12xlarge and metal instance sizes provide support for Elastic Fabric Adapter, enhancing their networking prowess.
  • Below are the available instance sizes:
Press enter or click to view image in full size

Concluding the X series, if you have any questions, feel free to ask.

Sudipta: I’m clear about the X series of memory-optimized instances. I suppose the only remaining instance types are z1d.

Pooja: My apologies, there are actually two more. I forgot to mention the High Memory instance type within this category. We’ll cover that after discussing z1d.

Sudipta: Understood.

Pooja: Let’s proceed to explore z1d instances.

Z1d Instances

  • Z1d instances offer a powerful combination of high compute capacity and substantial memory capacity.
  • These instances excel in high single-thread performance, powered by a custom Intel® Xeon® Scalable processor with a sustained all-core frequency of up to 4.0 GHz.
  • They support a remarkable 1.8 TB of instance storage and feature an impressive 1:8 vCPU to memory ratio, providing up to 384 GiB of RAM.
  • Furthermore, z1d instances are equipped with local NVMe-based SSDs that are directly connected to the host server, offering block-level storage intrinsically tied to the z1d instance’s lifecycle.
  • The available sizes in this category are:
Press enter or click to view image in full size

High memory Instances

  • Instances in this category are denoted by names starting with ‘u’, such as u-3tb1.56xlarge, where ‘u’ signifies High Memory.
  • These instances are tailored to support extensive in-memory databases, including SAP HANA, facilitating cloud-based production deployments. They also enable the operation of large in-memory databases and associated business applications within the same Amazon Virtual Private Cloud (VPC). This approach streamlines complex networking management and guarantees consistent performance.
  • These instances are available in both bare metal and virtualized memory configurations.
  • They are inherently EBS-Optimized, boasting up to 38 Gbps of dedicated storage bandwidth. Additionally, they provide exceptional networking throughput and minimal latency, leveraging Amazon Elastic Network Adapter (ENA)-based Enhanced Networking to achieve an aggregate network bandwidth of up to 100 Gbps.
  • High Memory instances with storage capacities of 3 TiB, 6 TiB, 9 TiB, and 12 TiB employ an 8-socket platform powered by Intel® Xeon® Platinum 8176M (Skylake) or 8280L (Cascade Lake) processors. Notably, EC2 High Memory instances with 18 TiB and 24 TiB capacities mark a milestone as the first Amazon EC2 instances to utilize an 8-socket platform equipped with 2nd Generation Intel® Xeon® Scalable (Cascade Lake) processors.
  • Various sizes are accessible within this category:
Press enter or click to view image in full size

As we wrap up this overview of memory-optimized instances, please don’t hesitate to reach out if you have any questions.

Sudipta: I’ll review again and let you know if any queries arise.

Pooja: Let’s summarize memory-optimized instances.

  • R:- Memory optimized
Press enter or click to view image in full size

where a:- AMD processors, d:- Instance store volumes, b:- high EBS performance, n:- Network and EBS optimized, g:- AWS Graviton processors, i:- Intel processors

  • X:- Memory intensive
Press enter or click to view image in full size
  • z:- High performance
Press enter or click to view image in full size
  • U:- High memory
Press enter or click to view image in full size

Sudipta: Now I have a clear understanding of memory-optimized instances.

Pooja: Excellent, then let’s conclude today’s session as I have scheduled meetings to attend.

Sudipta: Of course, let’s reconvene tomorrow.

Pooja: Indeed, tomorrow we’ll delve into another instance type.

Sudipta: Perfect. Farewell for now, see you tomorrow.

Pooja bade goodbye and headed to her meetings.

Press enter or click to view image in full size

--

--