• Online, Self-Paced
Course Description

In this challenge, you will create a solution that will automatically start an Amazon Elastic Cloud Compute (Amazon EC2) instance when it stops. First, you will create a new Lambda execution role, and then you will create a Lambda function to start a specific EC2 instance. Next, you will create a new Amazon EventBridge rule to monitor the EC2 instance state and execute the Lambda function if the instance stops. Finally, you will test the rule by manually stopping the EC2 instance. Note: Once you begin the challenge lab, you will not be able to pause, save, or exit and then return to your challenge lab. Please ensure that you have set aside enough time to complete the challenge lab before you start.

Learning Objectives

In this challenge, you will create a solution that will automatically start an Amazon Elastic Cloud Compute (Amazon EC2) instance when it stops. First, you will create a new Lambda execution role, and then you will create a Lambda function to start a specific EC2 instance. Next, you will create a new Amazon EventBridge rule to monitor the EC2 instance state and execute the Lambda function if the instance stops. Finally, you will test the rule by manually stopping the EC2 instance. Note: Once you begin the challenge lab, you will not be able to pause, save, or exit and then return to your challenge lab. Please ensure that you have set aside enough time to complete the challenge lab before you start.

Framework Connections

Specialty Areas

  • Systems Development