Problem scenario
You need a larger hard disk on a Google Cloud Platform server. What should you do?
Solution
- In the GCP web console go to "VM instances"
- Click on the VM's name (e.g., instance-1) that is hyperlinked.
- Find "Boot disk and local disks". There should be a list with a "Name" column.
- Click on the hyperlinked name (e.g., instance-1).
- Click the "Edit" button near the top right section of the screen. Make changes to the size as you desire.
- Click the "Save" button in the lower left hand corner.
- Reboot the server at the OS level (e.g., with
sudo reboot
) or with the GCP web console.