API Gateway
Create an AWS API Gateway using a REST API from the DuploCloud Portal
Last updated
Create an AWS API Gateway using a REST API from the DuploCloud Portal
Last updated
© DuploCloud, Inc. All rights reserved. DuploCloud trademarks used herein are registered trademarks of DuploCloud and affiliates
To create an AWS API Gateway using a REST API from the DuploCloud Portal, navigate to Cloud Services -> Networking, and click Add on the Api Gateway tab. The REST API generates security policies that make the API Gateway accessible to other resources (like Lambda functions) within the Tenant. After the REST API has been created in the DuploCloud Portal, all other configurations (e.g., defining methods and resources or pointing to lambda functions) should be done in the AWS Console. The console can be reached from the DuploCloud Portal by navigating to Cloud Services -> Networking, selecting the Api Gateway tab, and clicking the Console button under the Actions menu.
Make private AWS API Gateway instances (associated with VPC endpoints) accessible from your machines by constructing a URL, as shown below. Replace REST_API_ID with your API Gateway instance's unique identifier (API ID), VPCE_ID with your VPC Endpoint ID (VPCE ID), REGION with the specified AWS region, and STAGE with the development stage (e.g., prod
, dev
, test
).
https://{
REST_API_ID
}-{
VPCE_ID
}.execute-api.{
REGION
}.amazonaws.com/{
STAGE
}
The resulting URL will point to the specific API Gateway instance associated with the API ID and VPC Endpoint ID in the specified AWS region and stage. With this URL, you can make requests over the default open VPN to the private API Gateway.