When we deploy a new “machine” on AWS, we tend to assign it minimal resources to minimize costs. Sometimes, our zeal for cost savings may lead us to create disks that become outgrown in a few months.
When this happens on Windows 2008 or Windows 2012 systems, we can resize the disk following the steps described below:
*Note: You can click on the images to see them in full size.
Steps to follow
1. Have the instance identifier clear.
2. Have the resizing volume identifier clear.
3. Stop the instance
4. Create a snapshot of the volume to resize.
5. Create a new volume from the snapshot.
Attention! The availability zone must be the same one as the original volume.
6. Unpair the original volume from the instance.
7. Pair the new volume to the instance.
Attention! The device must be /dev/sda1
8. Run the instance and resize the disk from the Windows disk manager.
9. Finally, delete the created instance and the original volume.