Start free

Browse › Implement a Secure Serverless REST API

Create a Production Deployment Environment in Amazon API Gateway

Advanced

Part of Implement a Secure Serverless REST API Topic: AWS

Counts towardsAWS Certified Security – Specialty badge

Access

StationX Infrastructure Labs — 3 attempts per lab

🔒 Add StationX Infrastructure Labs — $149 / year · 3 attempts per lab

Already have access? Sign in.

New to this? Try a free practice lab — a scripted hacking challenge in your browser, no account needed.

What you'll do

In this lab, you will take an AWS Lambda function fronted by Amazon API Gateway that is deployed for development and create a version to deploy to production.

  1. Test the development version of your application to ensure it works
  2. Use an AWS CloudFormation template to create a production version of your DynamoDB table, Lambda function, and associated IAM policies and roles
  3. Add a stage variable to API Gateway that represents the correct Lambda function name for a stage
  4. Change your API Gateway Lambda function integration to call the correct Lambda function based on the stage
  5. Create a prod stage for API Gateway, along with an API key and API usage plan
  6. Deploy and call the prod version of your API Gateway function and verify it is returning production data

Note: Once you begin the lab, you will not be able to pause, save, or return to your lab. Please ensure that you have set aside enough time to complete the lab before you start.

Roadmaps that use this lab