API Gateway

Self-Paced Lab

Version 1.0

Duration: 60 minutes

Purpose & Background

In this lab, you will create a simple ASP.NET Web API, deploy it with Elastic Beanstalk to an EC2 instance, and then configure Amazon API Gateway as a proxy layer in front of the Web API endpoints.

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. By using API Gateway in front of your application’s API endpoints, you can apply throttling, security, monitoring and logging, and improve performance by using the service’s caching functionality, as well as handle versioning and developer documentation (including Swagger support).

Lab Exercises

You will complete the following exercises during this lab:

  1. Create an ASP.NET Web API Project

  2. Deploy to Amazon EC2 with Elastic Beanstalk

  3. Test the API with Browser and/or Postman

  4. Create and Configure API Gateway API

  5. Confirm Throttling with Load Test Script

  6. View Application Logs in CloudWatch Logs


The following prerequisites are required to complete the lab: