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
160
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
76
Alexa Warming Up my Live Stream!
haruharuharuby
1
65
AAJUG meetup September
haruharuharuby
0
28
How Voice Technology is Changing Customer Experience from Brain Perspectives
haruharuharuby
0
47
IVSの盛り上げ役にAlexaをつかってみようか
haruharuharuby
0
660
Let's make a blog with live streaming in 10 minutes
haruharuharuby
0
500
Alexa Audio Player @Deep Diving
haruharuharuby
0
260
VoiceLunchJp#02 Share VUI App and reputation
haruharuharuby
1
250
Alexa Summer Time Memory
haruharuharuby
0
2.9k
Other Decks in Technology
See All in Technology
TinyGoを使ったVSCode拡張機能実装
askua
2
210
元旅行会社の情シス部員が教えるおすすめなre:Inventへの行き方 / What is the most efficient way to re:Invent
naospon
2
310
Python(PYNQ)がテーマのAMD主催のFPGAコンテストに参加してきた
iotengineer22
0
290
第23回Ques_タイミーにおけるQAチームの在り方 / QA Team in Timee
takeyaqa
0
270
Terraform CI/CD パイプラインにおける AWS CodeCommit の代替手段
hiyanger
1
190
Evangelismo técnico: ¿qué, cómo y por qué?
trishagee
0
320
SREの組織類型に応じた リーダシップの考察
kenta_hi
PRO
1
640
OCI Data Integration技術情報 / ocidi_technical_jp
oracle4engineer
PRO
1
2.6k
スクラム成熟度セルフチェックツールを作って得た学びとその活用法
coincheck_recruit
1
110
Team Dynamicsを目指すウイングアーク1stのQAチーム
sadonosake
1
300
私はこうやってマインドマップでテストすることを出す!
mineo_matsuya
0
320
The Role of Developer Relations in AI Product Success.
giftojabu1
0
110
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
52
13k
Optimising Largest Contentful Paint
csswizardry
33
2.9k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
The Cost Of JavaScript in 2023
addyosmani
45
6.7k
Faster Mobile Websites
deanohume
305
30k
Making the Leap to Tech Lead
cromwellryan
133
8.9k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Producing Creativity
orderedlist
PRO
341
39k
Speed Design
sergeychernyshev
24
610
A designer walks into a library…
pauljervisheath
202
24k
Building Adaptive Systems
keathley
38
2.3k
Gamification - CAS2011
davidbonilla
80
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.