Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Step Functions First - サーバーレスアーキテクチャの新しいパラダイム

Step Functions First - サーバーレスアーキテクチャの新しいパラダイム

発言は個人の見解であり、組織を代表しません。

24th dev で登壇した内容になります。

Avatar for Taiki Sugawara

Taiki Sugawara

July 22, 2025
Tweet

More Decks by Taiki Sugawara

Other Decks in Technology

Transcript

  1. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved. サーバーレスアーキテクチャの新しいパラダイム 菅原 太樹 (Taiki Sugawara) 2 4 T H D E V # 3 ~ 好 き な 技 術 シ ェ ア 会 ~ アマゾンウェブサービスジャパン合同会社 ソリューションアーキテクト Step Functions First
  2. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. 菅原 太樹 (Taiki Sugawara) アマゾンウェブサービスジャパン合同会社 ソリューションアーキテクト (保険業界担当) Serverless 技術領域 経歴 • ⾼校教員 • 決済アプリ開発エンジニア X: @taikis_tech
  3. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. 免責事項 • 本資料の内容、セッションの内容は個⼈の⾒解であり、組織を代表するものでは ありません。 • 資料の正確性には注意をしていますが、公式 HP と不整合が⽣じた場合には公式 の HP が優先されます。
  4. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. 好きなサービス AWS Step Functions
  5. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. 今⽇話すこと / 話さないこと 話すこと • ワークフローサービスの活⽤ • “サーバーレス”の整理 • Step Functions First という考え⽅の提案 話さないこと • Step Functions の機能紹介 • Step Functions の過激な押し売り AWS Step Functions
  6. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. サーバーレスの歴史と現在地
  7. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. サーバーについて検討すること なくアプリケーションを構築 して実⾏する Amazon Web Services
  8. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Before ”Serverless” – 2012 2006 年 GA Amazon SQS 2008 年 リリース Google App Engine ”Serverless” 推定 2012 年 広まったのはもっと後
  9. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. After “Serverless” • AWS Lambda • 2014 年 GA • Amazon API Gateway • 2015 年 GA
  10. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Serverless First Serverless Serverless Non-Serverless Technologies Serverless Serverless Non-Serverless Technologies Serverless Serverless Serverless
  11. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Serverless First • 開発運⽤において サーバーレスを優先する考え⽅ • 組織はまず第⼀にサーバーレスを考える • 全てのワークロードに適していない • 必要に応じて⾮サーバーレスを使⽤ “これは、他の技術を認めないという サーバーレスマストではない。” Serverless Serverless Non-Serverless Technologies Serverless Serverless Serverless
  12. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. AWS Step Functions
  13. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. AWS Step Functions サーバーレスで、ローコードのビジュアルワークフローサービス • 従量課金制 • 自動でスケール • マネージドサービス • ドラッグ&ドロップ • ASLファイルの編集 • エラーハンドリング • 200以上のサービスと統合
  14. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. AWS Step Functions の進化 • AWS SDK 統合による ほぼ全ての AWS サービスとの統合 • 同期実⾏のサポート • 並列実⾏ • エラー処理 • デバッグ / テストのネイティブサポート • 🆕 組み込み関数による簡易処理
  15. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved. Step Functions First Rob Sutter Ex-Sr. Developer Advocate AWS
  16. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Step Functions First Serverless Serverless Non-Serverless Technologies Serverless Serverless Serverless Serverless Non-Serverless Technologies Serverless Serverless Serverless AWS Step Functions workflow Non-Serverless Technologies
  17. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. From code to workflow 単一のワークフローでさえ Step Functions へ落とし込む価値が 十分にある app.js const AWS = require('aws-sdk'); const docClient = new AWS.DynamoDB.DocumentClient(); async function queryItems(){ try { const data = await docClient.getItem(params).promise() return data } catch (err) { return err } } var params = { "TableName": "reinvent2022!", "Key": { "PK": {"S": "Wardrobe"}, "SK": {"S": ”shoes"} } } exports.handler = async (event, context) => { try { const data = await queryItems() return { body: JSON.stringify(data) } } catch (err) { return { error: err } } }
  18. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Step Functions First • Step Functions を優先に考える • 全てのワークロードに適していない • 必要に応じて Step Functions 以外の コンポーネントを使⽤ “銀の弾丸は存在しない” Serverless Non-Serverless Technologies Serverless Serverless Serverless AWS Step Functions workflow Non-Serverless Technologies
  19. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Cloud Sushi – Step Functions First な設計
  20. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. まとめ • ぜひ仕様を深掘りしてみてください • これ Step Functions でできる︖ → 意外とできたりします Serverless Non-Serverless Technologies Serverless Serverless Serverless AWS Step Functions workflow Non-Serverless Technologies Step Functions First 150 を超えるパターン 私のセッション
  21. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. 参考⽂献 • サーバーレスのおとぎ話は終わったのか︖ • https://www.gomomento.com/jp/resources/blog-jp/is-the-serverless- fairytale-over/ • AWS Lambdaと歩んだ“サーバーレス”と今後 #lambda_10years • https://speakerdeck.com/yoshidashingo/awslambda10yrs-ab543d60-9168- 4121-8753-fd4a93920287 •