Before you can use Lambda to it's fullest potential, you must know how to run them in a VPC. CORRECTION: It is not required that your Lambda functions run in two subnets, but it's definitely a good idea!
Пікірлер: 19
@martinzen4 жыл бұрын
This seems wrong. As far as I can tell Lambdas don't run inside a VPC, when you setup a Lambda's VPC config you are setting up a network connection between your VPC and the Lambda service VPC which is separate.
@TylerSlove4 жыл бұрын
Thanks for putting this out there. Just wanted to point out a common misconception, your lambda is never running "inside" your private VPC. Unlike EC2, when you select a VPC on your lambda configuration, you are actually not setting where your lambda will run at all, instead, you are enabling that lambda to be able to access a VPC. The message in the console "Select a VPC that your function will access" subtly makes this distinction. It may not matter for the majority of use-cases, but hopefully will improve your mental model of how lambda works a bit. For further consideration: kzbin.info/www/bejne/mJa5YnSPrs2aj6M
@kfliden Жыл бұрын
Great video!
@GonnaBeALongWalkHome4 жыл бұрын
Tremendously helpful. Thank you.
@yiqinglan90093 жыл бұрын
Thanks. It looks clear and neat.
@carlosalvarez-cascos52253 жыл бұрын
Very interesting and clearly explained. The video is from end of 2017, I wonder if all recommendations are still valid or thins are different aftger aws "adjustment" lf lambdas on VPCs
@AEMEMSTech6 жыл бұрын
This was a great overview. You rock!
@antonwinter6303 жыл бұрын
great explanation
@Rahul399204 жыл бұрын
Nice! Could you please show how the SG inbound rules configured for the RDS instance look like?
@lilb11906 жыл бұрын
You are a hero. Thank you!
@balagupta81744 жыл бұрын
Amazon would take 5 IPs from our CIDR block.... first 4 IP addresses & last IP address... That's why the actual IPs in /24 is 251 (256 - 5)
@omphemetsemafoko8305 жыл бұрын
Thank you, your video really helped.
@baladenmark5 жыл бұрын
Awesome! Neatly explained. Now I am able to start EMR from Lambda in a specific VPC. One question though, how can we pass access/secret?
@lucysan145 жыл бұрын
Thank you my friend :)
@georgewillardgehansitoniv66194 жыл бұрын
so helpful
@李诗洋-x2e6 жыл бұрын
Good.Thank you!
@glpinho2 жыл бұрын
But why does this lambda function work even without VPC? I tested the exact same code before connecting to a VPC and it still worked
@jimbrannlund46779 ай бұрын
Because the lambda gets a "hidden" VPC with the correct configuration. When you provide your own, you essentially take full responsibility for the networking.