Accessing API Gateway both Public and Private endpoint


My customer want to access both private and public REST API Gateway from one VPC with enable private DNS name. This VPC has VPC endpoint to access private API Gateway and internet GW or NAT GW to access public API Gateway. Public API Gateway assumes an external service that is built on AWS, not my customer's service.

According to the official AWS document "", if I want to public API Gateway in these situations, they need an edge optimized custom domain.

Is it possible not only for edge-optimized custom domains but also regional custom domains?

1 Answer
Accepted Answer

If private DNS is enabled, you can either use Edge optimized custom domain names or regional custom domain names to connect to your public APIs. This is described here.

Also this article from premium support might be handy

answered 4 years ago
profile picture
reviewed 4 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions