📜 ⬆️ ⬇️

Easy performance test of AWS, Google Cloud and Microsoft Azure cloud platforms

When they say "cloud virtual machine", as a rule, they mean AWS. And when all these questions became relevant for me, out of curiosity, I decided to conduct a small experiment to assess the price / speed of the systems of other major cloud competitors.



The most interesting thing is that as the coil was unwinding in this whole cloud story, one trick suddenly surfaced, which shuffled the whole deck. And I still do not have an answer to the question, but how is it possible to trade in capacities like this, as the two mentioned in the title of the grand do?
Who cares - welcome under cat.

I confess that until now I did not have a rich real experience with AWS, Azure and Google Cloud, so I started with a simple googling, because A “head-on” comparison of characteristics did not give a proper understanding of the picture. For example, when choosing multicore systems, the same Google operates with the values ​​of some virtual CPUs, without explaining anywhere what it means. As a result, it is not entirely clear what exactly the performance of the running system will be.
')


In the end, I decided to put a simple experiment: run a series of simple performance tests on the installations of three top cloud service providers (they were AWS, Google Cloud and Microsoft Azure).

In all three cases, new accounts were opened and Windows Server 2016 was raised on 4 universal nuclear instances. For AWS, this is EC2 m4.xlarge; for Google - n1-standard-4; for Azure - DS3_v2 Standard. The memory is aligned in all three examples to the Azure level.



Here, by the way, was the first "ambush". It was normal to register the first time only with Azure. Google for some reason refused to accept a bank card, claiming an “unacceptable method of payment” - although Amazon and Azure perceived the card as normal. AWS has a buggy registration form - so much so that I had to contact support and wait for a response. Their tech support is active. This is a plus. They called back twice, wrote twice, but the question “hung” for more than a week.

But this stuff, so back to the tests. Virtual machines are raised, as they say, "as is", without any additional refinement. To check the performance in all cases, the same set of tests was run:


GeekBench 4 Results



Amazon EC2 m4.xlarge in the data center in Frankfurt









Google Cloud (us-central 1-c data center)










Microsoft Azure










The result, to be honest, was a little surprised. Those. we see a very significant advantage of the cloud from Microsoft. And the reason is simple - Azure provides full-fledged four cores with a high clock frequency, whereas both Google and Amazon give dual-core, and the figure “four” is obtained through hyper-trading!

With Google, by the way, there is another "ambush". Already after the tests, examining the screenshots, it became clear that the instances from Azure and AWS were located in Europe, and Google - in the States. Those. when raising the server, I did not pay attention to the region. And the subtlety here is that you cannot change the location of the data center when raising the server. This is done in the general console settings of all virtual machines, which is not entirely obvious.

Nevertheless, it seems that two more cores from changing the geography of the data center are unlikely to appear. Google’s resource distribution policy is the same, so it was decided to leave everything as it is and the tests should not be redone (especially since installations have to pay a certain amount of money every time).

7Zip results


The results of the built-in test archiver - solely to check GeekBench. And here we see a similar picture, albeit with a slightly smaller discrepancy. The total rating score in MIPS is shown on the diagram.



Now let's look at the speed of the disk subsystem.

CrystalDiskMark Results


To test the operation of the disk subsystem, I took CrystalDiskMark and an old Anvil's Storage Utilities. The first one worked with a bang, and here are its results:



Azure and Amazon as a whole work quite fast, but Google, apparently, is strictly limited to 25 MB / s. An attempt to recheck Anvil's data was only partially successful. On the Amazon server, he showed results similar to Crystal, but in the "clouds" of Azure and Google, the test results caused a huge number of questions. For example, in Google, the linear recording speed was fixed at 240 MB / s, while external monitoring of disk operations on the management console did not show traffic above 20 MB / s. And it is even lower than the registered values ​​when running Crystal (the two humps on the right in the screenshot are the work of the disk tests).



Price tag


The price for Google Cloud is the lowest. Especially considering the 30% discount received if the virtual machine works most of the month.



The second for the price goes AWS. Taking into account the separate fee for storage in our case, we get ~ $ 346, which is displayed on the header of the corresponding tab.



Well, the price for Azure is formally the highest (~ $ 356). However, it is not much different from AWS. And if you consider that when you register in Azure, we get bonus $ 200, and so it becomes average.



findings


The main conclusion - at Azure, we received a full four processing cores of the Xeon E5-2673 processor. Due to this, we have almost 50% superiority in the speed of performing multi-threaded tasks on AWS. Yes, it costs a little more. However, starting $ 200 and, let's be honest, it’s not at all a 50% price increase, they speak for themselves.

The disk subsystem is also not the same. And if Azure and AWS storages are moving fast enough, then Google has a very hard and low barrier to disk operations. And if it is critical to someone, then keep in mind. On the other hand, Google has tested an American data center. It is possible that if I took the European, the picture could be different. But now there is no time to check it out.

PS: Already after uploading the material on Habr I saw this article . Well, that means it really is.

Source: https://habr.com/ru/post/331822/


All Articles