Schedule a Serverless Workflow on AWS with Step Functions and CloudWatch
In this lab, you’ll practice running Step Functions to orchestrate a serverless workflow on a time-based schedule in response to a CloudWatch event. When you’re finished with this lab, you’ll have an AWS CloudWatch events rule that runs your state machine using AWS Step Functions every minute.
Terms and conditions apply.
Create an IAM Role
You’ll learn to create an IAM role for Step Functions to execute code and access other AWS resources.
Create a State Machine in Step Functions Console
You’ll learn to create a State machine using a predefined Hello World template in the AWS Step Functions console and associate an existing IAM role created in the previous challenge.
Create a CloudWatch Events Rule
You’ll learn to create a CloudWatch events rule and associate an existing Step Functions state machine created in the previous challenge.
Customize the Input and Output handling in State Machine
You’ll learn how your state machine handles the customization of input and output processing. Also, how the information flows from one state to another state, manipulate data.
Confirm the Workflow is Functioning
You’ll learn and observe the details of CloudWatch events being captured by step Functions state machine at every minute.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.
- Basic understanding of Amazon Identity and Access Management, Roles and Policies.
- Basic understanding of CloudWatch events.