Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Effective AWS Step Functions
Search
haruharuharuby
September 10, 2022
Technology
0
170
Effective AWS Step Functions
haruharuharuby
September 10, 2022
Tweet
Share
More Decks by haruharuharuby
See All by haruharuharuby
JP_Stripes 5th anniversary - Plan migration consideration -
haruharuharuby
0
84
Alexa Warming Up my Live Stream!
haruharuharuby
1
81
AAJUG meetup September
haruharuharuby
0
38
How Voice Technology is Changing Customer Experience from Brain Perspectives
haruharuharuby
0
65
IVSの盛り上げ役にAlexaをつかってみようか
haruharuharuby
0
750
Let's make a blog with live streaming in 10 minutes
haruharuharuby
0
510
Alexa Audio Player @Deep Diving
haruharuharuby
0
280
VoiceLunchJp#02 Share VUI App and reputation
haruharuharuby
1
290
Alexa Summer Time Memory
haruharuharuby
0
3k
Other Decks in Technology
See All in Technology
Node-RED × MCP 勉強会 vol.1
1ftseabass
PRO
0
170
GitHub Copilot の概要
tomokusaba
1
140
生成AI開発案件におけるClineの業務活用事例とTips
shinya337
0
170
低レイヤを知りたいPHPerのためのCコンパイラ作成入門 完全版 / Building a C Compiler for PHPers Who Want to Dive into Low-Level Programming - Expanded
tomzoh
4
3.4k
Zephyr RTOSを使った開発コンペに参加した件
iotengineer22
0
100
Oracle Cloud Infrastructure:2025年6月度サービス・アップデート
oracle4engineer
PRO
2
310
mrubyと micro-ROSが繋ぐロボットの世界
kishima
2
380
Tech-Verse 2025 Keynote
lycorptech_jp
PRO
0
1.2k
BrainPadプログラミングコンテスト記念LT会2025_社内イベント&問題解説
brainpadpr
1
180
自律的なスケーリング手法FASTにおけるVPoEとしてのアカウンタビリティ / dev-productivity-con-2025
yoshikiiida
0
250
Witchcraft for Memory
pocke
1
650
GeminiとNotebookLMによる金融実務の業務革新
abenben
0
240
Featured
See All Featured
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.3k
Speed Design
sergeychernyshev
32
1k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.5k
Stop Working from a Prison Cell
hatefulcrawdad
270
20k
BBQ
matthewcrist
89
9.7k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Faster Mobile Websites
deanohume
307
31k
KATA
mclloyd
30
14k
Designing Experiences People Love
moore
142
24k
Optimizing for Happiness
mojombo
379
70k
Practical Orchestrator
shlominoach
188
11k
Transcript
Effective Step Functions Tomoharu Ito https://hugtech.io
Agenda 1. Lambda invoking is often bad. 2. The new
process with WorkflowStudio 3. Point of view for variable injection in CI/CD 4. Design Patterns 5. Use case (Shifter, SAML integration workflow)
1. Lambda invoking is often bad.
1. [Problem] sometimes hard to see your logic. packed in..
- Transcribe:StartBatchJob - WaitJobComplete - SNS:Publish - SES:SendEmail - DynamoDB: UpdateItem : return FALLBACK?
1. [Solution] Extract Lambda by SDK integration
Eliminate Lambda (as much as possible). Express (and don’t hide)
your logic on your StateMachine.
2. The new process and benefit for WorkflowStudio Prototype first.
Business logic first.
2. Circulation your workflow Console and Repository
2. Alteration ASL easy on the Workflow Studio (1) Handling
all the exceptions.
Output modification. 2. Alteration ASL easy on the Workflow Studio
(2)
Don’t needed write ASL direct. Designing isolated In/Out. Mutually exclusive
errors and fallbacks.
3. Point of view for variable injection in CI/CD
3. Pulling variables in the workflow SSM:GetParameters on top of
Workflow.
3. Inject variables from AWS-SAM
3. [Recommended Way] Inject variables from AWS-SAM Reset injected values
to inside Workflow as variables on top.
Refer them as workflow parameters. 3. [Recommended Way] Inject variables
from AWS-SAM
Manage credential on the single point. Dynamic or static more
suitable in your use-case .
4. Design Patterns Exception Handler Catching all exceptions
4. Design Patterns Delaying operation in StateMachine. Delay
4. Design Patterns Run different operation depending on StateMachine input.
Action & Choice
4. Design Patterns Avoid StateMachine Nesting with EventBridge. Flatten
4. Design Patterns Real time notification from StateMachine. Async Notification
5. Use case (Shifter, SAML integration workflow)
Switch operation per phase in a workflow
None
None
More traceability comes from SDK integration.
Monitoring performance by default with X-Ray.
Thanks for listening everyone. See you at the next meetup.