Over a million developers have joined DZone.

Amazon EC2 2015 Benchmark: Testing Speeds Between AWS EC2 and S3 Regions

Finally, an answer to the age old question: How do I decide which AWS region I should place my EC2 instance at?

· Cloud Zone

Build fast, scale big with MongoDB Atlas, a hosted service for the leading NoSQL database on AWS. Try it now! Brought to you in partnership with MongoDB.

Ladies and gentleman, we’re ready to roll up the curtain on the Takipi Amazon Web Services server speeds benchmark for 2015. This year we’re welcoming a brand new region in Frankfurt, Germany, and crowning the fastest region for this year’s speed test. To do so, we’ve set up instances all around the globe and bumped a 10MB file from side to side to see how long would it take for it to complete its journey.

Java / Scala developer? Takipi replaces logging in production JVMs and lets you see the variable state that caused each log error and exception.

The testing first started a few years back when we wanted to have more data to help us choose where to host our first cluster of servers (Spoiler alert: We’ve chosen Virginia). Since then, we’ve been running the benchmark once per year to get more insight into this rather dark terrain covered by the cloud wars fog of war.

New Post: Amazon EC2 2015 Benchmark: Testing Speeds Between #AWS EC2 and S3 Regions http://t.co/lw0cJvNkLIpic.twitter.com/kpI865ADwn

— Takipi (@takipid) August 3, 2015

The Amazon EC2 Server Region Speeds for 2015

AWS 2015 EC2 Speed Test Results

** Average upload time of 10MB in seconds from EC2 server locations to S3 locations.

The 2014 Results From the Last Benchmark:

AWS 2014 Speed Test Results

** For more results from previous years check out our last blog post about it right here.

Woah, lots of changes, let’s break it down and take a more insightful look at the data. Overall we’re seeing an average 40% improvement across all regions.

Combined Upload Times by EC2 Regions in 2015

AWS 2015 Combined Upload Times

Oregon is the fastest region, overtaking California’s seat from last year. With an accumulative upload time of 25 seconds, the Oregon region is the fastest choice. The general guideline is placing your servers the closest you can to your users: If you’re only starting out with AWS, Oregon is a good choice for global coverage.

Sao Paulo is the slowest region to upload from. We’ve seen major improvements in the speeds Australia is getting this year. These improvements now place Southern America as the slowest AWS region with an accumulative upload time of 46.1 seconds. The Virginia-Sao Paulo route provides pretty good results if you have many users from that region and want to have a good global coverage.

US regions remain the fastest choice for global coverage. The runner ups to Oregon are the 2 remaining US regions, Virginia and California. With accumulative upload speeds of 27 and 27.2 seconds.

For regions outside the US, Tokyo and Ireland came on top. Lagging a bit behind, Tokyo (30.2 Seconds) and Ireland (31.7 Seconds) were the best spots to place your server outside the US.

The new Frankfurt region is the slowest in Europe. Ireland beats Frankfurt in all the tests, we don’t see a reason why host your servers there at the moment. Even the Ireland-Frankfurt link took just less than a second.

Unsurprisingly, the speeds within the same region were the fastest. Averaging 0.37 seconds, the in-region speeds were pretty much the same for every server we tested. This results is 43% better than the in-region results we’ve seen last year, 0.65 seconds.

Slowest Upload Speeds From EC2 to S3 in Each Region

AWS 2015 Speed Test - Slowest Results by Region

The slowest upload speed recorded was Sao Paulo to Singapore. It took almost 9 seconds to complete a transfer between these 2 regions. Routing this traffic through Virginia might actually be a better choice.

The region with the minimum maximal time to complete a transfer is Oregon. If you’re looking at “worst case” performance scenarios, Oregon wins again. The slowest upload speed that we recorded was 4.32 seconds to Sydney.

Average Upload Times from EC2 to S3, 2013 vs 2014 vs 2015

AWS Avg Upload Times Year by Year

The funny thing here is that on last year’s test, we had to remove Australia to make sense of the graph. The speeds in that region were so slow that we couldn’t compare the other regions because they messed up the scale the chart. This year, Australia is making a fierce comeback. So fierce that we have to remove results from previous years to make it readable.

Let’s Clear Up the Graph by Removing the 2013 and 2014 Results From Sydney:

AWS Speed Test Results Average Upload Times (Without past results from Sydney)
We see an average improvement of 40% across all AWS compared to last year. Amazon speeds are getting better year by year with better infrastructure, and more servers across more availability zones within regions that help handle the pressure. With a 32% improvement from 2013 to 2014, and 40% between 2014 and 2015, AWS is getting much more faster..

The Groundwork

To run this test we’ve set up EC2 instances (m3.xlarge) and S3 buckets in all Amazon AWS server regions currently available and timed how long it would take to transfer 10MB in each direction. We went for a dozen rounds, removing best and worst scores before averaging. This left us with 10 valid scores to average, which seems to us like a fair number. There are currently 9 available AWS regions – three in the US (Oregon/California/Virginia), one in South America (Sao Paulo), two in Europe (Dublin and a new region in Frankfurt), two in Asia (Singapore/Japan) and one in Australia. The new region in China is not publicly available yet so it wasn’t included in the test (For more information about speeds in China, check out this blog post by Adam Winn from OPSWAT).

The test was built using the AWS Java SDK and it’s available on GitHub. You’re welcome to fork, clone, review or run the experiment yourself to compare results.

Have additional insights to share? Let us know in the comment section below.


15 tools to use when deploying new code to production – View tool list

Java 8

Java 8 exceptions have never been so beautiful – Try Takipi for Java 8

Java / Scala developer? Takipi replaces logging in production JVMs and lets you see the variable state that caused each log error and exception.

Now it's easier than ever to get started with MongoDB, the database that allows startups and enterprises alike to rapidly build planet-scale apps. Introducing MongoDB Atlas, the official hosted service for the database on AWS. Try it now! Brought to you in partnership with MongoDB.


Published at DZone with permission of Alex Zhitnitsky, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}