From the course: AWS for DevOps: Security, Governance, and Validation

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

CloudTrail and CloudWatch events

CloudTrail and CloudWatch events - Amazon Web Services (AWS) Tutorial

From the course: AWS for DevOps: Security, Governance, and Validation

Start my 1-month free trial

CloudTrail and CloudWatch events

- [Instructor] Another interesting aspect of CloudTrail is that it can actually be integrated with CloudWatch. So let me show you how that works. So I have CloudWatch open here and one of the areas that we hadn't looked at up until now is Events. So CloudWatch Events, as it says here, help you to respect to state changes in AWS resources and this is particularly important in security scenarios, of course. When your resources change state, they send events to an event stream. You can create rules that match the events in the stream and route them to targets to take action and you can use rules to take action on a predetermined schedule if you want as well. So, for example, you could use that to manage the shut down of EC2 instances if you are a nine-to-five shop just to save costs, for example. So there's some specific examples below this and one of them is around CloudTrail, so you can see the second example here, you can direct specific API records from CloudTrail to a Kinesis stream…

Contents