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


This Disk Is Already Online




Picture showing the open the hard disk partition utility in start menu
Click to Enlarge



Picture showing setting the drive as offline
Click to Enlarge


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