Tutorial: Increase the size of an Amazon EBS volume on an EC2 instance
This tutorial shows you how to launch an Amazon EC2 instance and add an Amazon Elastic Block Store (Amazon EBS) volume using the EC2 launch instance wizard. The added volume must be formatted with a file system and mounted to be available for use. Suppose, after using this configuration for six months, your added volume is full. This tutorial shows you how to double the size of the added volume, and extend the file system.
This tutorial uses an Amazon EC2 T3 instance
Consider the following as you complete the steps in this tutorial:
-
Two volumes – After you launch your Amazon EC2 instance you have two volumes—a root volume and an added volume. To differentiate between these volumes, the added volume will be called a data volume in this tutorial.
-
Data volume availability – To make the data volume available, you need to format and mount the data volume.
-
File system – To take advantage of the increased size of the data volume, the file system needs to be extended.
Time to complete the tutorial
1 hour
Costs
By completing this tutorial, you might incur costs for the Amazon resources that you
create. You can use Amazon EC2 under the free tier
Steps to complete the tutorial