Amazon Step Functions
Guide followed
- Using AWS Step Functions to Manage a Long-Running Process (linuxacademy hands on lab)
- code at https://github.com/linuxacademy/content-aws-mls-c01/tree/master/Use-AWS-Step-Functions-to-Manage-a-Long-Running-Process
- two lessons about step functions on the AWS Certified Developer - Associate Level
- Perform Parallel Execution in AWS Step Functions (linuxacademy hands on lab)
- Creating Your Own Serverless Reminder Service on AWS with Step Functions, API Gateway, Lambda, and S3 (linuxacademy hands on lab), the code for the lab is https://github.com/linuxacademy/content-aws-csa2019/tree/master/lab_files/03_compute/serverless_reminder_app . There is a great example how to use the wait and the choice construct in step functions
Still to do
- Building a Serverless Application Using Step Functions, API Gateway, Lambda, and S3 (linuxacademy hands on lab)
Videos
- Not useful first 23 minutes talking generically about how company use it, after there is some practical slides but not so good one https://www.youtube.com/watch?v=hLRL1ik5Nk0
Serverless Orchestration with AWS Step Functions - AWS Online Tech Talks 2017
The interface and capabilities are increased now because this video was done in 2017
https://www.youtube.com/watch?v=8rmgF-SbcIk&list=RDQMcAxqogUjyos&start_radio=1
- min 10 there is an quick explanation about pool that it is the opposite of push. When you call a lambda from step function you are doing a push, the poll works with the activity
- min 11 there is the useful concept of retry if a task fail
- min 12 how to catch exception and decide next state
- min 18 how to do interaction with user with email and api gateway
- min 20 input and output and how to manipulate
Advanced Serverless Orchestration with AWS Step Functions - AWS Online Tech Talks 2019
https://www.youtube.com/watch?v=lKbeBBV1gyc
it redoes the same thing done in the video of 2017 but shows how to integrate in the new services
- min 24 new features
- min 25 very interesting from a step function you can call another one like a child function, so you can reuse code without duplicate it
- min 27 you can have a dynamic parallelism, this means that you can have n parallel tasks with n defined at runtime
- min 29 you can connect EventBridge to step function at the beginning or the end of the flow.
- min 30 there is this steplint utility that helps you to avoid mistake when you write the json for step function
- min 32 if you want to run stepfunction in local there is a docker container
- min 35 cloudformation is orrible so they try to use SAM cloudformation
versione della pagina: 8, ultima modifica: 11 Mar 2020 16:16