Amazon EC2 M5 Instances
Amazon EC2 M5 Instances are the next generation of the Amazon EC2 General Purpose compute instances. M5 instances offers a balance of compute, memory, and networking resources for a broad range of workloads. This includes web and application servers, back-end servers for enterprise applications, gaming servers, caching fleets, and app development environments.
Introducing EC2 M5a Instances
M5a instances feature AMD EPYC processors with an all core turbo clock speed of up to 2.5 GHz and offer a 10% cost savings over M5 instances.
Flexibility and Choice
Choose between a selection of 18 different instance choices with multiple processor options (Intel Xeon Scaleable processor or AMD EPYC processor), storage options (EBS or NVMe SSD), and instance sizes to optimize both cost and performance for your workload needs.
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 which delivers practically all of the compute and memory resources of the host hardware to your instances resulting in better overall performance.
Multiple Processor Choices
M5 instances feature the Intel Xeon Platinum 8000 series (Skylake-SP) processor 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 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. New M5a instances feature the AMD EPYC 7000 series processor with an all core turbo clock speed of up to 2.5 GHz. M5a offers up to 10% savings for customers who are looking to further cost optimize their Amazon EC2 compute enviornments.
High performance networking and storage
Next-generation Elastic Network Adapter (ENA) and NVM Express (NVMe) technology provide M5 instances with high throughput, low latency interfaces for networking and Amazon Elastic Block Store (Amazon EBS). M5 instances offer up to 25 Gbps of network bandwidth and up to 14 Gbps of dedicated bandwidth to Amazon EBS. M5 instances also feature significantly higher networking and Amazon EBS performance on smaller instance sizes with EBS burst capability. With M5d 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 M5 instance.
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.
Larger instance sizes
M5 instances introduce a new larger sized instance, m5.24xlarge, which provides 96 vCPU and 384 GiB of memory and 25 Gbps of network bandwidth. The greater density helps you consolidate your workloads to run more cost-effectively in the AWS Cloud. M5 instances are also available as bare metal.
The M5 and M5d instances feature the Intel Xeon Platinum 8000 series (Skylake-SP) processor 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.
Model vCPU Memory (GiB) Instance Storage (GiB) Network Bandwidth (Gbps)
EBS Bandwidth (Mbps) m5.large 2 8 EBS-Only Up to 10
Up to 3,500 m5.xlarge 4 16 EBS-Only Up to 10 Up to 3,500 m5.2xlarge 8 32 EBS-Only Up to 10 Up to 3,500 m5.4xlarge 16 64 EBS-Only Up to 10 3,500 m5.12xlarge 48 192 EBS-Only 10 7,000 m5.24xlarge 96 384 EBS-Only 25 14,000 m5.metal 96* 384 EBS-Only 25 14,000 m5d.large 2 8 1 x 75 NVMe SSD
Up to 10 Up to 3,500 m5d.xlarge 4 16 1 x 150 NVMe SSD Up to 10 Up to 3,500 m5d.2xlarge 8 32 1 x 300 NVMe SSD Up to 10 Up to 3,500 m5d.4xlarge 16 64 2 x 300 NVMe SSD Up to 10 3,500 m5d.12xlarge 48 192 2 x 900 NVMe SSD 10 7,000 m5d.24xlarge 96 384 4 x 900 NVMe SSD 25 14,000 m5d.metal 96* 384 4 x 900 NVMe SSD 25 14,000
*m5.metal and m5d.metal provide 96 logical processors on 48 physical cores
M5a 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%.
Model vCPU Memory (GiB)
Instance Storage (GiB)
Network Bandwidth (Gbps) EBS Bandwidth (Mbps) m5a.large 2 8 EBS-Only Up to 10 Up to 2,120 m5a.xlarge 4 16 EBS-Only Up to 10 Up to 2,120 m5a.2xlarge 8 32 EBS-Only Up to 10 Up to 2,120 m5a.4xlarge 16 64 EBS-Only Up to 10 2,120
m5a.12xlarge 48 192 EBS-Only 10 5,000 m5a.24xlarge 96 384 EBS-Only 20 10,000