How can I expand an existing EBS volume on my Amazon EC2 Windows instance?

Last updated: 2020-12-14

I'm running out of disk space on my Amazon Elastic Compute Cloud (Amazon EC2) Windows instance. How can I expand my existing Amazon Elastic Block Store (Amazon EBS) volumes?

Resolution

You can use Elastic Volumes to modify the size, performance, and volume type of your existing Amazon EBS volumes. Before you modify an EBS volume, it's a best practice to create an Amazon EBS snapshot of the volume.

When you're ready, modify the EBS volume using either the Amazon EC2 console, or the AWS Command Line Interface (AWS CLI).

Note: If you receive errors when running AWS CLI commands, make sure that you’re using the most recent version of the AWS CLI.

If you modify the size of an EBS volume, be sure to extend the Windows file system after resizing the volume.