Guided Lab: Vertically scaling an Amazon EC2 instance

Description

Scaling an Amazon EC2 instance vertically means modifying its size to meet a particular workload demand. By changing the EC2 instance type, which determines the amount of CPU, memory, network bandwidth, and available storage, users can ensure that their instance has enough resources to handle the workload.

Unlike in traditional data centers, where vertical scaling meant procuring and waiting for hardware components (which could take months), Cloud enables vertical scaling within minutes. You’ll also avoid the logistic problems of having surplus hardware that remains unused. With Amazon EC2, you can test various instance sizes, ensuring you neither overprovision nor underprovision. It’s all about finding that sweet spot tailored to what you need.

Prerequisites

To ensure successful completion of this lab, you must have prior experience in creating EC2 instances and be familiar with their essential components. If you feel that your knowledge in this area is insufficient, we highly recommend taking the following labs to gain the necessary understanding:

  • Creating an Amazon EC2 instance (Linux)
  •  Setting up a web server on an EC2 instance.

Objectives

In this lab, you will:

  • Learn what it means to scale an EC2 instance vertically
  • Learn how to change the type of an EC2 instance to scale vertically