Support Documents

Enabling CloudWatch Logs in API Gateway

Lab Details

  1. This lab walks you through the steps to enable CloudWatch Logs in API Gateway.

  2. You will practice using AWS CloudWatch to view logs produced by API Gateway.

  3. Duration: 30 minutes

  4. AWS Region: US East (N. Virginia) us-east-1


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 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.      

Architecture Diagram

Task Details

  1. Launching Lab Environment

  2. Create an API.

  3. Create an IAM Role.

  4. Create a Resource

  5. Create a Method.

  6. Deploy API