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 réponse
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
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions