Increase EC2 Storage for Development

Expanding EC2 Instance Storage for Development Needs
How to Increase EC2 Instance Storage for Better Development
Tasks
- Identify Volume: Find the volume attached to the - xfusion-ec2instance.
- Expand Volume: Increase the volume size from - 8 GiBto- 12 GiB.
- Reflect Changes: Ensure the root ( - /) partition within the instance reflects the expanded size from- 8 GiBto- 12 GiB.
- SSH Access: Use the key pair located at - /root/xfusion-keypair.pemon the- aws-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