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
130
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
73
Alexa Warming Up my Live Stream!
haruharuharuby
1
56
AAJUG meetup September
haruharuharuby
0
18
How Voice Technology is Changing Customer Experience from Brain Perspectives
haruharuharuby
0
40
IVSの盛り上げ役にAlexaをつかってみようか
haruharuharuby
0
600
Let's make a blog with live streaming in 10 minutes
haruharuharuby
0
490
Alexa Audio Player @Deep Diving
haruharuharuby
0
250
VoiceLunchJp#02 Share VUI App and reputation
haruharuharuby
1
230
Alexa Summer Time Memory
haruharuharuby
0
2.8k
Other Decks in Technology
See All in Technology
「共通基盤」を超えよ! 今、Platform Engineeringに取り組むべき理由
jacopen
25
5.8k
転移学習とドメイン適応の基礎
kmatsui
2
570
AIQ株式会社 エンジニア向け会社紹介資料
aiqlab
0
370
最近たまに見かけるTiDBってなんだ? - Findy
pingcap0315
2
580
"好き"との生活/Regularly update profile with GitHub Actions
judeeeee
0
150
「手動オペレーションに定評がある」と言われた私が心がけていること / phpcon_odawara2024
blue_goheimochi
2
320
強みを伸ばすキャリアデザイン
yug1224
0
200
「ふりかえりのふりかえり」をふりかえり、実のあるふりかえりにする
naitosatoshi
0
220
小さな開発会社がWebサービスを作る理由
polidog
PRO
1
160
HEXA OSINT CTF V3 作戦会議
meow_noisy
0
110
Tebiki株式会社 エンジニア採用資料
tebiki
0
4.1k
シン・Kafka / shin-kafka
oracle4engineer
PRO
7
2.7k
Featured
See All Featured
Teambox: Starting and Learning
jrom
128
8.4k
RailsConf 2023
tenderlove
2
530
Robots, Beer and Maslow
schacon
PRO
155
7.9k
The Straight Up "How To Draw Better" Workshop
denniskardys
227
130k
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
Fireside Chat
paigeccino
20
2.6k
Building a Scalable Design System with Sketch
lauravandoore
455
32k
jQuery: Nuts, Bolts and Bling
dougneiner
59
7.1k
Typedesign – Prime Four
hannesfritz
36
2.1k
Designing for humans not robots
tammielis
247
25k
Bootstrapping a Software Product
garrettdimon
PRO
301
110k
The Pragmatic Product Professional
lauravandoore
24
5.8k
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.