Step Functions Flashcards
What is a Step Function?
Allows you to visualize and test your serverless apps.
Auto trigger and track each steps.
Logs state of each step so can easily trace what went wrong and where.
What happens if there is an error on a step in a Step Function?
It retries if there are errors so app executes in order it appears.
How to define state machines in Step Functions?
JSON-based Amazon States Languages
Uses for Step Functions
ensure ETL jobs run in order
automate tasks that happen frequently (patch management, infrastructure selection, data synchronization)
Combine AWS Lambda functions without having to write logic, parallel, or error handling code
Can organize data and services to run on EC2 instances, containers or on-premise servers