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.
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:
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.
I uploaded my containers to the DO Container Registry
I provisioned a Kubernetes cluster on DO
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.
I disabled all outgoing email servers on my new cluster while I tested.
I loaded a backup of my data into my DO environment
I tested the environment using hosts records locally to point at the new site
I put my production site into maintenance mode and generated a final data dump.
Loaded the data dump into DO and re-tested the system.
I re-enabled outbound emails on the new cluster.
I adjusted my DNS record to point at the DO Kubernetes cluster.
I waited 48 hours to ensure things were smooth and then I deleted the GCP cluster and resources.