1 Answer
- Newest
- Most votes
- Most comments
1
Hello.
It's possible.
If the ALB is created with internet facing, it is publicly accessible, so if the inbound rules of the ALB's security group allow 0.0.0.0/0 for HTTP or HTTPS, you can send requests directly from Lambda. is.
If you are restricting the inbound rules of the ALB security group, you can also connect Lambda to the VPC and access it via NAT Gateway to fix the Lambda IP address.
Also, even if you create an ALB internal, you can send requests by connecting Lambda to the VPC and enabling communication within the VPC.
https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html

Hello! thanks a lot Riku!