s
You'll first increase size of the root volume, and then, from within the EC2,
you'll extend the volume by opening a dialog by running diskmgmt.msc
in a
Windows terminal.
- From the Amazon EC2 console, choose Instances from the navigation pane.
- Select the instance that you want to expand. From the Description tab, choose the volume listed for Block devices. Then, choose the EBS ID.
- Select the volume. For Actions, choose Modify Volume.
- In the Size field, enter the Size. If you choose an io1 volume, enter the number of IOPS.
- Choose Modify, and then choose Yes. Refresh the console page. In the Description tab, the State shows the progress of optimization until the modification is complete.
- Connect to your EC2 Windows instance using Remote Desktop Protocol (RDP).
- Open a command prompt, and then run the
diskmgmt.msc
command. For Action, choose Refresh. - Open the context (right-click) menu for the Volume, and then choose Extend Volume.
- Choose Next, Next, Finish.
- Still within the Windows EC2, via RDP...
- Click Start.
- Click Settings.
- Click System.
- Click Storage, and you should see the updated storage size.