From the course: AWS for Developers: Step Functions

Unlock the full course today

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

Logging and monitoring Step Functions

Logging and monitoring Step Functions - Amazon Web Services (AWS) Tutorial

From the course: AWS for Developers: Step Functions

Start my 1-month free trial

Logging and monitoring Step Functions

- [Instructor] So let's talk a little bit about logging and monitoring. In the world of DevOps, you need metrics in order to improve your code. Logging and monitoring enable you to capture this data that you can use to make decisions and even turn that data into full-blown analytics or alarms that you can use to monitor the running code. Let's see how we can enable logging and monitoring here. We'll go to Step Functions. And with our function selected, I'll click on Edit. And I'm about to make a change here that requires access to CloudWatch logs. So as you can see, we have a role assigned and it's called BackOfficeShippingIAMRole. Now, let's go to IAM before we continue here. Actually, they provide a link right here that you can click. So I'll click on this because I want to make sure the role that we're using has access to CloudWatch logs, otherwise we will get access denied when trying to write logs.…

Contents