From the course: AWS: Monitoring, Logging, and Remediation
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Custom remediation with AWS Lambda - Amazon Web Services (AWS) Tutorial
From the course: AWS: Monitoring, Logging, and Remediation
Custom remediation with AWS Lambda
- [Instructor] Let's take our event-driven remediation workflow a step further by utilizing AWS Lambda to automate fixes in real time. In our previous video, we set up an Amazon EventBridge rule to detect when an Elastic IP is associated with an EC2 instance. Right now, this sends a notification to administrators. But what if you could go beyond alerts and have AWS automatically resolve the issue, removing the public IP from production instances before it becomes a risk? That's where AWS Lambda comes in. AWS Lambda is a service that lets you run code in response to events without provisioning or managing servers. You simply upload your code, configure a trigger, like an EventBridge rule, and Lambda takes care of everything else. Scaling, patching, and running your code only when needed. You pay only for the compute time your function uses. Here are some scenarios where Lambda shines for automated remediation. You can use Lambda to dissociate Elastic IPs from EC2 instances. This is the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Introduction to AWS remediation2m 49s
-
Automated operations with AWS Systems Manager5m 6s
-
Remediation with AWS Config7m 56s
-
(Locked)
Event-driven remediation with EventBridge6m 59s
-
(Locked)
Custom remediation with AWS Lambda6m 36s
-
(Locked)
Best practices and security considerations5m 21s
-
(Locked)
-
-