AWS environment concepts
Notes outlining concepts for scoping and referring to environments in cloud applications. To accurately answer, "What is an environment?".
The application environment classification. This defines what external environments/services the app should be configured against, and therefore the people and resources who should have access.
prod should be sufficient for most setups. For variant deployed environments, you should create deployment stages with feature flags.
It is ALWAYS worth being explicit about the environment type when naming a resource, even if these are split across dedicated accounts.
A deployment stage is the label for a deployed resource. This includes the environment type and a purpose - this may align to concepts like a source branch or an intended set of users. Colloquially, this is the "environment name".
Used with Serverless Framework's
--stage option, all created resources will be labelled with the deployment stage following the service name. For example: