Is it possible to use an internal RabbitMQ (ACtiveMQ) endpoint as an EventBridge Rule API Destination?

0

Hi,

I have an ActimeMQ cluster with the RabbitMQ engine on AWS, that cluster is on a private network in the VPC.

I need to generate an event based on the S3 PutObject call and send a message to the RabbitMQ cluster.

I thought I could do it with S3-> EventBridge Events-> Rule-> API Endpoint and send the transformed message to the RabbitMQ API (https://ID.mq.eu-west-1.amazonaws.com/api/exchanges/%2f/amq.default/publish).

Despite configuring all this and seeing in the API Destinations: Status Active and Connections: Authorized, I see the following message from the events:

Unable to invoke ApiDestination endpoint: Timeout calling endpoint for API Destination: socket closed. What I want to do is allowed by EventBridge? i.e. make a call to the RabbitMQ API of a private cluster that is in the same account.

Regards!

질문됨 2년 전316회 조회
1개 답변
1
수락된 답변

Hi,

Thanks for your question. API Destinations on EventBridge don’t currently support delivering events to an API within a VPC, but it's something planned for the future.

As a workaround, you could consider a solution that sets up a Lambda function as a target of EventBridge and then deploys the function in the same VPC as the endpoint of your RabbitMQ cluster. The Lambda function would then invoke the endpoint within the VPC. If you'd like to explore this idea further, we could set up a call to discuss.

AWS
답변함 2년 전
  • Hi Trevor.

    Do you know an estimate of when it will be ready? Or if it will be on the roadmap before Q1 of next year?

    On the other hand, I understand that if I generate the RabbitMQ cluster on a public subnet I would have no problems.

    I have been considering what you suggest, but I wanted to save intermediate layers such as lambda.

    Thanks for the clarifications, regards!

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

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

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

관련 콘텐츠