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 Answer
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
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