A developer is planning to use an Amazon API Gateway and AWS Lambda to provide a REST API. The developer will have three distinct environments to manage: development, test, and production.
How should the application be deployed while minimizing the number of resources to manage?
- Create a separate API Gateway and separate Lambda function for each environment in the same Region.
- Assign a Region for each environment and deploy API Gateway and Lambda to each Region.
- Create one API Gateway with multiple stages with one Lambda function with multiple aliases.
- Create one API Gateway and one Lambda function, and use a REST parameter to identify the environment.
Reveal Solution Next Question