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
210
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Effective AWS Step Functions
haruharuharuby
September 10, 2022
More Decks by haruharuharuby
See All by haruharuharuby
JP_Stripes 5th anniversary - Plan migration consideration -
haruharuharuby
0
110
Alexa Warming Up my Live Stream!
haruharuharuby
1
120
AAJUG meetup September
haruharuharuby
0
65
How Voice Technology is Changing Customer Experience from Brain Perspectives
haruharuharuby
0
110
IVSの盛り上げ役にAlexaをつかってみようか
haruharuharuby
0
1.2k
Let's make a blog with live streaming in 10 minutes
haruharuharuby
0
540
Alexa Audio Player @Deep Diving
haruharuharuby
0
300
VoiceLunchJp#02 Share VUI App and reputation
haruharuharuby
1
320
Alexa Summer Time Memory
haruharuharuby
0
3.2k
Other Decks in Technology
See All in Technology
わたしが知り合いゼロの勉強会に 行けるようになるまで
r5ni4
2
790
パスキーでドライブする アカウント統合(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
280
8bit CPU 2026
koba789
7
2.9k
カーネルまで探検して理解するふたつの自動計装
sumiyae
0
320
「ミスを許さない手順書」を作ってみた 〜 個人的にはこれ以上できることはあまりなさそう/20260827-ssmjp-operation-procedure-update
opelab
2
640
コミュニティから始まった農業IoTとの7年間 ——人との関わりが教えてくれたこと
peacemaker07
0
110
フィジカルAIの知識ゼロの僕でも AIを使えばここまでできた
tatsuya1970
0
180
The Django UUID Story - DjangoCon US 2026
pauloxnet
0
260
AI駆動開発を組織で促すために
lycorptech_jp
PRO
1
1.8k
Claude Teamプランの コスト最適化を考える
rfdnxbro
0
700
ブラウザで変わるID連携(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
270
VLMで2.3万枚のPyCon JP写真を検索!
terapyon
1
510
Featured
See All Featured
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.5k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.4k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
2
3.8k
Skip the Path - Find Your Career Trail
mkilby
1
190
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Being A Developer After 40
akosma
91
590k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
480
Designing for humans not robots
tammielis
254
26k
A Modern Web Designer's Workflow
chriscoyier
698
190k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
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.