Expanding EC2 Instance Storage for Development Needs
How to Increase EC2 Instance Storage for Better Development

Infosec Poet and CAP-certified DevOps/SecOps Engineer, passionate about security, creativity, and continuous learning.
Tasks
Identify Volume: Find the volume attached to the
xfusion-ec2instance.Expand Volume: Increase the volume size from
8 GiBto12 GiB.Reflect Changes: Ensure the root (
/) partition within the instance reflects the expanded size from8 GiBto12 GiB.SSH Access: Use the key pair located at
/root/xfusion-keypair.pemon theaws-clienthost to SSH into the EC2 instance.
Steps
We already have Instances,
xfusion-ec2.
EC2 → Volumes → vol-044ea2f7bad002711 → Modify volume


Modify vol-044ea2f7bad002711 → Modify

Pem files stored at /root/xfusion-keypair.pem.

Verify the Partition Size on the EC2 Instance
sudo growpart /dev/xvda 1
Resize the Filesystem
sudo xfs_growfs /Verify the Resized Filesystem
df -h





