Download - Aws step functionsのい・ろ・は
![Page 1: Aws step functionsのい・ろ・は](https://reader035.vdocuments.pub/reader035/viewer/2022081323/5a64f9cd7f8b9ab5218b478f/html5/thumbnails/1.jpg)
AWS Step Functions の
〜LINEとAWSとTwilioとkintoneでBOTを作ってみるハンズオン〜
ヤマムギ
い・ろ・は株式会社 サーバーワークス 技術3課
森 ⼤樹
![Page 2: Aws step functionsのい・ろ・は](https://reader035.vdocuments.pub/reader035/viewer/2022081323/5a64f9cd7f8b9ab5218b478f/html5/thumbnails/2.jpg)
Who am I ?
○ 株式会社サーバーワークス 技術3課グッド・ルッキング・エンジニア
○ 元アプリケーションエンジニア
○ 呼称:「本物の⼤樹」→経理課の「元祖 ⼤樹」と対決中
○ AWS Lambda(Python)
○ ⼤阪⽣まれ⼤阪育ちの後厄(お祓い済)
● 森 ⼤樹 (2017年01⽉JOIN)
![Page 3: Aws step functionsのい・ろ・は](https://reader035.vdocuments.pub/reader035/viewer/2022081323/5a64f9cd7f8b9ab5218b478f/html5/thumbnails/3.jpg)
とはl AWSに特化したインテグレーション事業とサービスの提供l 「クラウドで、世界を、もっと、はたらきやすく」l 3年連続 APN プレミアコンサルティングパートナーl 550社 3200+プロジェクトの実績 (2017年07⽉現在)l 東京・⼤阪・福岡・仙台・札幌に拠点l 絶賛、エンジニア・営業・営業アシスタントを募集中
![Page 4: Aws step functionsのい・ろ・は](https://reader035.vdocuments.pub/reader035/viewer/2022081323/5a64f9cd7f8b9ab5218b478f/html5/thumbnails/4.jpg)
実は...
l ヤマムギのロゴ考案者
4
![Page 5: Aws step functionsのい・ろ・は](https://reader035.vdocuments.pub/reader035/viewer/2022081323/5a64f9cd7f8b9ab5218b478f/html5/thumbnails/5.jpg)
AWSStep Functions今回のお話
![Page 6: Aws step functionsのい・ろ・は](https://reader035.vdocuments.pub/reader035/viewer/2022081323/5a64f9cd7f8b9ab5218b478f/html5/thumbnails/6.jpg)
AWS Step Functions is なに?
![Page 7: Aws step functionsのい・ろ・は](https://reader035.vdocuments.pub/reader035/viewer/2022081323/5a64f9cd7f8b9ab5218b478f/html5/thumbnails/7.jpg)
AWS Step Functions is なに?
l アプリケーションのワークフローを定義
![Page 8: Aws step functionsのい・ろ・は](https://reader035.vdocuments.pub/reader035/viewer/2022081323/5a64f9cd7f8b9ab5218b478f/html5/thumbnails/8.jpg)
AWS Step Functions is なに? 〜アプリのワークフローを定義〜
u 業務や処理の⼀連の流れを定義u 作業「A」の次に作業「B」をするu 最初に作業「C」ができないようにする
![Page 9: Aws step functionsのい・ろ・は](https://reader035.vdocuments.pub/reader035/viewer/2022081323/5a64f9cd7f8b9ab5218b478f/html5/thumbnails/9.jpg)
AWS Step Functions is なに?
l アプリケーションのワークフローを定義l ワークフローを可視化
![Page 10: Aws step functionsのい・ろ・は](https://reader035.vdocuments.pub/reader035/viewer/2022081323/5a64f9cd7f8b9ab5218b478f/html5/thumbnails/10.jpg)
AWS Step Functions is なに? 〜ワークフローを可視化〜
u 処理の流れを可視化
![Page 11: Aws step functionsのい・ろ・は](https://reader035.vdocuments.pub/reader035/viewer/2022081323/5a64f9cd7f8b9ab5218b478f/html5/thumbnails/11.jpg)
AWS Step Functions is なに?
l アプリケーションのワークフローを定義l ワークフローを可視化l シーケンシャル・分岐・並列実⾏可能
![Page 12: Aws step functionsのい・ろ・は](https://reader035.vdocuments.pub/reader035/viewer/2022081323/5a64f9cd7f8b9ab5218b478f/html5/thumbnails/12.jpg)
AWS Step Functions is なに? 〜処理ステップ〜
u 処理の流れを可視化
シーケンシャル 分岐 並列
![Page 13: Aws step functionsのい・ろ・は](https://reader035.vdocuments.pub/reader035/viewer/2022081323/5a64f9cd7f8b9ab5218b478f/html5/thumbnails/13.jpg)
AWS Step Functions is なに?
l アプリケーションのワークフローを定義l ワークフローを可視化l シーケンシャル・分岐・並列実⾏可能l 実⾏結果も可視化
![Page 14: Aws step functionsのい・ろ・は](https://reader035.vdocuments.pub/reader035/viewer/2022081323/5a64f9cd7f8b9ab5218b478f/html5/thumbnails/14.jpg)
AWS Step Functions is なに? 〜実⾏結果を可視化〜
u 実⾏結果を可視化
![Page 15: Aws step functionsのい・ろ・は](https://reader035.vdocuments.pub/reader035/viewer/2022081323/5a64f9cd7f8b9ab5218b478f/html5/thumbnails/15.jpg)
AWS Step Functionは...
15
l アプリケーションのワークフローを定義l ワークフローを可視化l シーケンシャル・分岐・並列実⾏可能l 実⾏結果も可視化
![Page 16: Aws step functionsのい・ろ・は](https://reader035.vdocuments.pub/reader035/viewer/2022081323/5a64f9cd7f8b9ab5218b478f/html5/thumbnails/16.jpg)
AWS Step Functions is なに?
l アプリケーションのワークフローを定義l ワークフローを可視化l シーケンシャル・分岐・並列実⾏可能l 実⾏結果も可視化これらができます。あとは、Lambdaの制限に注意が必要!!
![Page 17: Aws step functionsのい・ろ・は](https://reader035.vdocuments.pub/reader035/viewer/2022081323/5a64f9cd7f8b9ab5218b478f/html5/thumbnails/17.jpg)
AWS Lambdaの制限
17
lリソースリソース 制限
メモリの動的な範囲 最⼩ = 128 MB最⼤ =1536MB(64MB単位)
⼀時ディスク容量 ("/tmp"スペース) 512MB
ファイル記述⼦の数 1,024
プロセスとスレッドの数 (両者の合計) 1,024
リクエストあたりの最⼤実⾏時間 300秒
「Invoke」リクエスト本⽂のペイロードサイズ (RequestResponse) 6MB
「Invoke」リクエスト本⽂のペイロードサイズ (Event) 128K
「Invoke」レスポンス本⽂のペイロードサイズ (RequestResponse) 6MB
![Page 18: Aws step functionsのい・ろ・は](https://reader035.vdocuments.pub/reader035/viewer/2022081323/5a64f9cd7f8b9ab5218b478f/html5/thumbnails/18.jpg)
AWS Lambdaの制限
18
l同時実⾏数リソース 制限
同時実⾏数 1,000
![Page 19: Aws step functionsのい・ろ・は](https://reader035.vdocuments.pub/reader035/viewer/2022081323/5a64f9cd7f8b9ab5218b478f/html5/thumbnails/19.jpg)
AWS Step Functionsを使ったお話
19
さばわの「わ」#3https://serverworks.doorkeeper.jp/events/63815
![Page 20: Aws step functionsのい・ろ・は](https://reader035.vdocuments.pub/reader035/viewer/2022081323/5a64f9cd7f8b9ab5218b478f/html5/thumbnails/20.jpg)
ご静聴ありがとうございました。
20Thanx