Question

How do I migrate a project from GCP Kubernetes to DigitalOcean Kubernetes ?

I already have published an project (Angular 8 + Nodejs + MongoDB) in GCP using Kubernetes and I’m looking for a tutorial to migrate to DigitalOcean.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I’m not aware of a good blog post, but I have gone through the process and I can provide a bit of guidance.

For me, the high-level overview of the process was as follows:

  1. I needed a container registry as I had been hosting my registry in GCP. I signed up for the DO Beta Container Registry as my solution.

  2. I uploaded my containers to the DO Container Registry

  3. I provisioned a Kubernetes cluster on DO

  4. I built all of the required containers and components in the new Kubernetes cluster by altering my scripts to point at DO Container Registry and the DO Kubernetes cluster.

  5. I disabled all outgoing email servers on my new cluster while I tested.

  6. I loaded a backup of my data into my DO environment

  7. I tested the environment using hosts records locally to point at the new site

  8. I put my production site into maintenance mode and generated a final data dump.

  9. Loaded the data dump into DO and re-tested the system.

  10. I re-enabled outbound emails on the new cluster.

  11. I adjusted my DNS record to point at the DO Kubernetes cluster.

  12. I waited 48 hours to ensure things were smooth and then I deleted the GCP cluster and resources.