Implement Auto-Shutdown Cost Optimization Pattern for EC2

Implement Auto-Shutdown Cost Optimization Pattern for EC2
Implement Auto-Shutdown Cost Optimization Pattern for EC2

CLOUD LABS



Implement Auto-Shutdown Cost Optimization Pattern for EC2

In this lab, you’ll implement auto-shutdown of an EC2 instance using EventBridge Schedulers and Lambda functions. This challenge-based exercise is designed for hands-on practice; step-by-step instructions will not be provided.

1 Task

beginner

1hr 30m

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Technologies
EventBridge logoEventBridge
Lambda logoLambda
EC2 logoEC2
Cloud Lab Overview

Amazon EventBridge Schedulers enable you to execute tasks automatically based on time-based schedules, using either cron or rate expressions. They can trigger targets such as Lambda functions, Step Functions, SNS, and EC2 operations. This makes them ideal for automating periodic actions, such as routine maintenance, notifications, and cost-optimization workflows.

In this Challenge Cloud Lab, you’ll be assessed on creating an EC2 instance, an IAM role, a Lambda function, and EventBridge Schedulers, and your knowledge of using these resources.

Optimize costs by automatically stopping and starting EC2 instances using EventBridge Scheduler
Optimize costs by automatically stopping and starting EC2 instances using EventBridge Scheduler

AWS services you’ll be tested on:

  • AWS EventBridge

  • AWS Lambda

  • AWS EC2

  • AWS IAM

Cloud Lab Tasks
Auto-Shutdown Your EC2 Instances Using EventBridge Scheduler
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Relevant Courses

Use the following content to review prerequisites or explore specific concepts in detail.

Hear what others have to say
Join 1.4 million developers working at companies like