Hi Team ,
We would like to transfer our production instance to Azure. from Aws. I would really appreciate help on the steps that i can take to achieve this.
Hi Team ,
We would like to transfer our production instance to Azure. from Aws. I would really appreciate help on the steps that i can take to achieve this.
Hi Edwin,
Please provide more details on what your AWS setup looks like. As a general guide, container based deployments can be easily redployed to any cloud provider once data has been transferred.
Hi Thankyou @elijah
It is an linux OS EC2 instance. Having with different containers which include,
data stored in couchdb . home directory
Hi @Edwin !
@elijah is correct - the process should be pretty straight forward. You’re running on CHT 4.x in EC2 which means you’re running in Docker Compose. You’ll effectively be doing a backup and a restore, but instead of restoring to EC2, you’ll restore to Azure. The nice part about this is you can test the restore part multiple times before cutting over to the new instance.
Here’s the steps I suggest following, assuming you’re running a similar Azure VM as your EC2 VM (and not migrating to an Azure Kubernetes offering):
.env
file. If you do not restore this file, specifically the COUCHDB_SECRET
- all users will have to re-login and re-sync all data.Note that in step 3 you stopped all services on EC2 - so no users can connect. You may opt to follow steps 2-6 repeatedly, possibly even re-deploying the VM in step 1 if you get something wrong. This is fine! You have the luxury of not affecting production data. Just be sure that clients do not connect to the EC2 VM and write data to it unless you plan on re-running the backup → restore process.
Best of luck!
Thankyou for your help. I started a VM in Azure , Run the containers and directed the data to the new VM. All is working well
Edwin,
Wonderful! Glad that all worked out - thanks for the update.
Any surprises or helpful tips you wished you knew before you got started? It’s always nice to share right after the upgrade so your memory is fresh. Thanks!
cheers,
-adj