How do I organize LOCAL-DEV, TEST, and PRODUCTION environments?

Ok I want at least 3 versions of the database: LOCAL-DEV, TEST, and PRODUCTION, corresponding to 3 environments. Pretty standard.

My data is pretty simple, each environment has the same half-dozen tables, would each fit in 1 DB.

How do I set this up? Is this three different Clusters? Projects? Databases? Collections? What?

(I’ve been here so many times… I’m starting a new platform or service. One of the first thing you do is setup your dev, text, and prod environments. But I’m not familiar enough with the completely new nomenclature to know what corresponds to what… and intro documentation never covers this stuff.)

Hi Tim,

There’s no one way to do this but our generally recommendation is to use different Atlas Projects within your Organization for these different environments. In each project you’d then have a different cluster (you might use a much smaller cluster for dev, and maybe you frequently pause your test cluster, etc).

Projects offer security/authorization level isolation (e.g. which team members have access) as well as isolation of configurations like Alerts which make them ideal for separating Prod from non-prod environments. A common pattern is to restore a backup from prod to a non-prod environment for test purposes. may be of use.

Taking a step back, I love the question because it’s good for thought for us to figure out how to make it easier for users to set up best practices.


1 Like