Extending the Partition for a Boot Volume
When you create a new virtual machine (VM) instance or bare metal instance based on a platform image or custom image, you have the option of specifying a custom boot volume size. You can also expand the size of the boot volume for an existing instance; see Resizing a Volume for more information. In order to take advantage of the larger size, you need to extend the partition for the boot volume. For block volumes, see Extending the Partition for a Block Volume.
After a boot volume has been resized, the first backup on the resized boot volume will be a full backup. See Boot Volume Backup Types for more information about full versus incremental boot volume backups.
Required IAM Policy
Extending a partition on an instance does not require a specific IAM policy. However, you may need permission to run the necessary commands on the instance's guest OS. Contact your system administrator for more information.
Extending the Root Partition on a Linux-Based Image
Extending the System Partition on a Windows-Based Image
On Windows-based images, you can extend a partition using the Windows interface or from the command line using the DISKPART utility.
Windows Server 2012 and Later Versions
The steps for extending a system partition on instances running Windows Server 2012, Windows Server 2016, Windows Server 2019, or Windows Server 2022 are the same, and are described in the following procedures.
Open the Disk Management system utility on the instance.
Right-click the boot volume and select Extend Volume.
Follow the instructions in the Extend Volume Wizard:
Select the disk that you want to extend, enter the size, and then click Next.
Confirm that the disk and size settings are correct, and then click Finish.
Verify that the boot volume's system disk has been extended in Disk Management.
Open a command prompt as administrator on the instance.
Run the following command to start the DISKPART utility:
DISKPARTprompt, run the following command to display the instance's volumes:
Run the following command to select the boot volume:
select volume <volume_number>
<volume_number> is the number associated with the boot volume that you want to extend the partition for.
Run the following command to extend the partition:
<increased_size_in_MB> is the size in MB that you want to extend the partition to.Caution
When using the DISKPART utility, do not overextend the partition beyond the current available space. Overextending the partition could result in data loss.
To confirm that the partition was extended, run the following command and verify that the boot volume's partition has been extended: