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.
Lab info
Lab author
Challenge
Create an IAM Role
You’ll learn to create an IAM role for Step Functions to execute code and access other AWS resources.
Challenge
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.
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.
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.
Challenge
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.
Guided walkthrough
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.
Recommended prerequisites
- Basic understanding of Amazon Identity and Access Management, Roles and Policies.
- Basic understanding of CloudWatch events.