EventBridge Scheduler to Start and Stop EC2 instances

Lab Introduction

EventBridge Scheduler to Start and Stop EC2 instances

Welcome to the EventBridge Scheduler to Start and Stop EC2 instances lab, provided by AWS. In this lab, you will learn how to use Terraform, a powerful infrastructure as code tool, to create a scheduled event using AWS EventBridge. This event will trigger the start and stop actions for your EC2 instances based on a predefined schedule. By automating the start and stop process, you can optimize your EC2 instance usage and reduce costs.

This lab will provide you with hands-on experience in using Terraform to define and deploy the necessary AWS resources, such as the EventBridge rule, Lambda functions, and IAM roles. You will also learn how to configure the schedule for starting and stopping your EC2 instances. By the end of this lab, you will have a better understanding of how to leverage AWS EventBridge and Terraform to automate the management of your EC2 instances.

TIME

60 min.

DIFFICULTY

Medium

  • Cloud Provider: AWS
  • Language(s): HCL
  • Tooling: Terraform
  • Category: serverless

This project is available with a paid Skillmix subscription.