Adding volume to AWS VM

Posted: April 19, 2017 in Amazon Web Services (AWS), Linux

 

Services-EC2-Instances-Volumes

1.PNG

Create volume

2.png

Chose Volume Type and size

 

3

Then in actions menu choose Attach Volume

 

4.png

Choose instance and click attach

 

5

Now connect to VM and type lsblk to check if drive is initialized on guest OS

6.png

Create file system and mount drive

mkfs –t ext4 /dev/xvdf
mkdir /mounts
mount /dev/xvdf /mounts
Advertisements
Comments

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s