From the course: AWS Lambda Projects: Serverless Functions, Cost-Efficiency, and Peak Performance in Cloud Environments

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Lambda and AWS VPCs

Lambda and AWS VPCs

- In this lesson, we're going to learn how we can integrate Lambda functions into our VPC. So first, let's talk about some basic concepts of Lambda and how they can utilize other AWS services. And let's imagine that we've created an S3 bucket. Well, that S3 bucket can be accessible over the internet and our Lambda function can do things like retrieve objects from that S3 bucket just fine with no special configuration 'cause all that traffic is happening over the internet. However, what if we have resources that are inside of a VPC that we have created? And you can see here, there is an AWS managed VPC. That's where Lambda functions actually run. That's a VPC that we don't have any access to. And we might be creating resources in our own VPC, which by default is isolated. So there's really no way for the Lambda function to reach out and for example, access an RDS database if that database is inside of our VPC. That's the problem that we're going to learn how to solve here. We're going…

Contents