How to Increase EBS Volume size in AWS [4 Steps]

In this article We are going to cover How to Increase EBS Volume size in AWS.

How to Increase EBS Volume size in AWS

Below are steps to increase EBS volume size in AWS.

Step #1: Create EC2 instance, give name like EBSDemo

create ec2 instance 1 1

Step #2: Login to ec2 instance and run below commands

df –h 
cd /
login to ec2 instance 2

Step #3: Create a file named like yourname.txt and directory named like yourname_Dir

create txt file in ec2 instance 3

Step #4: Go EC2 landing page select volume tab from left hand side

select volumes in ec2 instance 4

Step #5: Create a Snapshot of the 8GB Volume which is attached from ec2 instance

create snapshot of ec2 instance 5

Give name of snapshot “mysnapshot1

give name to ec2 snapshot 6

Snapshot Created successfully

snapshot created successfully 7

Step #6: Go to snapshot option

go to snapshot options 8

Step #7: Select the Snapshot which has been created create a Volume from the snapshot

create volume from snapshot 9

Step #8: Create a Volume from the snapshot

create volume from snapshot 10

Step #9: Increase the of Volume to 25 GB

increase volume size 11

Volume Request Succeeded

volume created successfully 12

Step #10: Stop the ec2 instance

Stop the ec2 instance 13

Step #11: Deatch 8 GB volume

Attach the new 25GB volume 15

Go to Volumes -> Actions -> Detach Volume

Detach 8 GB volume 14

Step #12: Attach the new 25GB volume

Attach the new 25GB volume 15 1

Go to Volumes -> Actions -> Attach Volume

Attach the new 25GB volume 16

Attach volume

Attach volume 17

you will see increased Volume Size

Attach volume 18

Step #13: Power on the ec2

Power on the ec2 19

Step #14: Login again and verify the file system details with #df –h command.

df –h
Login again and verify the file system details 20

Step #15: Verify your files and directory within root file system

cd  
ls –ltr
Login again and verify the file system details 21

Conclusion:

We have covered How to Increase EBS Volume size in AWS.

Related Articles:

How to Create IAM User in AWS Step by Step

How to Attach IAM Role to EC2 Instance using CLI

How to Create Ubuntu Instance in AWS [7 Steps]

How to Create Linux EC2 Instance in AWS

AWS Create EC2 Instance from Snapshot

How to connect to AWS EC2 Instance using MobaXTerm

How to Enable Password Authentication for AWS EC2

How to Connect EC2 Instance using Putty

How to Transfer files to AWS Instance using WinSCP [2 Steps]

How to Install AWS CLI on Amazon Linux

How to Mount EFS on EC2

Lambda Function to Start and Stop RDS Instance

Start and Stop EC2 Instance using Python Boto 3

How to Create AWS DocumentDB and Connect [3 steps]

How to Install MySQL 5.7 on Amazon Linux 2

How to Create Postgres Database in AWS and connect

Monitoring EC2 Instances using CloudWatch

How to Create CloudFront Distribution in AWS

How to Migrate EC2 Instance to another Region

Reference:

AWS expand ebs volume size official page

About DevOps Hint

DevOps Hint Founded in 2020 Community Site where you can find about How to Guides, Articles and Troubleshooting Tips for DevOps, SRE, Sysadmins and Developers.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Share via
Copy link