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
39
How Voice Technology is Changing Customer Experience from Brain Perspectives
haruharuharuby
0
67
IVSの盛り上げ役にAlexaをつかってみようか
haruharuharuby
0
770
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
3.1k
Other Decks in Technology
See All in Technology
AI時代の知識創造 ─GeminiとSECIモデルで読み解く “暗黙知”と創造の境界線
nyagasan
0
170
スプリントレビューを効果的にするために
miholovesq
9
1.7k
ビジネス文書に特化した基盤モデル開発 / SaaSxML_Session_2
sansan_randd
0
170
モバイルゲームの開発を支える基盤の歩み ~再現性のある開発ラインを量産する秘訣~
qualiarts
0
890
【Λ(らむだ)】最近のアプデ情報 / RPALT20250729
lambda
0
150
P2P ではじめる WebRTC のつまづきどころ
tnoho
1
280
ユーザー理解の爆速化とPdMの価値
kakehashi
PRO
1
110
オブザーバビリティプラットフォーム開発におけるオブザーバビリティとの向き合い / Hatena Engineer Seminar #34 オブザーバビリティの実現と運用編
arthur1
0
150
VLMサービスを用いた請求書データ化検証 / SaaSxML_Session_1
sansan_randd
0
140
Power Automate のパフォーマンス改善レシピ / Power Automate Performance Improvement Recipes
karamem0
0
280
増え続ける脆弱性に立ち向かう: 事前対策と優先度づけによる 持続可能な脆弱性管理 / Confronting the Rise of Vulnerabilities: Sustainable Management Through Proactive Measures and Prioritization
nttcom
1
230
AIに全任せしないコーディングとマネジメント思考
kikuchikakeru
0
290
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
How to train your dragon (web standard)
notwaldorf
96
6.1k
Automating Front-end Workflow
addyosmani
1370
200k
Testing 201, or: Great Expectations
jmmastey
43
7.6k
A Modern Web Designer's Workflow
chriscoyier
695
190k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
Building a Modern Day E-commerce SEO Strategy
aleyda
42
7.4k
Git: the NoSQL Database
bkeepers
PRO
431
65k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
2.9k
RailsConf 2023
tenderlove
30
1.2k
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.