You can increase the size of the root EBS volume, but how to make CentOS reflect that change?

SSH into the CentOS instance and run the following:

$ sudo yum install cloud-utils-growpart
$ sudo growpart /dev/nvme0n1 1
$ sudo reboot

After the reboot, the root partition would have been resized. Tada!

I work as a freelancer, so if you don’t want to do that kind of things yourself or don’t have the time, just drop me a line to hire me.