hands-on lab

Managing Instance Volumes Using EBS

Difficulty: Beginner
Duration: Up to 1 hour
Students: 15,791
Rating: 4.7/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 Elastic Block Store (EBS) provides persistent block-level storage volumes for Amazon Elastic Compute Cloud (EC2) instances in the AWS Cloud. Each Amazon EBS volume is automatically replicated within its Availability Zone to protect you from component failure. This provides high availability and durability. Amazon EBS volumes offer the consistent, low-latency performance needed to run your workloads.

Learning how to manage the storage space of your EC2 instances using Amazon EBS will benefit anyone expecting to work with data-centric workloads in the public AWS cloud. 

In this hands-on lab, you will learn how to launch an EC2 instance with an additional EBS volume. You will learn how to attach and detach an EBS to/from a specific EC2 instance and take a snapshot of an EBS volume. You will also learn how to mount and format an EBS volume in Linux.

Learning objectives

On completion of this beginner-level lab, you will be able to:

  • Launch an Amazon EC2 instance with an additional EBS volume
  • Create, attach, detach, and snapshot Amazon EBS volumes
  • Mount an EBS volume and create a filesystem in Linux

Intended audience

  • Anyone expecting to use Amazon EBS volumes in Amazon EC2
  • DevOps Engineers
  • Cloud Engineers

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • Amazon EC2
  • Amazon EBS
  • Linux filesystems

The following courses can be used to fulfill the prerequisites:

Updates

February 5th, 2024 - Updated instructions and screenshots to reflect the latest user interface changes

December 22nd, 2022 - Updated the instructions and screenshots to reflect the latest UI, and updated lab to use EC2 instance connect

August 19th, 2019 - Updated the instructions of some of the lab steps to improve clarity

January 28th, 2019 - Updated the instructions and screenshots to improve clarity and to match the latest AWS experience

December 5th, 2018 - Added a validation lab step to check the work you perform in the lab

Covered topics

Lab steps

Logging In to the Amazon Web Services Console
Launching an Amazon EC2 Instance with an Additional EBS Volume
Creating a New Elastic Block Store Volume
Attaching and Detaching an EBS Volume
Connecting to an EC2 Instance Using Amazon EC2 Instance Connect
Creating a Filesystem on an EBS Volume
Creating an EBS Snapshot