More Related Content Similar to AWS Step Functions (20) AWS Step Functions2. 2
STEP FUNCTIONS
Copyright © 2018 AxEdge Consulting. All rights reserved.
AWS Step Functions is a web service that enables you to coordinate the components of distributed applications and
microservices using visual workflows.
You build applications from individual components that each perform a discrete function, or task, allowing you to scale and
change applications quickly. Step Functions provides a reliable way to coordinate components and step through the functions
of your application.
Step Functions provides a graphical console to visualize the components of your application as a series of steps. It
automatically triggers and tracks each step, and retries when there are errors, so your application executes in order and as
expected, every time.
Step Functions logs the state of each step, so when things do go wrong, you can diagnose and debug problems quickly.
3. Copyright © 2018 AxEdge Consulting. All rights reserved. 3
Start an execution to visualize and verify the
steps of your application are operating as
intended. The console highlights the real-time
status of each step and provides a detailed
history of every execution.
AWS Step Functions operates and
scales the steps of your application and
underlying compute for you to help
ensure your application executes reliably
under increasing demand.
STEP FUNCTIONS
6. Copyright © 2018 AxEdge Consulting. All rights reserved. 6
PRICING AND AVAILABILITY
9. Copyright © 2018 AxEdge Consulting. All rights reserved. 9
LIMITS
Limit Description
State machine name State machine names must be 1-80 characters in length, must be unique
Maximum number of activities 10,000
Maximum number of state machines 10,000
Maximum number of API actions Beyond infrequent spikes, applications may be throttled if they make a large number
of API actions in a very short period of time.
Maximum request size 1 MB per request. This is the total data size per Step Functions API request, including
the request header and all other associated request data.
Maximum open executions 1,000,000
Maximum execution time 1 year
Maximum execution history size 25,000 events
Maximum execution idle time 1 year (constrained by execution time limit)
Maximum execution history retention time 90 days.
Maximum executions Displayed The Step Functions console displays a maximum of 1,000 executions per state
machine.
Maximum open activities 1,000 per execution.
Maximum input or result data size for a task, state, or execution 32,768 characters.
10. Copyright © 2018 AxEdge Consulting. All rights reserved. 10
MONITORING AND LOGGING
Monitoring Step Functions Using CloudWatch Logging Step Functions using CloudTrail
You can also set an alarm on a metric
When CloudTrail logging is enabled in your AWS
account, API actions made to specific Step
Functions
actions are tracked in CloudTrail log files. Step
Functions actions are written, together with other
AWS
service records. CloudTrail determines when to
create and write to a new file based on a time
period and
file size.
The following actions are supported:
• CreateActivity
• CreateStateMachine
• DeleteActivity
• DeleteStateMachine
• StartExecution
• StopExecution
11. Copyright © 2018 AxEdge Consulting. All rights reserved. 11
SECURITY
Authentication
Step Functions uses IAM to control access to other AWS services and
resources.
You can access AWS as any of the following types of identities:
AWS account root user
IAM user
IAM role
Federated user access
AWS service access
Applications running on Amazon EC2
Creating IAM Roles for AWS Step Functions
Creating Granular IAM Permissions for
Non-Admin Users
The default managed policies in IAM, such as
ReadOnly, don't fully cover all types of Step
Functions permissions. AWS Step Functions
has four categories of permissions. Depending
on what access you want to provide
to a user, you can control access by using
permissions in these categories.
• Service-Level Permissions
• State Machine-Level Permissions
• Execution-Level Permissions
• Activity-Level Permissions