The first step to choosing the correct EC2 size is to monitor and analyze current usage to gain insight into the performance of your virtual machines and their usage patterns. To collect enough data, observe usage over a period of at least 2 weeks (ideally 1 month) to understand workload and peak periods. The most common metrics used to determine virtual machine performance are vCPU, memory, network, and disk usage.
Cloudwatch to open the CloudWatch console.

ec2-rightsizing-lab instance ID). The metric moves to the Graphed metrics tab, where you can see and adjust its Statistic (Average, Maximum, …), Period, and Y axis — and the graph appears above.
If your account already has other resources, the Graphed metrics tab may show extra rows left over from earlier work — that’s normal, just look for the row whose Details column matches your instance ID, and remove the others with the X icon on the right if you want a cleaner view. You can also change the time range shown in the graph using the time picker in the top-right corner (1h, 3h, … or Custom for a specific date range) — useful once you’ve collected a few days or weeks of data.
The basic EC2 metrics shown above (CPUUtilization, NetworkIn/Out, disk I/O) are collected automatically and included in the AWS Free Tier at no additional cost. You only start paying for CloudWatch when you publish custom metrics (like memory usage from the CloudWatch agent) beyond the free tier of 10 custom metrics, which is more than enough for this lab.