Evolution of the EC2 Network Performance: m3, m4, and m5
AWS announces new generations of EC2 instances from time to time. Typically, each generation offers better performance at lower costs. This article discusses the networking capabilities of the general purpose instances over time. Spoiler alert: you can increase the throughput of your web application, decrease the duration of your backups from EC2 to S3, and increase the maximum network throughput between two EC2 instances without additional costs.
We have measured the networking performance of EC2 instance from three different general purpose generations:
- The third generation
- The fourth generation
- The fifth generation
m5announced 2017 during re:Invent recently.
The network throughput increased slightly between each instance generation. However,
m5.2xlarge instances can burst up to 10 Gbit/s for a short period amount of time.
Staying ahead of the game with Amazon Web Services (AWS) is a challenge. Our weekly videos and online events provide independent insights into the world of cloud. Subscribe to cloudonaut plus to get access to our exclusive videos and online events.Subscribe now!
The following table lists the average network throughput of m3, m4, and m5 EC2 instances in Gbit/s. We have measured the network performance daily with the
iperf3 network benchmark tool on April 12th, 2018. See EC2 Network Performance Cheat Sheet if you are interested in the details of the network performance benchmark.
|INSTANCE TYPE||M3 FAMILY||M4 FAMILY||M5 FAMILY|
|large||0.69 Gbit/s||0.45 Gbit/s||0.74 Gbit/s|
|xlarge||0.99 Gbit/s||0.74 Gbit/s||1.24 Gbit/s|
|2xlarge||0.99 Gbit/s||0.99 Gbit/s||2.49 Gbit/s|
|4xlarge||1.99 Gbit/s||4.97 Gbit/s|
m4 instances offer constant network throughput. In contrast,
m5.2xlarge can burst network throughput up to 10 Gbit/s for a short period as illustrated in the following table.
The network performance benchmarks run for 60 minutes.
- 90th Percentile: throughput was reached for 6 minutes.
- 70th Percentile: throughput was reached for 18 minutes.
- 50th Percentile: throughput was reached for 30 minutes.
- 30th Percentile: throughput was reached for 42 minutes.
|Instance Type||Maximum||90th Percentile||70th Percentile||50th Percentile||30th Percentile|
As usual, making use of the latest instance generation gives you more performance for the same money. Especially, if your workload profits from a network performance burst for a few minutes, making use of the
m5 instance types can increase throughput dramatically.