Support Documents

Launch an EC2 Instance with Lambda

Lab Details

  1. This lab walks you through the launching of an EC2 instance using AWS Lambda. In this lab, we will create a sample lambda function. This lambda function, when triggered, will provision an EC2 Instance.

  2. Duration: 30 minutes

  3. AWS Region: US East (N. Virginia) us-east-1

Architecture Diagram


Task Details

  1. Log into the AWS Management Console.

  2. Create an IAM Policy and an IAM Role.

  3. Create a lambda function.

  4. Configure a test event.

  5. Trigger the lambda function manually using the test event.

  6. Test the new EC2 instance.

  7. Validation of the lab.