Home
AWS Labs
Build API Gateway with different stages using stage variables
Build API Gateway with different stages using stage variables

Difficulty Level
Intermediate
Prerequisites
none
Lab Duration
75 Min
About Lab
Overview:
This lab walks you through the steps to create an API Gateway with two different stages and integrate it into two different lambda functions.
What Will You Learn?
Upon completion of this lab you will be able to:
- Create an IAM role.
- Create an EC2 instance.
- Create two Lambda functions.
- Create the API.
- Create the API Resource and Method.
- Create two stages for API.
- Add stage variables for both stages.
- Test the API
Prerequisites:
No prior experience is required for performing this lab.
Lab Steps:
1. Starting a lab
- Every AWS lab on the QwikSkills platform has a uniform user interface. You will see the below screen whenever you open up any lab.
- The blue colored “Start Lab” button will set up the temporary username and password and assign the required cloud permissions in the background. Click on the button to start the lab.
2. Opening AWS Portal
- After you have clicked the start button, the cloud environment is created for the lab and you can use your temporary AWS cloud interface using the provided username and password shown on the screen