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
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ