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

Codeful Serverless / 一人運用でもやり抜く力

Avatar for kensh kensh
September 09, 2025

Codeful Serverless / 一人運用でもやり抜く力

「コードを書く必要がない時代に、AIが書き出したコードを安全に使う環境が必要になる」

このプレゼンテーションでは、AIの進化に伴うソフトウェア開発・運用の新しいパラダイムについて、特に地方企業の視点から解説しています。以下の3つの主要テーマを扱っています:

地方企業におけるサーバーレスアーキテクチャの有効性
AIとサーバーレスの統合による新しい開発・運用アプローチ
Amazon Bedrock AgentCoreを活用した安全なAIコード生成と実行環境の構築
についてや、一人運用でもAIとサーバーレス技術を活用して効率的なシステム運用を実現する方法を提示しています。特に、地方企業特有の課題をテクノロジーで解決する実践的なアプローチに焦点を当てています。

Avatar for kensh

kensh

September 09, 2025
Tweet

More Decks by kensh

Other Decks in Technology

Transcript

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

    rights reserved. Amazon Confidential and Trademark. © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. 一人運用でもやり抜く力 JAWS-UG 札幌 Kensuke Shimokawa 2 0 2 5 - 0 9 - 0 9 Amazon Web Services _kensh Slides https://speakerdeck.com/_kensh Qiita https://qiita.com/_kensh コードを書く必要がない時代に、AIが書き出したコードを安全に使う環境が必要になる Codeful Serverless
  2. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. 下川 賢介 サービス スペシャリスト統括本部 アプリケーション開発技術本部 サーバーレス スペシャリスト _kensh Slides https://speakerdeck.com/_kensh Qiita https://qiita.com/_kensh
  3. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 地方企業が直面する課題 3
  4. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. サーバーレスが地方に適している理由 4
  5. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. サーバーレス + AI の実装例 5
  6. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 実装のポイント 6 • Infrastructure as Code: CDK/SAMで自動化 • CI/CD: GitHub Actions + AWS CodePipeline • 監視: CloudWatch + SNS通知 • 開発支援AI: Q Developerでコード生成・レビュー • アプリケーションAI: Bedrock APIでインテリジェント機能
  7. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 7 ここまでは Codeless, Serverless のはなし、、
  8. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. 生成AI が変える一人運用 8
  9. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 運用者がいなくても何とかする方法 9
  10. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. AI活用の4つの柱 10 開発速度 向上 • コード生成 • レビュー 知識連携 • 手順書生成 • 設計書生成 トラブル シューテ ィング • 原因分析 • 対処提案 定型作業 の効率化 • 運用タスク 自動化
  11. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 生成AIを活用した業務効率化 11
  12. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. AI 世代の運用管理 12
  13. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. AIによるタスク管理の進化 13 • 予測的メンテナンス: 問題を事前に検知 • 自動修復: 軽微な問題は自動解決 • パーソナライズ: 個人のスキルに合わせた支援 • 学習機能: 過去の対応から最適解を提案
  14. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. AIによるタスク管理の進化 14
  15. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. エージェンティック AI への進化 15 ⽣成 AI アシスタント ⽣成 AI エージェント エージェンティック AI システム ⼀定のルールに従った 繰り返しタスクの⾃動化 より幅広いタスクに対応 1つの⽬標を達成するためのよ り幅広いタスクに対応 ワークフロー全体の⾃動化 完全⾃律型の マルチエージェントシステム ⼈間の論理と推論を模倣 ⼈ 間 に よ る 監 視 が 多 い ⼈ 間 に よ る 監 視 が 少 な い
  16. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. エージェンティック AI 活用のルート 16 研究や実証実験の プレスリリースの数 Go Liveした回数 ①計画倒れ ②実運⽤化優先 ④継続的⾰新 ③研究優先 まずはやってみるを推奨
  17. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. Amazon Bedrock AgentCore 17 あらゆるフレームワークとモデルを使用して、高機能エージェント を安全かつ大規模にデプロイして運用できます。 あらゆるフレームワーク やモデルでエージェント を作成 柔 軟 ⾼ い 信 頼 性 価 値 創 出 ま で の 時 間 インフラストラクチャや 運用上の煩わしさなしに 強力な AI エージェント を構築 組織が信頼できる、 安全でスケーラブルで 信頼性の高い エージェントを導入 (Preview in 2025.09.09)
  18. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 18 Codeful Serverless コードを書く必要がない時代に、AIが書き出したコードを安全に使う環境が必要になる
  19. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. AgentCore Code Interpreter 19 • 分離されたサンドボッ クス環境で複雑なワー クフローとデータ分析 を実⾏ • 機密データを公開せず に内部データソースに 安全にアクセスする コードを安全に実行 • API の制限なしに、 Amazon S3 統合を使 ⽤してギガバイト規模 のデータセットを効率 的に処理 大規模データ処理 • ⼀般的なライブラリが プリインストールされ た JavaScript、 TypeScript、Python ⽤のビルド済み実⾏ラ ンタイムによるクイッ クスタート 使いやすさ
  20. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. AgentCore Code Interpreter 20 クエリ 1.LLM を呼び出す 2.ツール選択 4.ツール結果 結果 セッションを作成 3.テレメトリ コードインタープリター Shell ファイル システム LLM オブザーバビリティ エージェント ユーザー
  21. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. "AWS のコスト見積もり" を行うエージェント 21
  22. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 22 DEMO
  23. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 大体のことはMCPに頼る 23 https://norahsakal.com/blog/mcp-vs-api-model-context-protocol-explained
  24. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. N:M 問題を解決する MCP の登場 24 • MCP (Model Context Protocol) • Anthropic 社によって提案された生成 AI を外部ツールに接続するための オープンな標準規格 エージェント エージェント エージェント ・・・ ツール ツール ツール ・・・ エージェント エージェント エージェント ・・・ ツール ツール ツール ・・・ 統 一 の A P I ツ ! ル 毎 の A P I MCP を使用しない場合 (N x M) MCP を使用する場合 (N + M) MCP
  25. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. MCP の構成要素 25 https://modelcontextprotocol.io/introduction MCP Hosts: IDE や Claude Desktop のような ツール連携元のアプリ MCP Clients: MCP Server と 1:1 の接続を維持 し、 MCP プロトコルで MCP サーバを呼び出すクライアント MCP Servers: 標準化されたモデルコンテキストプロトコルを 通じて特定の機能を公開する軽量プログラム Local Data Sources: MCP サーバーが、安全にアク セスできるコンピューターの ファイル、データベース Remote Services: MCP サーバーがインターネット経由で利用可能 な外部システム
  26. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. “AWS のコスト見積もり” を行うエージェント / 再掲 26 過去の見積もりや プロダクトごとのサービス選択好みを 覚えていてくれたら、、、
  27. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 過去の見積もりや傾向を覚えてくれていたら 27
  28. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. Memory Strategy の 4 つの種類 28 • SemanticMemoryStrategy: • 会話から得られた事実や知識に注目 • SummaryMemoryStrategy: • 要点や決定事項に注目 • UserPreferenceMemoryStrategy: • ユーザーの好みや選択パターンに注目 • CustomMemoryStrategy: • カスタムプロンプトで特定の情報に注目
  29. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. AgentCore Memory 29 • メモリー・インフラストラク チャを抽象化 • サーバーレスアーキテクチャ で⾃動的にスケーリング • セッション全体でエージェン トコンテキストを⾃動的に保 存および管理します メモリ管理を簡素化 • 各顧客専⽤のストレージによ る完全なデータプライバシー • 暗号化と地域別データスト レージオプションによるエン タープライズセキュリティ エンタープライズ グレード • ユースケースに基づいてメモ リパターンを定義 • 抽出ルールを設定 • モデルを選択し、メモリ抽出 のプロンプトをカスタマイズ 詳細なカスタマイズ
  30. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. AgentCore Memory 30 短期記憶 チャットメッセージ セッション状態 ⻑期記憶 セマンティック ユーザー設定 まとめ ⾃動メモリ 抽出モジュール AgentCore Memory ⾮同期 エージェント実装 メッセージ エージェント状態 イベント⼀覧 イベント メモリーレコード 取得 同期 同期 同期 ⾮同期 エージェント
  31. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. AgentCore Memory 31 • タスク、プロダクトの好みや過去の選択を記憶し、より事情に合 わせたサービスを提供 • スムーズな対話が可能になることで、効率が改善される • プロダクトごとに情報を適切に分離しプライバシーとセキュリティを確保 • 過去の対話や提案の履歴を活用して、より適切なコスト見積もり や提案ができる
  32. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. まとめ 32
  33. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 地方ならではの弱みを強みに変える 33 • サーバーレスファースト • 管理不要なインフラを選択 • コスト効率と運用効率を両立 • AI活用による効率化 • 生成AIで開発・運用を支援 • 知識不足を技術で補完 • コミュニティの力 • コミュニティでの知識共有 • 困った時は仲間に相談
  34. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. Next Action 34 • Amazon Bedrock AgentCore ワークショップ : 基本から高度な エージェント開発まで https://catalog.us-east-1.prod.workshops.aws/workshops/abd92795-9a36-4e63-a115-ad04f483248c/ja-JP
  35. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. Next Action 35 https://tokyo.serverlessdays.io ServerlessDays Tokyoは開発者による開発者のための Serverlessに関するテクノロジーカンファレンスです
  36. © 2025, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. Thank you! © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.