Step 3 – Select your AWS EC2 Machine Types. I used Amazon Linux AMI version 2014.09, as shown below: AWS EC2 Linux instance HVM provides enhanced networking, it uses single root I/O virtualization (SR-IOV) and results in higher network performance (packets per second), lower latency and lower jitter. Each instance should be capable of having HVM enabled for maximum network throughput. To get started, I used three of the same Amazon Linux AMIs. In this post, the term “node” means a single EC2 instance and “shard” will mean a single Redis process acting as a part of a larger database service. There are a number of considerations here. For the first, most basic type of test, you’ll need to select, start and configure 3 AWS EC2 instances. On AWS via IAM there are permission templates, which make the creation of users and assignment of permission quick and easy, and there is really no excuse to perform benchmark testing as a root user. It is of course a best practice for all use of any cloud to run as least privileged user, rather than root. I performed all of my tests as an authorized AWS IAM (non root) user. Part 1: Getting Setup to Test on AWS – the Basics In addition to covering the steps to do this, I’ve also included a long list of technical links at the end of this blog post. Also beyond basic set up, performance-tuning techniques vary from those I’ve used for on premise and also from cloud-to-cloud solutions. The environment is obviously different that on premises. That being said, I found that reproducing vendor benchmarks on any public cloud requires quite a bit of attention to detail. Using AWS boundary containers, such as an AWS VPC and an AWS Placement Group reduces this variability by a significant amount. The network throughput, disk speeds, etc are more variable and this may result in different throughput results for the tests when conducted in a different availability zone, at a different time of day or even within the same run of the test. Using Flash/SSDs results in a slight penalty on latency (~0.1ms longer on average), but allows you to scale with significantly smaller clusters and at a fraction of the cost.īenchmark Testing on AWS - TL DR – the devil is in the detailsĪlthough AWS is convenient and inexpensive to use for testing, cloud platforms like AWS typically, demonstrate greater variability of results.
0 Comments
Leave a Reply. |