Understanding state-machine services
In some cases, the application logic and data flow may be complex, and just using AWS Lambda to try to implement the logic may prove difficult. In those situations, we may want to use another AWS service that is better suited to implementing this logic and flow—a service that can implement a state machine and keep track of its state. AWS has a service that fits this bill and can help to fill this gap—AWS Step Functions.
AWS Step Functions is a service that provides the coordination of individual pieces in applications. The coordination can be specified in a simple way using a visual editor. Applications can be put together by assembling these individualized software components. Each of the components specializes in one or a few tasks.
AWS provides a graphical editor to display and edit the system components. These are displayed as a series of steps. AWS Step Functions can trigger and track these steps and retry a task a specified...