Let us manage your RDBMS! Amazon Aurora & RDS provide secure, customizable, cost-effective databases at scale: Read more
Amazon EC2 M5 Instances
M5 instances offer a balance of compute, memory, and networking resources for a broad range of workloads. This includes web and application servers, small and mid-sized databases, cluster computing, gaming servers, caching fleets, and app development environments. Additionally, M5d, M5dn, and M5ad instances have local storage, offering up to 3.6TB of NVMe-based SSDs.
Introducing M5zn instances
Amazon EC2 M5zn instances are powered by the fastest Intel Xeon Scalable processors in the cloud, with an all-core turbo frequency up to 4.5 GHz. Additionally, M5zn instances feature 100Gbps networking and Amazon Elastic Fabric Adapter, and are ideal for computationally and network intensive applications.
Benefits
Flexibility and choice
Choose between a selection of 60 different instance choices with multiple processor options (Intel Xeon Scalable processor or AMD EPYC processor), storage options (EBS or NVMe SSD), network options (up to 100 Gbps), and instance sizes to optimize both cost and performance for your workload needs.
Lower TCO
By leveraging the higher number of cores per processor, M5 instances provide customers with a higher instance density than the previous generation, which results in a reduction in per-instance TCO. With the largest instance size of 24xlarge, customers can scale-up and consolidate their workloads on a fewer number of instances, to help lower their total cost of ownership.
Maximize resource efficiency
M5 instances are built on the AWS Nitro System, a combination of dedicated hardware and lightweight hypervisor which delivers practically all of the compute and memory resources of the host hardware to your instances for better overall performance and security.
Features
Multiple processor choices
M5 and M5d instances feature either the 1st or 2nd generation Intel Xeon Platinum 8000 series processor (Skylake-SP or Cascade Lake) with a sustained all core Turbo CPU clock speed of up to 3.1 GHz, and deliver up to 20% improvement in price/performance compared to M4 instances. M5 instances provide support for the Intel Advanced Vector Extensions 512 (AVX-512) instruction set, offering up to 2x the FLOPS per core compared to the previous generation M4 instances. M5n and M5dn instances feature 2nd generation Intel Xeon Scalable Processors (Cascade Lake) with a sustained all-core Turbo CPU frequency of 3.1 GHz. In addition to AVX-512, there is support for the new Vector Neural Network Instructions (AVX-512 VNNI) which will help speed up typical machine learning operations like convolution and inference. M5zn instances offer up to 45% higher compute performance over EC2 M5 instances, delivering the fastest Intel Xeon Scalable processors available in the cloud, with an all-core turbo frequency up to 4.5 GHz. M5a and M5ad instances feature the AMD EPYC 7000 series processor with an all core turbo clock speed of up to 2.5 GHz. M5a instances offers up to 10% savings for customers who are looking to further cost optimize their Amazon EC2 compute environments.
High performance networking
M5n, M5dn, and M5zn instances leverage the fourth generation of custom Nitro card and Elastic Network Adapter (ENA) device to deliver up to 100 Gbps of network throughput to a single instance. These instances offer 4x the network bandwidth and packet processing compared to the base M5 instances and are ideal for network intensive applications. Customers can also enable Elastic Fabric Adapter (EFA) on 12xlarge, 16xlarge, 24xlarge and .metal sizes of m5n and m5dn, and 6xl, 12xl and .metal sizes of M5zn instances for low and consistent network latency.
High performance storage
Local NVMe-based SSD block level storage physically connected to the host server is available on all M5d, M5dn, and M5ad instances. These instances are a great fit for applications that need access to high-speed, low latency local storage including those that need temporary storage of data for scratch space, temporary files, and caches.
Built on AWS Nitro System
M5 instances are built on the AWS Nitro System, a rich collection of building blocks that offloads many of the traditional virtualization functions to dedicated hardware. By doing so, the AWS Nitro System enables high performance, high availability, and high security while also reducing virtualization overhead.
Product details
-
M5 instances
-
M5n instances
-
M5a instances
-
M5zn instances
-
M5 instances
-
The M5 and M5d instances feature either the 1st or 2nd generation Intel Xeon Platinum 8000 series processor (Skylake-SP or Cascade Lake) with a sustained all core Turbo CPU clock speed of up to 3.1 GHz. Additionally there is support for the new Intel Advanced Vector Extensions 512 (AVX-512) instruction set, offering up to 2x the FLOPS per core compared to the previous generation M4 instances.
Instance Size
vCPU Memory (GiB) Instance Storage
(GB)Network Bandwidth (Gbps)
EBS Bandwidth (Mbps) m5.large 2 8 EBS-Only Up to 10 Up to 4,750 m5.xlarge 4 16 EBS-Only Up to 10 Up to 4,750 m5.2xlarge 8 32 EBS-Only Up to 10 Up to 4,750 m5.4xlarge 16 64 EBS-Only Up to 10 4,750 m5.8xlarge 32 128 EBS Only 10 6,800 m5.12xlarge 48 192 EBS-Only 12 9,500 m5.16xlarge 64 256 EBS Only 20 13,600 m5.24xlarge 96 384 EBS-Only 25 19,000 m5.metal 96* 384 EBS-Only 25 19,000 m5d.large 2 8 1 x 75 NVMe SSD Up to 10 Up to 4,750 m5d.xlarge 4 16 1 x 150 NVMe SSD Up to 10 Up to 4,750 m5d.2xlarge 8 32 1 x 300 NVMe SSD Up to 10 Up to 4,750 m5d.4xlarge 16 64 2 x 300 NVMe SSD Up to 10 4,750 m5d.8xlarge 32 128 2 x 600 NVMe SSD 10 6,800 m5d.12xlarge 48 192 2 x 900 NVMe SSD 12 9,500 m5d.16xlarge 64 256 4 x 600 NVMe SSD 20 13,600 m5d.24xlarge 96 384 4 x 900 NVMe SSD 25 19,000 m5d.metal 96* 384 4 x 900 NVMe SSD 25 19,000 *m5.metal and m5d.metal provide 96 logical processors on 48 physical cores
-
M5n instances
-
M5n and M5dn instances provide up to 100 Gbps of network bandwidth and up to 19 Gbps of dedicated bandwidth to Amazon EBS. These instances feature the 2nd generation Intel Xeon Scalable Processors (Cascade Lake) with a sustained all-core Turbo CPU frequency of 3.1 GHz. Additionally there is support for the new Vector Neural Network Instructions (AVX-512 VNNI*) which will help speed up typical machine learning operations like convolution, and automatically improve inference performance over a wide range of deep learning workloads. With M5dn instances, local NVMe-based SSDs are physically connected to the host server and provide block-level storage that is coupled to the lifetime of the instance.
Instance Size
vCPU Memory (GiB) Instance Storage
(GB)Network Bandwidth (Gbps)
EBS Bandwidth (Mbps) m5n.large 2 8 EBS-Only Up to 25 Up to 4,750 m5n.xlarge 4 16 EBS-Only Up to 25 Up to 4,750 m5n.2xlarge 8 32 EBS-Only Up to 25 Up to 4,750 m5n.4xlarge 16 64 EBS-Only Up to 25 4,750 m5n.8xlarge 32 128 EBS Only 25 6,800
m5n.12xlarge 48 192 EBS-Only 50 9,500 m5n.16xlarge 64 256 EBS Only 75 13,600 m5n.24xlarge 96 384 EBS-Only 100 19,000 m5n.metal 96** 384 EBS-only 100 19,000 m5dn.large 2 8 1 x 75 NVMe SSD Up to 25 Up to 4,750 m5dn.xlarge 4 16 1 x 150 NVMe SSD Up to 25 Up to 4,750 m5dn.2xlarge 8 32 1 x 300 NVMe SSD Up to 25 Up to 4,750 m5dn.4xlarge 16 64 2 x 300 NVMe SSD Up to 25 4,750 m5dn.8xlarge 32 128 2 x 600 NVMe SSD 25 6,800 m5dn.12xlarge 48 192 2 x 900 NVMe SSD 50 9,500 m5dn.16xlarge 64 256 4 x 600 NVMe SSD 75 13,600 m5dn.24xlarge 96 384 4 x 900 NVMe SSD 100 19,000 m5dn.metal 96** 384 4 x 900 NVMe SSD 100 19,000 *VNNI may not be compatible with all Linux distributions. Please check documentation before using.**m5n.metal and m5dn.metal provide 96 logical processors on 48 physical cores
-
M5a instances
-
M5a and M5ad instances feature AMD EPYC 7000 series processors with an all core turbo clock speed of 2.5 GHz. The AMD-based instances provide additional options for customers that do not fully utilize the compute resources and can benefit from a cost savings of 10%. With M5ad instances, local NVMe-based SSDs are physically connected to the host server and provide block-level storage that is coupled to the lifetime of the instance.
Instance Size vCPU Memory (GiB)
Instance Storage
(GB)
Network Bandwidth (Gbps) EBS Bandwidth (Mbps) m5a.large 2 8 EBS-Only Up to 10 Up to 2,880 m5a.xlarge 4 16 EBS-Only Up to 10 Up to 2,880 m5a.2xlarge 8 32 EBS-Only Up to 10 Up to 2,880 m5a.4xlarge 16 64 EBS-Only Up to 10 2,880 m5a.8xlarge 32 128 EBS Only Up to 10 4,750 m5a.12xlarge 48 192 EBS-Only 10 6,780 m5a.16xlarge 64 256 EBS Only 12 9,500 m5a.24xlarge 96 384 EBS-Only 20 13,570 m5ad.large 2 8 1 x 75 NVMe SSD Up to 10 Up to 2,880 m5ad.xlarge 4 16 1 x 150 NVMe SSD Up to 10 Up to 2,880 m5ad.2xlarge 8 32 1 x 300 NVMe SSD Up to 10 Up to 2,880 m5ad.4xlarge 16 64 2 x 300 NVMe SSD Up to 10 2,880 m5ad.8xlarge 32 128 2 x 600 NVMe SSD Up to 10 4,750 m5ad.12xlarge 48 192 2 x 900 NVMe SSD 10 6,870 m5ad.16xlarge 64 256 4 x 600 NVMe SSD 12 9,500 m5ad.24xlarge 96 384 4 x 900 NVMe SSD 20 13,570 2 x 300 NVMe SSD 2 x 300 NVMe SSD -
M5zn instances
-
Amazon EC2 M5zn instances are the latest addition to the M5 family and deliver the fastest Intel Xeon Scalable processors in the cloud with an all-core turbo frequency up to 4.5 GHz. M5zn instances are an ideal fit for applications that benefit from extremely high single-thread performance and high throughput, low latency networking, such as High Performance Computing, and simulation modeling for the automotive, aerospace, energy, and telecommunication industries.
Instance Size vCPU Memory (GiB)
Instance Storage
(GB)
Network Bandwidth (Gbps) EBS Bandwidth (Mbps) m5zn.large 2 8 EBS-Only Up to 25 Up to 3,170 m5zn.xlarge 4 16 EBS-Only Up to 25 Up to 3,170 m5zn.2xlarge 8 32 EBS-Only Up to 25 3,170 m5zn.3xlarge 12 48 EBS-Only Up to 25 4,750 m5zn.6xlarge 24 96 EBS Only 50 9,500 m5zn.12xlarge 48 192 EBS-Only 100 19,000 m5zn.metal 48 192 EBS-Only 100 19,000 2 x 300 NVMe SSD 2 x 300 NVMe SSD
Customer stories
“ChaosSearch develops purpose-built, cost-effective, highly scalable analytics for search, SQL, and machine learning capabilities. In a single offering using patented technology we are able to transform a cloud object storage such as Amazon S3 into an analytical data lake. We used Amazon EC2 M5zn instances and compared to C5d instances, we experienced performance improvements of 25% for data indexing and 20% on query/search. With these improvements, ChaosSearch is able to reduce the total number of instances for customers at scale, enabling them to save on their overall costs.”
Thomas Hazel, ChaosSearch founder and CTO
"Airnguru builds and provides best-in-class SaaS solutions for airlines. Over the last few years, our primary focus has been creating a new generation of pricing intelligence and price execution solutions to solve some of the biggest problems that airlines face. We provide airlines with technological solutions for streamlined pricing processes, pricing automation, and massive data to feed their mission critical business processes. To accomplish this goal, we continuously explore, test, and innovate using the latest technologies and services made available by AWS. Recently we incorporated the use of the EC2 M5zn instances, which allowed us to reduce the cost of one of our massive processes by 30 percent. The EC2 M5zn high-speed CPUs combined with generous RAM sizes and our ad-hoc massive parallelization algorithms helped us achieve an efficient computation of vast numbers of air ticket prices for our customers"
Cesar Moltedo, Head of Engineering
Blog posts & articles
Get started with AWS
Sign up for an AWS account
Instantly get access to the AWS Free Tier.
Learn with 10-minute tutorials
Explore and learn with simple tutorials.
Start building in the console
Begin building with step-by-step guides to help you launch your AWS project.
Try Amazon EC2 for Free!