In order to increase size of an instance please follow the steps:
and search the related volume to this id in the Volume section
Right click on the volume and “Create a snapshot” just to have a backup in place.
After that right click on the volume and “Modify Volume”
Now the volume should be resized, but we need to increase also the partition as well, let’s list block devices attached to our box:
install "cloud-guest-utils" if it is not installed already
apt install cloud-guest-utils
In order to resize the partition please run the following command:
growpart /dev/xvda 1
After that retype lsblk and you will the the partition and the volume are the same size
But if we run “df -h” command than we will see the space is still the same, not changed.
Need to run the following command to increase the size to the new one
resize2fs /dev/xvda1