Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Amazon Web Services

Lab - Autoscale EC2 Instances with Amazon EventBridge

Amazon Web Services and Amazon via AWS Skill Builder

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it

This lab provides you with an understanding of EventBridge.


Objectives

  • Create Lambda functions to log events and reboot EC2 instances.
  • Create an EventBridge scheduled rule to log Amazon EC2 Auto Scaling events.
  • Create an EventBridge Scheduler to reboot EC2 instances monthly.
  • Test an EventBridge rule by manually updating an EC2 Auto Scaling group.


Prerequisites

  • Basic understanding of AWS services, particularly EC2 and Lambda
  • Familiarity with Python programming language
  • Basic knowledge of cron expressions and scheduling
  • Experience with AWS Management Console navigation


Outline

Task 1: Creating the LogAutoScalingEvent Lambda function

Task 2: Creating the RebootEC2 Lambda function with an EventBridge scheduled rule

Task 3: Creating the LogAutoScaling EventBridge rule

Task 4: Testing the EventBridge rules

Reviews

Start your review of Lab - Autoscale EC2 Instances with Amazon EventBridge

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.