Search code examples
amazon-web-servicesaws-lambdaamazon-vpc

Security group settings for RDS to trigger Lambda?


I'm following this guide to implement the ability for RDS to trigger Lambda: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/PostgreSQL-Lambda.html#PostgreSQL-Lambda-network. A part of the guide is to set a VPC endpoint to the AWS Lambda VPC.

What values should I use for the port security group? To my knowledge, lambda uses HTTP/HTTPS to receive inputs. Is opening ports 80 and 443 enough?


Solution

  • It seems that lambda listens to port 443.