Environments
We operate a few of different environments for development, staging and production.
Environments are initially built with CDK (for the underlying AWS setup) and then services are deployed from the monorepo via serverless.
Each environment is in its own AWS account.
| Environment | SLS stage | Usage | URL |
|---|---|---|---|
| Development | dev | Used for ongoing development of branches prior to merge. Test risky changes, deploy branches, can be destroyed and recreated easily. Its ok to deploy things by hand here. | https://goodfit-dev.netlify.app/ |
| Development 2 | dev2 | Secondary development environment. | https://goodfit-dev2.netlify.app/ |
| Staging | stag | Where we QA things finally after merge to main but before deploy to production. Automatically deployed from main, no manual changes via the AWS console or API, all through pipelines. | https://goodfit-stag.netlify.app/ |
| Production | prod | Serves production traffic. No manual changes, deploys or changes "by hand". | https://app.goodfit.io/ |
Note that on dev and staging, you can login with shared account: test@goodfit.io GoodFit12345$!. You will need your own account on prod, please ask for that if you need it.
For details on creating a new environment, see Adding an environment.