Amazon Web Services
In this video, Preetika demonstrates how to automate the stopping and starting of Amazon EC2 instances at regular intervals using AWS Lambda and Amazon EventBridge. She walks through creating Lambda functions to control EC2 instances, testing those functions, and setting up EventBridge rules to trigger the functions on a schedule. This solution helps optimize costs by automatically shutting down instances when they're not needed and starting them up again when required.
00:00 Introduction
00:45 Create Lambda functions to stop and start your EC2 instances
02:45 Test your Lambda functions
05:25 Create EventBridge rules that trigger your functions on a schedule
08:05 Closing