Increase C drive size of windows server on AWS

This post describes how to Increase C drive of Windows server on AWS
 
 
Step 1: Note current C drive space on windows server (in this e.g. it is 30 GB)
 
 
 
 
 
Step 2: Login to AWS console. Click on root device of instance for which C drive needs to be increased and note down EBS ID of volume
 
 
 
Step 3: Search volume by volume id noted in previous step and  take snapshot of volume by right clicking on the volume
 
 
 
Step 4: Enter name and description of snapshot
 
Step 5: search snapshot and Create new volume by right clicking snapshot
 
 
Step 6: Select type of volume
Select size (mention the new size that you want). I have increased by 10 GB hence new size is 40 GB
Select availability zone. Availability zone should be same zone in which instance is available.
NOTE: You cannot attach volume created in another availability zone then from instance
 
 
 
 
Step 7: Note EBS ID of new volume created
 
 

 
Step 8: After shutting down the instnace.
Right click the volume and detach the old root volume from instance where it is attached (Old volume 30 GB)



Now instance will not have the volume


 
Step 9:   Attach new volume which we have created from snapshot (This volume is with increased size)
 
 
Enter instance ID of the instance where volume need to be attached add device name
NOTE: Root volume should be named as /dev/sda1
 
 

Step 10:  Verify new volume is attached to the instance
 
 
 
 
 
 Step 11: Increase C drive size by extending the volume from inside windows server.
 
 
 
 
 
 
 
 
 
 


 

 
 
 
 
 
 
 
 


Comments

Post a Comment