How to connect EventBridge API Destination to resources in private VPC?

0

I want to connect my EventBridge's API Destinations to resources in my private VPC by calling the API endpoints at their private endpoints (not going through any public route like API Gateway). I saw this doc from AWS China that says using PrivateLink it might be possible but also found other sources that say EventBridge can't connect to VPC. How should I go about this?

1 個回答
1

The documentation you referenced is not specific to the China partition of AWS. You can find this documentation for other regions as well, see this link.

Using Amazon EventBridge with Interface VPC Endpoints means that custom events your VPC sends to EventBridge will use that endpoint.

API Gateway private endpoints are made possible via AWS PrivateLink interface VPC endpoints. Please refer to the AWS PrivateLink documentation:

The service can't initiate requests to resources in your VPC through the VPC endpoint. The endpoint only returns responses to traffic that was initiated by resources in your VPC.

So, EventBridge cannot initiate a request to a resource in your VPC (a private API Gateway endpoint in your case) using a VPC endpoint you configure with AWS PrivateLink.

You can use the workarounds described in the re:Post answer you referenced.

profile pictureAWS
已回答 1 年前

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

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

回答問題指南