Redis Publish / Subscribe from AWS Lambda to EC2 🚀
HTML-код
- Опубликовано: 21 сен 2024
- Hey there Software Developers. Redis is awesome and offers more than caching. In this video let's demonstrate how we can use Redis as a messaging system and publish a message from a Lambda Function to a EC2 instance acting as a consumer.
Related video for setting up AWS Lambda Connected to Redis:
• AWS Lambda using Elast...
Security Groups:
my-lambda-sg
my-ec2-sg (inbound SSH)
my-redis-sg (inbound 6379 for both security groups above)
Application code:
gist.github.co...
#aws #nodejs