Uly.me

cloud engineer

  • Home
  • About
  • Archives
Home/Misc/GCP Compute Disks Move

September 21, 2019

GCP Compute Disks Move

Here’s how to move a GCP disk between zones.

  1. Make sure disk is detached from instance.
  2. Use the GCloud Disk Move command.
# Detach disk from instance
gcloud compute instances detach-disk server --disk=server-boot
# Move disk from us-central1-b to us-central1-f
gcloud compute disks move example-disk-1 --zone us-central1-b --destination-zone us-central1-f

# Detach disk from instance gcloud compute instances detach-disk server --disk=server-boot # Move disk from us-central1-b to us-central1-f gcloud compute disks move example-disk-1 --zone us-central1-b --destination-zone us-central1-f

Filed Under: Misc

Content delivered to your email

About Me

I'm Ulysses, a Cloud Engineer at Cardinal Health based in Columbus, Ohio. I’m a certified AWS Solutions Architect. This website is my way of documenting the things I have learned in the Cloud. When off the grid, I enjoy riding my electric skateboard. I have surfed, snowboarded and played the saxophone in the past. I hope you will find this site helpful. It's powered by WordPress and hosted in AWS LightSail.

  • Cloud
  • Linux
  • Git

Copyright © 2012–2021