Tutorial: Increase the size of an Amazon EBS volume on an EC2 instance - Amazon Elastic Compute Cloud
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 which is a low cost general purpose instance type based on the Nitro System.

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 provided your Amazon Web Services account is less than 12 months old and you configure your resources according to the free tier requirements. After you complete the tutorial, you can delete any resources you do not need. For the steps to delete unneeded resources, see Step 5: Clean up unneeded resources