concept different environment in category aws

appears as: different environments, different environment
AWS Lambda in Action: Event-driven serverless applications

This is an excerpt from Manning's book AWS Lambda in Action: Event-driven serverless applications.

With the Amazon API Gateway, you build an API that can have different stages. A stage defines the path (between the domain and the resources) through which a deployed API is accessible and can be used to specify different environments, such as production, test, and development, or different versions of an API, such as v0, v1, and so on.

Because the AWS free tier and pricing allows you to run your development with almost no costs, the opportunity to develop on exactly the same platform and underlying infrastructure (such as servers and network connectivity) that you’ll use in production is a great advantage. That’s not easy to do using traditional architectures, where it’s common to have older or even different products in dev and test than are in production. For example, you may have a slightly older server model or a network load balancer from another vendor. Even if the hardware is the same, it’s quite complex to have all firmware and software in sync across different environments that may be managed by different teams. This is why technologies such as Docker are helpful—because they allow you to move whole containers (including all user-space dependencies) across different environments.

13.4. Using aliases to manage different environments

When you have multiple versions of a function, those versions can correspond to different environments. For example, the most recent version is probably the one you’re currently working on in the development environment. Before going into production, a function can go through different stages of testing, such as an integration test or a user-acceptance test.

Figure 13.2. An example of how to use Lambda function versions and aliases. Each alias corresponds to a different environment (production, UI test, integration test) that’s using a specific version of an AWS Lambda function.