Hi thanks for the video. Question: Is it possible to trigger the same aws lambda function from a rabbitmq instance that is running on EC2 (as oppossed to a managed rabbitmq instance) ?
@ViralGamingandDevelopment
9 ай бұрын
What if our rabbitmq broker is NOT publicly accessible? How do we get the rabbitmq to work as a trigger then
@listentolearn2363
8 ай бұрын
You can still make it work by placing the rabbitmq instance as well as the lambda in the same VPC and opening the appropriate ports between them.
@user-nn9ns1vh9q
Жыл бұрын
How we can integrate the MQ with our EC2 Instance?
@listentolearn2363
Жыл бұрын
Hi Amit, You can use the rabbitmq endpoint in your application running in ec2 to post and receive messages from the queue. If your application is in python, you can use pika library. (docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-rabbitmq-pika.html) If it is java then, docs.aws.amazon.com/amazon-mq/latest/developer-guide/getting-started-rabbitmq.html. Also, make sure you have the correct ports open in the security groups.
Пікірлер: 5