This lab walks you through the steps to create an API Gateway with path and query string parameter and integrate it to Lambda function.
You will practice using Amazon API Gateway.
Duration: 45 minutes.
AWS Region: US East (N. Virginia).
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 of 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.
AWS Lambda lets you run code without provisioning or managing servers. You pay only for the compute time you consume.
With Lambda, you can run code for virtually any type of application or backend service - all with zero administration. Just upload your code and Lambda takes care of everything required to run and scale your code with high availability. You can set up your code to automatically trigger from other AWS services or call it directly from any web or mobile app.
Log into the AWS Management Console.
Create a Lambda Function.
Create a new API Gateway.
Create a Resource with a path parameter.
Create a Method.
Add a query string parameter.
Test the API