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?

已提問 8 個月前檢視次數 442 次
2 個答案
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
專家
已回答 8 個月前
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
支援工程師
Rutba_Z
已回答 8 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南