Google Cloud Platform is a suite of public cloud computing services offered by Google. The platform includes a range of hosted services for compute, storage and application development that run on Google hardware. Google Compute Engine is one of the services that provide to create scalable, high performance and secure virtual machines running on Google hardware.
This post will guide you to update the machine type of existing running instance. For this, you have to install Google Cloud SDK.

Steps

1) Delete the instance that you want to upgrade by keeping its boot disk.

gcloud compute instances delete <instance-name> --keep-disks boot

2) Now create image from this boot disk

gcloud compute images create <any-image-name> --source-disk <instance-name>

3) Now Check Images list

gcloud compute images list

4) Now create a new instance from developer console or using gcloud compute and select your image as the boot disk.

5) Done.

Note

You can verify this by creating a file on the instance before deleting it. And after creating a new instance from this you can verify the created file.

For more on google compute engine checkout next post.


Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Google Compute Engine

Delete project from Google Developer Console

Delete Compute Engine Instances Login with gmail id where instances are located. https://console.cloud.google.com/project?authuser=1 Select Project Search for compute engine Select Instance name and click stop and then delete. Deleting DB instances Search for SQL Select Read more…

Google Compute Engine

Access Google Instances SSH, WinSCP and RDP

Use One of the following methods :- SSH from Developer Console Using WinSCP RDP Windows Server SSH from Developer Console 1) Open https://console.developers.google.com 2) Gmail Account Login 3)  Select Compute Engine Project 4) Click On Read more…

Google Compute Engine

Google Compute Engine : Move VM Instance from One Project to Other

In the previous post we have learned how you can change your machine type of running VM instance on Google Compute Engine. This post will guide you how you can move your running instance from Read more…