Expanding EBS Volumes on Linux Instances

Lab Steps

lock
Logging in to the Amazon Web Services Console
lock
Clone the EBS volume
lock
Create a New EBS Volume
lock
Check The Extended Linux File System

The hands-on lab is part of these learning paths

Ready for the real environment experience?

DifficultyBeginner
Time Limit45m
Students753
Ratings
4.3/5
starstarstarstarstar-half

Description

Amazon EBS, aka Elastic Block Store, is a storage service designed for use with Amazon EC2 instances for both general-purpose and intensive workloads at scale. EBS is very cost-effective and provides a highly available service offering for business-critical applications.

This lab introduces the EBS volumes and how you can increase the storage space of an existing EBS volume without losing the data on the volume. To do this, migrate your data to a larger volume, and then extend the file system on the volume to recognize the newly available space. After you verify that your new volume is working properly, you can delete the old volume.

Learning Objectives:

By the end of this Lab, you should be able to:

  • Create an EBS Snapshot
  • Create an EBS Volume From a Snapshot
  • Attach an EBS Volume as a root device

Prerequisites:

This is a beginner level lab, however, in order to follow the next steps you should be able to:

  • Launch EC2 instances
  • Connect to EC2 instances running Linux

We recommend these labs as prerequisites:

Updates 

April 21st, 2021 - Refreshed the Content and Lab Steps to reflect changes in the AWS interface and the instructions

January 10th, 2019 - Added a validation lab step to check the work you perform in the lab

 

About the Author
Students21357
Labs7
Courses3

Eric Magalhães has a strong background as a Systems Engineer for both Windows and Linux systems and, currently, work as a DevOps Consultant for Embratel. Lazy by nature, he is passionate about automation and anything that can make his job painless, thus his interest in topics like coding, configuration management, containers, CI/CD and cloud computing went from a hobby to an obsession. Currently, he holds multiple AWS certifications and, as a DevOps Consultant, helps clients to understand and implement the DevOps culture in their environments, besides that, he play a key role in the company developing pieces of automation using tools such as Ansible, Chef, Packer, Jenkins and Docker.