From the course: Monitoring AWS with CloudWatch (2020)

Unlock the full course today

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

Responding to events

Responding to events - Amazon Web Services (AWS) Tutorial

From the course: Monitoring AWS with CloudWatch (2020)

Start my 1-month free trial

Responding to events

- In this demo, we are going to create a rule in our CloudWatch events. So whenever a file is added on S3 bucket, a Lambda function will be triggered. Let's start by navigating to S3 and create a new bucket. We can quickly create a new bucket using a create bucket button, let's name it events demo. And, since this name might already be taken, let's append a number after it and let's create our bucket. As a next step we need to configure the bucket details. Let's navigate to the bucket details, and we need to go into the properties tab. Here, we need to configure object level logging without object level logging. We are not going to be able to get events like file created or deleted. In order for us to enable object level logging. First, we need to create a new CloudTrail. Let's navigate to CloudTrail console. The CloudTrail will be responsible for managing data events from S3 like file created, updated, deleted, et…

Contents