---
title: Increse EBS volume in EC2 instance
tags: AWS, EC2, EBS, size, modify
description: View the slide with "Slide Mode".
---
# Modify size of EBS root volume in EC2 instance
## What we need?
- Login credential of your AWS account :laughing:
- Access to your EC2 instance
## Steps need to perform
- Go to EC2 page
- Click on volumes from menu on EC2 page.
- Select volume.
- Click on Action button and Modify Volume.

- Enter new size in size input box and click modify.
- It will ask for confrimation click on click on confirm.
- :tada: It's Done.
## Next steps on your EC2 instance
- Access your EC2 instance from ssh.
- Type command `lsblk` and check for your root volume mount.
- It's my example where `/` MOUNTPOINT is root volume.
- ROOT PARTATION NAME will like `nvme0n1` Note down that (Not exact it may different for you).
- Fire this command `sudo growpart /dev/<ROOT PARTATION NAME> 1` to assign whole EBS space to your root partation.
- :tada: It's Done.
#### - Restart your instance now
###### Be careful when restart instance it may cause down time to your server :smile:
## Thanks a lot
---
##### Referance link
[AWS Expand volume](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recognize-expanded-volume-linux.html)