Tuesday, 21 July 2020

How to extend the EBS volume size of EC2 instance.

This post will answer the below question:

1.How to extended the EBS volume size of EC2 instance.

Thumb rule:
  • Whatever the availability zone the EC2 instance is running, in the same region the EBS volumes are available. the reason behind this rule is hard disk also should be near to mother board.
  •  if in case the EC2 instance and EBS volume are in 2 different availability zones then manually need to make that available in single availability zone.
Advantage with EBS:
  • can increase the EBS volume size and type on fly. No need to stop or shutdown the system.
Practical steps:

1. login aws console.
2.Navigate to services -->compute -->EC2-->Running EC2 instance -->select the correct EC2 instance.  where the modification of EC2 instance is required.
3. Under Elastic Block Store  --> click on volumes.
     Here in the availability zone column, each EBS disk can be found here.
              in the Volume Type column -->EBS type info is available.

   To extended the size of one particular EBS drive -->select the correct EBS drive -->Actions dropdown --> Modify volume.


4. Here in the below highlighted field the default size of EBS drive is 500GiB and can change the size here. just by enter the required size here in the highlighted field.

5.with in short time the additional storage will add in to the EC2 instance. & To adopt this additional storage few steps need to perform at OS level. This detail steps will be available in the below highlighted links(window or Linux) and finally click on YES to conform adding additional storage.


6.Then the below conform & succeeded screen will appears as shown below.                                           


7. if you click on refresh button as shown below the additional storage will update (services -->compute-->EC2 --> Running instance -->select the correct EC2 instance )

Now in the 3rd EBS disk size increase to 1000GB,can observe in the screenshot below


No comments:

Post a Comment