How to resize the root partition of CentOS running on an EC2 instance?
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!