Skip to main content

Creating an EC2 Instance with Lambda

Hands-On Lab


Photo of

Training Architect





In this AWS hands-on lab, we will write a Lambda function that will create an EC2 instance. This Lambda function will be written in Python using the Boto3 library. We will also create a custom Lambda execution policy. When we're done, we will be able to log in to the new EC2 instance via SSH.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.