Ragnar
Ragnar

Reputation: 4578

What is the communication protocol and port(s) used between AWS Lambda functions and the triggers?

I need this to restrict the ports in the security group to avoid opening all the traffic to all ports. Is it HTTPS or another protocol?

Upvotes: 0

Views: 6358

Answers (1)

Mark B
Mark B

Reputation: 200960

AWS Lambda doesn't have any open inbound ports. Lambda functions aren't continuously running, listening on ports for incoming traffic. When something invokes an AWS Lambda function it calls the AWS API, which then executes your function. If you have an AWS Lambda function configured to run in a VPC, inbound security group rules will have no affect. Assigning a security group to a Lambda function is primarily for having a security group ID you can reference in other security group rules, like when giving a Lambda function access to an RDS server.

Upvotes: 2

Related Questions