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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
haruharuharuby
September 10, 2022
Technology
0
190
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
98
Alexa Warming Up my Live Stream!
haruharuharuby
1
110
AAJUG meetup September
haruharuharuby
0
48
How Voice Technology is Changing Customer Experience from Brain Perspectives
haruharuharuby
0
93
IVSの盛り上げ役にAlexaをつかってみようか
haruharuharuby
0
850
Let's make a blog with live streaming in 10 minutes
haruharuharuby
0
520
Alexa Audio Player @Deep Diving
haruharuharuby
0
290
VoiceLunchJp#02 Share VUI App and reputation
haruharuharuby
1
310
Alexa Summer Time Memory
haruharuharuby
0
3.1k
Other Decks in Technology
See All in Technology
僕、S3 シンプルって名前だけど全然シンプルじゃありません よろしくお願いします
yama3133
1
170
楽しく学ぼう!コミュニティ入門 AWSと人が つむいできたストーリー
hiroramos4
PRO
1
180
製造業ドメインにおける LLMプロダクト構築: 複雑な文脈へのアプローチ
caddi_eng
1
550
モブプログラミング再入門 ー 基本から見直す、AI時代のチーム開発の選択肢 ー / A Re-introduction of Mob Programming
takaking22
5
1.2k
Claude Code 2026年 最新アップデート
oikon48
5
1.1k
20260311 ビジネスSWG活動報告(デジタルアイデンティティ人材育成推進WG Ph2 活動報告会)
oidfj
0
190
JAWS FESTA 2025でリリースしたほぼリアルタイム文字起こし/翻訳機能の構成について
naoki8408
1
220
越境する組織づくり ─ 多様性を前提にしたチームビルディングとリードの実践知
kido_engineer
2
170
開発組織の課題解決を加速するための権限委譲 -する側、される側としての向き合い方-
daitasu
5
480
DevOpsエージェントで実現する!! AWS Well-Architected(W-A) を実現するシステム設計 / 20260307 Masaki Okuda
shift_evolve
PRO
3
460
作りっぱなしで終わらせない! 価値を出し続ける AI エージェントのための「信頼性」設計 / Designing Reliability for AI Agents that Deliver Continuous Value
aoto
PRO
2
260
SaaSからAIへの過渡期の中で現在、組織内で起こっている変化 / SaaS to AI Paradigm Shift
aeonpeople
0
120
Featured
See All Featured
Joys of Absence: A Defence of Solitary Play
codingconduct
1
300
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
A better future with KSS
kneath
240
18k
Everyday Curiosity
cassininazir
0
160
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
780
Leo the Paperboy
mayatellez
4
1.5k
Faster Mobile Websites
deanohume
310
31k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
140
WCS-LA-2024
lcolladotor
0
480
How to Talk to Developers About Accessibility
jct
2
150
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
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.