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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay