Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Amazon Web Services

EC2 Instance Right Sizing

Amazon Web Services and Amazon via AWS Skill Builder

Overview

In this lab, you identify EC2 instances that are incorrectly sized for the compute capacity by observing Amazon CloudWatch custom metrics. You then resolve this by changing the instance type and configuring CloudWatch alarms to proactively monitor such recurrences in the future, and run workloads efficiently with minimal costs.


Objectives:

By the end of this lab, you should be able to do the following:Install and configure CloudWatch agent on Amazon EC2 instances.

  • Troubleshoot Amazon EC2 instances using CloudWatch metrics.
  • Right-size Amazon EC2 instances based on CloudWatch metrics.
  • Configure CloudWatch alarms.


Prerequisites:

A familiarity with the AWS Console and Amazon EC2


Audience:

DevOps Engineer

Cloud Operations Engineer


Outline:

Task 1: Install and configure the CloudWatch Agent on Web-Application-Instances resource group

Task 2: Stress test the web server and analyze CPU metrics

Task 3: Resize and stress test the web server again to analyze CPU metrics

Task 4: Create CPU utilization alarms

Task 5: Load test the DB server and analyze memory metrics

Task 6: Optimize the DB-Server instance and analyze the memory metrics

Task 7: Create Memory utilization alarms

Reviews

Start your review of EC2 Instance Right Sizing

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.