Friday 2 October 2020

Attach new EBS volume to EC2 instance

This post will help you to attach a newly crated EBS to volume to particular EC2 instance.

Note: EBS volumes can attach to EC2 only, if both EC2 and newly created EBS volumes are in same Availability  Zone(AZ).


Here are the practical steps:

From the EC2 console page --> Navigate to Elastic Block Storage --> volumes.

select the newly created EBS volume --> Right click on it --> choose with Attach volume option(as shown below).


Provide instance id (which will obtain in EC2 launch page, instance id id EC2 instance specific).
Device : /dev/sdf or /dev/sdp, based on previously available volume.                                            
Click on Attach.                                                                                                                               



                                Thats all the volume is attached to EC2 instance now.                           




No comments:

Post a Comment