Your goal is to identify and remediate any configuration issues so that the API returns a “Hello from Lambda” response with a 200 status code.
Amazon API Gateway Lambda proxy integration is a simple, powerful, and nimble mechanism to build an API with the setup of a single API method. The Lambda proxy integration allows the client to call a single AWS Lambda function in the backend. The function accesses many resources and features of other AWS services.
Your goal is to identify and remediate any configuration issues so that the API returns a “Hello from Lambda” response with a 200 status code.
In this lab, you troubleshoot and fix an API Gateway with a Lambda proxy integration. When the API is invoked, you get an “Internal server error” response with a 500 status code.
Your goal is to identify and remediate any configuration issues so that the API returns a “Hello from Lambda” response with a 200 status code.
Level
Intermediate
Duration
1 Hours 0 Minutes
Course objectives
By the end of this lab, you will be able to do the following:
• Examine the current configuration of the API Gateway and the Lambda function.
• Troubleshoot and identify the issues in the existing configuration.
• Remediate the configuration so the API returns the desired response when invoked.
Intended audience
This course is intended for:
• Architects
• Developers
• Infrastructure Engineers
Prerequisites
To successfully complete this lab, you should have a basic knowledge of:
• Navigating through the AWS Management Console.
• Amazon API Gateway.
• AWS Lambda.
• Coding using Python.
Course outline
• Task 1: Invoking the API
• Task 2: Troubleshooting and remediating the issue