hands-on lab

Managing Instance Volumes Using EBS

Up to 1h
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.


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


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:


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

About the author


Antonio is an IT Manager and a software and infrastructure Engineer with 15 years of experience in designing, implementing and deploying complex webapps.

He has a deep knowledge of the IEEE Software and Systems Engineering Standards and of several programming languages (Python, PHP, Java, Scala, JS).

Antonio has also been using and designing cloud infrastructures for five years, using both public and private cloud services (Amazon Web Services, Google Cloud Platform, Azure, Openstack and Vmware vSphere).

During his past working experiences, he designed and managed large web clusters, also developing a service orchestrator for providing automatic scaling, self-healing and a Disaster Recovery Strategy.

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