VPC endpoint for Regional API Gateway

0

Do AWS stopped supporting vpc endpoints for API Gateway of Type "Regional" ?

If yes is there a notification or document that I can make use of for reference?

2 Answers
0

I think you're asking "can I make an API (in API Gateway) accessible via a VPC endpoint" and the answer is: no, you can't do that. When you create the API you specify whether it is Edge-optimised, Regional or Private.

This is explained in the launch blog post: https://aws.amazon.com/blogs/compute/introducing-amazon-api-gateway-private-endpoints/

profile pictureAWS
EXPERT
answered a year ago
0

The VPC Endpoints are only meant for Private API Gateway endpoints. When you create private APIs, they can only be accessed from your VPC using an interface VPC endpoint. On the other hand, when you interface with API Gateway publicly accessible endpoints (For example: Regional APIs), it is done through public networks [1][2]. Therefore, it is not possible to connect to public APIs using a VPC endpoint.

However, there is a workaround if you want to access both Public and Private endpoints in your VPC and it has been explained in this article [3][4].

References:

[1] https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-private-apis.html [2] https://aws.amazon.com/blogs/compute/introducing-amazon-api-gateway-private-endpoints/ [3] https://repost.aws/questions/QUbbn6lHHbQUC4buf6Za_7og/accessing-api-gateway-both-public-and-private-endpoint [4] https://repost.aws/knowledge-center/api-gateway-vpc-connections

profile pictureAWS
SUPPORT ENGINEER
Rutba_Z
answered a year 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