This is a super short one. I run into this often enough and continually have to look it up, so I’m going to put this reference here for future me to find again. When trying to increase EBS Volume size in AWS specifically WITHOUT restarting the instance, you need to:
- In the web console, Increase block size in EC2->EBS->Volumes, Volume->Actions->Modify Volume size.
- lsblk to get volume name
- growpart /dev/xvda1
- This is part of cloud-guest-utils
- resize2fs /dev/xvda1