hands-on lab

Expanding EBS Volumes on Linux Instances

Beginner
Up to 45m
1,193
4.4/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

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 

October 30th, 2023 - Updated the instructions and screenshots to reflect the latest UI

September 6th, 2023 - Updated screenshots to reflect the latest UI

April 29th, 2022 - Updated the instructions and screenshots to reflect the latest UI, and resolved lab set up issue

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

Students
30,412
Labs
7

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.

Covered topics

Lab steps

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