Skip to content

How to scale the 'one env per branch' model? #16545

Answered by skinny85
samlaf asked this question in Q&A
Discussion options

You must be logged in to vote

Here's my take on this. Do with it what you will 🙂.

  1. Use trunk-based development. GitFlow is kind of bad. Here's my take on why.
  2. You should have a bunch of shared environments - dev / staging / prod. Add or subtract as needed, but you should have at least one test environment before prod.
  3. Each developer deploys their own copy of the entire microservice into AWS (ideally, into their own account, for maximum isolation) as needed as they work on them. If the microservice has other microservices as dependencies, then the local copy the developer deploys talks to its dependencies in the testing environment, to avoid the problem of having to deploy the entire system each time you need to make e…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by samlaf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants