Creating Private API in Amazon API Gateway

   Go back to the Task List

  « 1: Pre-requisite    3: Create VPC Endpoint »

2: Create Security Group

Let’s create a Security Group which is used by the VPC Endpoint to allow access to the API in API Gateway.

  1. Login to AWS Management Console and change the region to Ireland.

  2. Goto VPC Management Console. Click on the Security Groups menu in the left and then click on the Create security group button.

    Private API Gateway

  3. On the next screen, type in dojo-api-sg for the security group name and the description fields. Select the default VPC for the VPC field. Create inbound rule for HTTP and HTTPS type from the Source = 0.0.0.0/0. Keep rest of the configuration to the default. Click on the Create security group button.

    Private API Gateway

  4. The security group is created in no time. The next step is to create VPC endpoint.