Articles → AWS → Create a new volume and attach it with EC2

Create a new volume and attach it with EC2






Prerequisite





Creating a new volume




Picture showing the Volume menu option in AWS console

Click to Enlarge



Picture showing a screen that displays the list of volumes

Click to Enlarge



Picture showing the create volume screen in AWS console

Click to Enlarge






Attaching the volume with the EC2 instance




Picture showing the Attach Volume menu option for attaching the volume with EC2 instance

Click to Enlarge



Picture showing the popup window to select the EC2 instance

Click to Enlarge




Formatting and mounting the volume




Picture showing the default drive in the EC2 instance

Click to Enlarge



select disk 1 
attributes disk clear readonly 
online disk 
convert mbr 
create partition primary 
format quick fs=ntfs label="vol-0402c5befa60790ea" 
assign letter="D"






diskpart /s diskpart.txt


Picture showing executing the diskpart command for formatting and mounting the disk drive

Click to Enlarge



Picture showing the newly added volume in EC2 instance

Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Friday, October 8, 2021

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250