DEV Community

Tim Nguyen
Tim Nguyen

Posted on

Lambda configurations for ALB to reach

We need

  • A lambda function:
    • No need Function URL enabled
    • VPC configs to be in the same VPC and subnet with main VPC used by ALB
    • Security group with inbound from main VPC CIDR block (eg: 10.1.0.0/16) and outbound to internet (eg: 0.0.0.0/0)
    • Permission set to accept both ALB arn and Target group arn
  • A target group set to lambda function
  • An application load balancer has a listener to lambda target group above

Top comments (0)