How to connect application to MongoDB staging cluster after major upgrade cluster


I am currently in the middle of upgrading major MongoDB Version for my production cluster and base from the [upgrade procedure] ( I’m stuck at number 7, where I need to test our application against the upgraded staging cluster before I can finally upgrade my production cluster.

I wish to know what is the best way to connect the backend realm function to a staging cluster without affecting our production cluster?

The purpose is to test if our backend application is working well after the major upgrade version.

Hi @Najwa_Najihah,

I would deploy a copy of your functions in your staging cluster for validation.

You can keep functions in sync using GitHub deployment for Atlas App Services or the App Services Command Line Interface (realm-cli).

The information on Setting up a CI/CD Pipeline for App Services may be a useful reference.