Amazon EC2 M5 Instances

Balanced compute, memory, and networking resources for general purpose workloads

Amazon EC2 M5 Instances are the next generation of the Amazon EC2 General Purpose compute 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.

Amazon EC2 M5 instances

Introducing M5n and M5dn instances

Amazon EC2 M5n and M5dn instances are the latest addition to the M5 family and provide up to 100 Gbps of networking throughput, optimized for network intensive applications.

Benefits

Flexibility and choice

Choose between a selection of 48 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 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 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 additon 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. 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 and M5dn 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 process compared to the base M5 instances and are ideal for network intensive applications. Customers can also enable Elastic Fabric Adapter (EFA) on 24xlarge instance sizes of M5n and M5dn 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
  • M5 instances
  • 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.

    Instance Size
    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.8xlarge 32 128 EBS Only 10 5,000
    m5.12xlarge 48 192 EBS-Only 10 7,000
    m5.16xlarge 64 256 EBS Only 20 10,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.8xlarge 32 128 2 x 600 NVMe SSD 10 5,000
    m5d.12xlarge 48 192 2 x 900 NVMe SSD 10 7,000
    m5d.16xlarge 64 256 4 x 600 NVMe SSD 20 10,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

  • M5n instances
  • M5n and M5dn instances provide up to 100 Gbps of network bandwidth and up to 14 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
    (GiB)
    Network Bandwidth (Gbps)
    EBS Bandwidth (Mbps)
    m5n.large 2 8 EBS-Only Up to 25 Up to 3,500
    m5n.xlarge 4 16 EBS-Only Up to 25 Up to 3,500
    m5n.2xlarge 8 32 EBS-Only Up to 25 Up to 3,500
    m5n.4xlarge 16 64 EBS-Only Up to 25 3,500
    m5n.8xlarge 32 128 EBS Only 25 5,000
    m5n.12xlarge 48 192 EBS-Only 50 7,000
    m5n.16xlarge 64 256 EBS Only 75 10,000
    m5n.24xlarge 96 384 EBS-Only 100 14,000
    m5dn.large 2 8 1 x 75 NVMe SSD Up to 25 Up to 3,500
    m5dn.xlarge 4 16 1 x 150 NVMe SSD Up to 25 Up to 3,500
    m5dn.2xlarge 8 32 1 x 300 NVMe SSD Up to 25 Up to 3,500
    m5dn.4xlarge 16 64 2 x 300 NVMe SSD Up to 25 3,500
    m5dn.8xlarge 32 128 2 x 600 NVMe SSD 25 5,000
    m5dn.12xlarge 48 192 2 x 900 NVMe SSD 50 7,000
    m5dn.16xlarge 64 256 4 x 600 NVMe SSD 75 10,000
    m5dn.24xlarge 96 384 4 x 900 NVMe SSD 100 14,000
  • 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%.

    Instance Size 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.8xlarge 32 128 EBS Only Up to 10 3,500
    m5a.12xlarge 48 192 EBS-Only 10 5,000
    m5a.16xlarge 64 256 EBS Only 12 7,000
    m5a.24xlarge 96 384 EBS-Only 20 10,000
    m5ad.large 2 8 1 x 75 NVMe SSD Up to 10 Up to 2,120
    m5ad.xlarge 4 16 1 x 150 NVMe SSD Up to 10 Up to 2,120
    m5ad.2xlarge 8 32 1 x 300 NVMe SSD Up to 10 Up to 2,120
    m5ad.4xlarge 16 64 2 x 300 NVMe SSD Up to 10 2,120
    m5ad.12xlarge 48 192 2 x 900 NVMe SSD 10 5,000
    m5ad.24xlarge 96 384 4 x 900 NVMe SSD 20 10,000

Blog posts & articles

Get started with AWS

Sign up for an AWS account

Sign up for an AWS account

Instantly get access to the AWS Free Tier.

Learn with simple tutorials

Learn with 10-minute tutorials

Explore and learn with simple tutorials.

Start building with EC2 in the console

Start building in the console

Begin building with step-by-step guides to help you launch your AWS project.

Try Amazon EC2 for Free!

Click here to try for free
Ready to get started?
Sign up
Have more questions?
Contact us