# Day 50: Expanding EC2 Instance Storage for Development Needs

Welcome to Day 50. Today is the final day of the 100 Days of Cloud (AWS) section. We will learn how to expand EC2 instance storage for development needs. In this lab, the **xfusion-ec2** instance is already created and running. You just need to increase this instance’s volume size. After extending the volume size of the EC2 instance, you need to expand the size from 8 GiB to 12 GiB using the **growpart** and **xfs\_growfs** commands.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1768196692767/80a46746-b089-421b-949e-8357dfad4519.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1768196722330/e3ce198a-a45f-4524-84cc-795405febcf3.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1768196794900/a8f6bb2f-b55f-42ce-a667-9eef0098efd9.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1768196777668/d34dbfed-9d74-4011-9ff2-d485d858c160.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1768196853919/15a35026-c1d9-4389-b98b-635a0c6da389.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1768197805979/497de21d-67d0-4d7f-8b95-70a4d6196119.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1768196912292/92222b43-b512-4cab-b205-24345060f7b8.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1768196933756/0ab6e0ae-2e7e-418c-a4f9-0f7dc6f11ffa.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1768196950493/f5806424-6f73-4410-af30-53cb47b4d3f3.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1768197882050/8197f2e4-0153-4108-a791-f9426fa9b5e2.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1768198172607/06954cee-5665-422d-829b-241dc8fb9b7c.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1768198272070/ca6238f6-3ad1-4ba5-abe6-a5b352ceb4b8.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1768198292598/3e6799cc-c192-4fc6-904b-21c8cc35096a.png align="center")

```bash
sudo lsblk

sudo df -hT

sudo growpart /dev/xvda 1

sudo xfs_growfs -d /
```

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1768198324745/1a746bef-d921-49c7-ba01-4e3e9b7bb1d8.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1768198339166/901b73d5-70df-49fe-8b69-280fcda45f55.png align="center")

Congratulations you did it. It looks good. This lab was successfully completed without any errors. See you in next articles. If you have any issues please let me know I will be happy to assist you. Stay tuned and learn together. If you find my article useful, please kindly like and share it.
