Tech Blog

Cloud Computing, IT Administration, Technology

How to move machine images in Google Cloud Platform from one project to another?

By Sachin.kumar1 min read
← Back to blog

In GCP (Google Cloud Platform), there are various kinds of resources like images, snapshots, vm instances, etc. Sometimes there is a need to move the private images of one project to another project, to create a similar machine. So here are the steps which you can follow to move it from one project to another :

Step:1 

Log in into your GCP console

Step:2

Create an image in Compute Engine’s Images section

Step:3

Make sure you have access to the Target Project where you need to move the image.

Step:4

Go to the Target Project, activate Cloud Shell

Step:5

Use the below command to move the image

gcloud compute –project=[target-project-id] images create [target-image-name-in-target-project] –source-image=[source-image-name] –source-image-project=[source-project-id]

Step:6

After the image is moved to the target project, it will be visible in images section of compute engine. Using that you can create vm instance in the project.

Follow the above steps to move the image to diff projects, and create similar machine in different project. This can help you to avoid making mistake while doing the same setup of machine in different projects.

Keep reading

You may be interested in

Browse all articles →
Next Big Thing in Cloud Security
March 11, 20226 min read

Next Big Thing in Cloud Security

Cloud security refers to the method of securing cloud computing environments, applications, and data.

By Sachin.kumarRead More →
How does cross-account migration of encrypted snapshots happen?
December 30, 20212 min read

How does cross-account migration of encrypted snapshots happen?

Encrypted snapshots are used to keep the sensitive data secure and away from hackers.

By Sachin.kumarRead More →
Creating a Simple Automation Script Using PowerShell and Windows Task Scheduler
August 20, 20212 min read

Creating a Simple Automation Script Using PowerShell and Windows Task Scheduler

Powershell is used as a scripting tool. Major benefit of using PowerShell is its ability to remotely connect to another system. %

By Sachin.kumarRead More →