Expanding EBS Volumes on Linux Instances
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