课程: AWS for Developers: Step Functions

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Logging and monitoring Step Functions

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.…

内容