How can I call a service hosted in my private VPC by its private endpoint from EventBridge's API Destination?

0

I have a service which is hosted in my private VPC and currently we are using API Gateway to expose it publicly. All our API calls go through it. So right now EventBridge's API Destinations point to the API Gateway's public endpoint. But we would like to change that and call the service at its private endpoint from EventBridge's API Destination itself so as to make sure our internal service calls stays in our VPC. How can we go about this?

1개 답변
1

EventBridge does not have direct integration with VPC resources. Your options are:

  1. Invoke a Lambda function which is attached to the VPC that will make the call to the service.
  2. Place the message into an SQS queue and let the service poll the queue for messages (this required to rearchitect the service itself).

There might be other workarounds not listed above.

profile pictureAWS
전문가
Uri
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠