The Evolution of EC2 Network Performance: m3, m4, and m5
So, are AWS EC2's fancy new m5 instances worth it? In a word: yes. See the performance impact and cost savings you can expect.
Join the DZone community and get the full member experience.Join For Free
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
m3announced in 2012.
- The fourth generation
m4announced in 2015.
- The fifth generation
m5announced in 2017 during re:Invent.
While there is no considerable difference in network performance between
m4 instances, there is a huge difference in networking performance between the fourth and fifth generation of general purpose instance types.
m5instances offer an average network throughput of at least 10 Gbit/s.
m5.2xlargeinstance offers ten times the networking performance of an
m3.2xlargeinstance at lower hourly costs.
m5.largeinstance offers 20 times the networking performance of an
m4.largeinstance at lower hourly costs.
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 in EU (Ireland) from November 30th to December 18th.
|INSTANCE TYPE||M3 FAMILY||M4 FAMILY||M5 FAMILY|
|large||0.70 Gbit/s||0.47 Gbit/s||10.04 Gbit/s|
|xlarge||1.02 Gbit/s||0.81 Gbit/s||10.04 Gbit/s|
|2xlarge||1.01 Gbit/s||1.01 Gbit/s||10.04 Gbit/s|
|4xlarge||2.05 Gbit/s||10.04 Gbit/s|
The following table provides a more detailed look at the network performance of
m4 instances, the network throughput of
m5 instances is very consistent. Learn more about the detailed measurement results for
m4 instances at EC2 network performance demystified: m3 and m4.
As the network is the computer, the networking capabilities of your instances become more and more critical. Don’t miss the incredible increase of network throughput of the
m5 instance types and upgrade your EC2 instances today.
Published at DZone with permission of Andreas Wittig. See the original article here.
Opinions expressed by DZone contributors are their own.