Overview
Lab Details
- This lab walks you through the steps to create resources and methods in API Gateway.
- Duration: 20 Minutes
- AWS Region: US East (N. Virginia) us-east-1.
Introduction
Amazon API Gateway
- Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale.
- APIs act as the front door for applications to access data, business logic, or functionality from your backend services.
- API Gateway handles all the tasks involved in accepting and processing up to hundreds or thousands of concurrent API calls, including traffic management, CORS support, authorization and access control, throttling, monitoring, and API version management.
- Using API Gateway, you can create RESTful APIs and WebSocket APIs that enable real-time two-way communication applications. API Gateway supports containerized and serverless workloads, as well as web applications.
Architecture Diagram

Task Details
- Sign into the AWS Management Console.
- Create an API.
- Create a Resource
- Create a Method.
Launching Lab Environment
- To launch the lab environment, Click on the Start Lab button.
- Please wait until the cloud environment is provisioned. It will take less than a minute to provision.
- Once the Lab is started, you will be provided with IAM user name, Password, Access Key, and Secret Access Key.
Note : You can only start one lab at any given time
Lab guide
Lab Steps
Task 1: Sign in to AWS Management Console
- Click on the Open Console button, and you will get redirected to AWS Console in a new browser tab.
- On the AWS sign-in page,
- Leave the Account ID as default. Never edit/remove the 12-digit Account ID present in the AWS Console. Otherwise, you cannot proceed with the lab.
- Now copy your Username and Password in the Lab Console to the IAM Username and Password in AWS Console and click on the Sign-in button
- Once Signed In to the AWS Management Console, make the default AWS Region as US East (N. Virginia) us-east-1.
Task 2: Create an API
In this task, we are going to set up an API in Amazon API Gateway.- Navigate to the Services menu at the top, then click on API Gateway under the Network and Content Delivery section.
- Scroll down and click on Build in REST API.

- Ignore the pop-up, create your first API.
- Then choose New API under Create new API.
- Enter API name as Whizlab API.
- Security Policy: Select SecurityPolicy_TLS13… Policy

- Click on Create API Button
- You have created, Whizlab API

Task 3: Creating a Resource
In this task, we are going to create a resource within the API.- Once the API is created, click on the Whizlab API
-
Click Create Resource button

- Resource Name: Enter whizlabs
- Once you enter the resource name, click on Create Resource.

Task 4: Creating Method
- Once you have created the resource, click on Create Method. Select Get from the dropdown list of Method Type.
- Select the Integration Type as Mock and click on Create Method.

Do You Know?
API Gateway is built to handle high levels of traffic and concurrency, making it suitable for a wide range of applications, from small projects to large-scale enterprise systems. It automatically scales to accommodate varying levels of API traffic, ensuring that applications can handle a significant number of concurrent requests without compromising performance or reliability.
- Once the lab steps are completed, please click on the Validation button on the right side panel.
Completion and Conclusion
- You have successfully created an API.
- You have successfully created an API resource and method.
End Lab
- Sign out of the AWS Account.
- You have successfully completed the lab.
- Once you have completed the steps click on End Lab from the IP Lab Portal dashboard.
What gets checked
When you press Check my work, the platform verifies each of these:- Create a API Gateway — Check whether a REST/HTTP?WEBSOCKET API gateway is created or not