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




Picture showing a screen that displays the list of volumes




Picture showing the create volume screen in AWS console







Attaching The Volume With The EC2 Instance




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




Picture showing the popup window to select the EC2 instance





Formatting And Mounting The Volume




Picture showing the default drive in the EC2 instance




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




Picture showing the newly added volume in EC2 instance



This Disk Is Already Online




Picture showing the open the hard disk partition utility in start menu




Picture showing setting the drive as offline



Posted By  -  Karan Gupta
 
Posted On  -  Friday, October 8, 2021
 
Updated On  -  Thursday, February 29, 2024

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250