Adding disk to a linux Virtual machine in AWS EC2 Instance

1
517

Cliick ELASTIC BLOCK STORE->Volumes on EC2 Dashboard

Adding disk to a linux Virtual machine in AWS EC2 Instance

Click « Create Volume ». Select Volume Type, SIze, Availibility Zone and click Create.

Adding disk to a linux Virtual machine in AWS EC2 Instance

In the following picture you can see the volume creating which will take few minute.

Now Attach the volume in Instance. Click Action-> Attach Volume

Select Instance where you want to connect the volume to Instance.

Provide Device name and click Attach.

In the following picture you can see the Volume attaching to the instance.

We have added the instance in testdb3 server. Now we will login to the Instance and mount the device. Get the public IP to login to the Instance.

Now we will mount the device /dev/xvdf  to /opt 

Now we will mount the device /dev/xvdf  to /opt 

1 COMMENT