Deploy a Lambda Function Into Amazon VPC
In this lab, you’ll practice attaching and deploying a Lambda function in a VPC. When you’re finished with this lab, you’ll have a good understanding of creating VPC-attached Lambda functions.
Terms and conditions apply.
Review the Existing resources in Your AWS Account
You’ll review the existing resources in your AWS account. You’ll also test the Lambda function to check the connectivity to the RDS Database.
Update Lambda Function Execution Role
You’ll learn how to update the Lambda function IAM role to allow the Lambda service to create and delete Elastic Network Interfaces (ENI)
Create and update Security Groups
You’ll learn to create a new security group to allow traffic on MySQL port 3306 from the Lambda function to the RDS Database. You’ll also update the security group on the RDS Database to allow incoming traffic from the Lambda function.
Configure the Lambda Function to Connect to a VPC
You’ll learn to configure the Lambda function to connect to a VPC. You’ll also test the Lambda function and query the RDS Database.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.
- Basic understanding of Identity and Access Management (IAM) , roles and permissions.
- Basic understanding of VPC and Security Groups.