AWS EC2 Measurement
Period: 03/2022
Project Name: AWS EC2 Measurement
Cloud Computing AWS EC2 SysBench iPerf Ping
What's the Project For?
- Assignment for the course 'Cloud Computing and Big Data Systems' for the degrees in HKUST.
- Measure the CPU, memory, and network performances of different AWS EC2 instances.

Project Description
Through the use of SysBench, which is an open-source benchmark utility that evaluates the parameter feature tests for CPU, memory, I/O, and database performance, the CPU and memory performance of different AWS EC2 instances for example t3.medium, m5.large, c5d.large, were tested.
On the other hand, by using iPerf and Ping, the TCP bandwidth and round-trip time (RTT) for measuring network performance between 2 instances were also tested to observe the difference in network performance between instances deployed in the same region, and between instances deployoed in different regions.
Most Challenging Part of the Project?
The most challenging part is to learn using Linux command line for establishing connections with and between different instances since I was not familiar with Linux.
Besides, I had also struggled a lot to learn how to use SysBench for doing measurement, and understanding the output of the code. For example, to measure the CPU performance of the instance, SysBench is trying to calculate prime numbers up to 10000 within 10 seconds, and I have to figure out which figure to look at in order to compare the CPU performances of different instances (i.e., the CPU speed - representing how many times it calculated prime number up to 10000 within 10 seconds). Since I haven't learnt anything about CPU, memory, and networking at that time, I had struggled to understand what SysBench was doing. However, after some struggles, I was able to complete the tasks, and it was fulfilling.