How To Add Additional Volume To An EC2 Instance

How To Add Additional Volume To An EC2 Instance

How to add additional volume to an EC2 instance

Hello Everyone

Welcome to CloudAffaire and this is Debjeet

In the last blog post, we have discussed how to modify a launch template.

https://cloudaffaire.com/how-to-modify-a-launch-template/

In this blog post, we are going to discuss how to add additional volume to an EC2 instance.

Prerequisites for this demo:

  • One active AWS account.
  • One active EC2 instance.

How to add additional volume to an EC2 instance:

Step 1: Login to AWS console and navigate to EC2 instance

How to add additional volume to an EC2 instance

Note: We need the instance id and availability zone information of the instance if we want to attach a volume to it.

Step 2: Click ‘Volumes’ under ELASTIC BLOCK STORE. Click ‘Create Volume’

How to add additional volume to an EC2 instance

Note: Existing volume displayed is the root volume of our existing instance which was created during instance creation.

Step 3: Provide the size of the new volume and availability zone according to an instance availability zone. Scroll down and click ‘Create Volume’

How to add additional volume to an EC2 instance

Note: We can add volume from an existing snapshot and also encrypt it.

One success message will be displayed. Click ‘Close’.

How to add additional volume to an EC2 instance

Our new volume has been created with 1 GB of storage space.

How to add additional volume to an EC2 instance

Step 4: Select the new volume and click ‘Actions’. Click ‘Attach Volume’

How to add additional volume to an EC2 instance

Step 5: Select instance id obtained in step 1 and click ‘Attach’

How to add additional volume to an EC2 instance

Note: We are not going to change the device name in this blog post. You can rename your device according to your instance host OS.

Our new volume has been attached to the instance and we can view the same under Instance description.

How to add additional volume to an EC2 instance

Hope you have enjoyed this blog post. In the next blog, we are going to create a snapshot of this newly built volume.

 

Leave a Reply

Close Menu