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
200
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
100
Alexa Warming Up my Live Stream!
haruharuharuby
1
110
AAJUG meetup September
haruharuharuby
0
57
How Voice Technology is Changing Customer Experience from Brain Perspectives
haruharuharuby
0
100
IVSの盛り上げ役にAlexaをつかってみようか
haruharuharuby
0
1.1k
Let's make a blog with live streaming in 10 minutes
haruharuharuby
0
530
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
When Platform Engineering Meets GenAI
sucitw
0
120
エラーバジェットのアラートのタイミングを考える.pdf
kairim0
0
170
20260619 私の日常業務での生成 AI 活用
masaruogura
1
230
AI時代のコスト管理を考えよう〜明日から使える実践AWSノウハウ~
yoshimi0227
0
270
人材育成分科会.pdf
_awache
4
300
フィジカル版Github Onshapeの紹介
shiba_8ro
0
290
白金鉱業Meetup_Vol.24_「AIエージェントは分けるほど良い」は本当か? / Is it true that “the more you divide AI agents, the better”?
brainpadpr
1
410
Socrates × Looker 〜セマンティックレイヤーで進化するデータ分析エージェント〜
hanon52_
3
2.5k
2026年6月23日 Syncable Tech + Start Python Club にて
hamukazu
0
140
不要なレビューをAIにまかせて AIコーディングの環境改善を加速した
shoota
1
220
サイバーエージェントにおけるAI推進戦略と変革への取り組み
shotatsuge
0
100
Agile and AI Redmine Japan 2026
hiranabe
3
200
Featured
See All Featured
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.1k
Into the Great Unknown - MozCon
thekraken
41
2.6k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.7k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
270
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
170
Writing Fast Ruby
sferik
630
63k
How to make the Groovebox
asonas
2
2.2k
Why Our Code Smells
bkeepers
PRO
340
58k
WENDY [Excerpt]
tessaabrams
11
38k
The browser strikes back
jonoalderson
0
1.3k
Building an army of robots
kneath
306
46k
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.