Integrate API Gateway with frontend hosted in S3

In previous workshop, you use API Gateway to create an REST API that backed by Lambda functions.

In this workshop, you will:

  • Integrate a frontend application with your REST API, which means:

    • Configuring the frontend application to connect to your REST API.
    • Configuring CORS for the API Gateway to allow communication from the frontend application.
  • Deploy your frontend application using S3 static website hosting feature.

Content

  1. Introduction
  2. Preparation
  3. Configure CORS for the API Gateway
  4. Test the frontend application
  5. Store frontend application bundle in a S3 bucket
  6. Host the frontend application with S3 static website hosting
  7. Cleanup