$30 off During Our Annual Pro Sale. View Details »

「アプリケーション開発_運用をもっと楽に」を実現するAWS開発、運用系サービスの活用

tsujiba
September 04, 2023

 「アプリケーション開発_運用をもっと楽に」を実現するAWS開発、運用系サービスの活用

2023/09/02 JAWS-UG高知 Vol.13 & SORACOM UG四国の発表資料です。

tsujiba

September 04, 2023
Tweet

More Decks by tsujiba

Other Decks in Technology

Transcript

  1. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
    © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
    Yu Tsujibayashi
    Solution Architects
    Amazon Web Service Japan G.K.
    「アプリケーション開発、運用をもっと楽に」
    を実現するAWS開発、運用系サービスの活用
    J A W S - U G 高 知 2 0 2 3 / 9 / 2

    View Slide

  2. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
    自己紹介
    名前:辻林 侑(つじばやし ゆう) 2/28 生まれ
    所属:アマゾン ウェブ サービス ジャパン
    技術統括本部 西日本ソリューショングループ
    ソリューションアーキテクト
    経歴:国内電機メーカでシステムエンジニア
    好きなサービス:Amazon CloudWatch
    2

    View Slide

  3. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
    クラウドアプリケーション開発に必要なもの
    3
    環境構築
    アプリケーション
    セキュリティ
    リリース管理
    組織内での
    一貫性
    テクノロジー
    構成
    ツールの運用
    ツール
    インテグレーション
    コラボレーション

    View Slide

  4. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. 4
    環境構築
    アプリケーション
    セキュリティ
    リリース管理
    組織内での
    一貫性
    テクノロジー
    構成
    ツールの運用
    ツール
    インテグレーション
    コラボレーション
    これらの作業は
    想像以上に大変ではないでしょうか?
    クラウドアプリケーション開発に必要なもの

    View Slide

  5. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
    DEPLOY
    TEST
    BUILD
    SOURCE /
    ARTIFACT
    CODING
    AWS CodePipeline
    AWS Cloud9
    AWS IDE Toolkits
    AWS CodeCommit
    + AWS CodeArtifact
    AWS CodeBuild AWS CodeBuild
    + Third Party
    AWS CodeDeploy
    アプリケーションリリースまでのプロセス

    View Slide

  6. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
    AWS Codeシリーズを組み合わせると良さそうだけど・・・
    オールインワンソリューションで素早く始めたい
    なるべく簡単に CI 環境を⽤意したい

    View Slide

  7. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. 7
    実際、ビジネスに集中するため、
    組織が統合ツールを求めることが増えています
    統合されている
    オーバーヘッド減少
    統合されていない
    オーバーヘッド増加
    ⾃分で
    ビルドする
    オーダーメイド
    ツールチェーン
    サービス
    スイート
    統合された
    体験

    View Slide

  8. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
    Amazon CodeCatalyst: 統合ソフトウェア開発サービス
    8
    計画
    プロジェクト
    マネジメント
    コラボ
    レーション
    コード
    ビルド
    テスト
    … デプロイ
    ü マネージド
    ü オールインワン
    ü 統合されている
    ü セキュリティ重視
    ü フレキシブル
    2023/4/20 GA

    View Slide

  9. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
    Amazon CodeCatalyst:メリット
    9
    プロジェクトの
    セットアップを加速
    ⽇々のワークフロー
    を⾃動化
    ⾃動化された環境
    スムーズな
    コラボレーション

    View Slide

  10. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
    プロジェクトの
    セットアップを加速
    10
    統合プロジェクトツールを
    数分でセットアップ
    適切に設計された
    アプリケーションパターン
    のライブラリから選択
    GitHub やJira
    を使い続けることも可能
    既存のプロジェクトの
    作業を継続することも可能

    View Slide

  11. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
    Blueprint の例
    11
    シングルページアプリケーション REST API
    ・基本的な ウェブ 3層
    ・コンテナで Java/Node.js API
    ・データの ETL 処理
    ・サーバーレスな画像/⽂書処理
    など
    そのほかにも︕
    これらをベースにしてすぐに開発が始められる

    View Slide

  12. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
    日々のワークフローを自動化
    12
    デプロイメントの⾃動化 セキュアなリリース⾃動化
    ビジュアルエディター
    または YAML による作成
    柔軟性に優れたマネージド
    コンピュートでビルド
    GitHub アクション
    との併⽤
    テストとレポート作成を
    効率化
    ビルドの来歴 …

    View Slide

  13. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
    自動化された環境:
    開発環境
    13
    必要に応じて環境の
    サイズを変更
    コンテキストをすばやく
    切り替える
    コードとして定義
    オンデマンドで
    起動
    ⼈気の IDE
    を利⽤可能
    ⾃分のコードだけに集中
    開発環境の作成

    View Slide

  14. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
    スムーズなコラボレーション
    14
    チームメイトを
    メールで招待
    Issue の追跡
    ⾃動通知を設定
    プロジェクトの
    アクティビティを
    フォロー

    View Slide

  15. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
    CodeCatalyst を利用すると
    CodeCatalyst だけで必要な機能が揃った︕
    ブループリントから素早く環境を作れた︕

    View Slide

  16. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
    DEPLOY
    TEST
    BUILD
    SOURCE /
    ARTIFACT
    CODING
    AWS CodePipeline
    AWS Cloud9
    AWS IDE Toolkits
    AWS CodeCommit
    + AWS CodeArtifact
    AWS CodeBuild AWS CodeBuild
    + Third Party
    AWS CodeDeploy
    AWS CodeCatalyst
    アプリケーションリリースまでのプロセス

    View Slide

  17. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
    コーディングに集中したいが…
    SDK や フレームワークの使い⽅を調べるの
    に時間を取られている

    View Slide

  18. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
    DEPLOY
    TEST
    BUILD
    SOURCE /
    ARTIFACT
    CODING
    AWS CodePipeline
    AWS Cloud9
    AWS IDE Toolkits
    AWS CodeCommit
    + AWS CodeArtifact
    AWS CodeBuild AWS CodeBuild
    + Third Party
    AWS CodeDeploy
    AWS CodeCatalyst
    アプリケーションリリースまでのプロセス
    Amazon CodeWhisperer

    View Slide

  19. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
    Amazon CodeWhisperer
    G E N E R A T I V E A I に よ る コ ー デ ィ ン グ の サ ポ ー ト
    19
    コード⽣成:
    • 平易なコメントから⽣成される
    • 責任あるAI
    • セキュリティスキャン機能
    代表的な統合開発環境 (IDE) で拡張機
    能として利⽤可能
    AND
    Go, Rust, PHP, Ruby, Kotlin, C, C++,
    Shell scripting, SQL, and Scala
    AND
    Amazon SageMaker Studio, JupyterLab, CLion,
    GoLand, WebStorm, Rider, PhpStorm, RubyMine
    2023/4/13 GA

    View Slide

  20. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
    Amazon CodeWhisperer を利用すると
    調査時間が減り、集中してコードが書ける︕

    View Slide

  21. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
    DEPLOY
    TEST
    BUILD
    SOURCE /
    ARTIFACT
    CODING
    AWS CodePipeline
    AWS Cloud9
    AWS IDE Toolkits
    AWS CodeCommit
    + AWS CodeArtifact
    AWS CodeBuild AWS CodeBuild
    + Third Party
    AWS CodeDeploy
    AWS CodeCatalyst
    Amazon CodeWhisperer
    アプリケーションリリースまでのプロセス

    View Slide

  22. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
    MONITOR
    DEPLOY
    TEST
    BUILD
    SOURCE /
    ARTIFACT
    CODING
    AWS CodePipeline
    AWS Cloud9
    AWS IDE Toolkits
    AWS CodeCommit
    + AWS CodeArtifact
    AWS CodeBuild AWS CodeBuild
    + Third Party
    AWS CodeDeploy Amazon CloudWatch
    AWS CodeCatalyst
    Amazon CodeWhisperer
    アプリケーションリリースまでのプロセス

    View Slide

  23. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
    サービス状態や実際の利用状況をモニタリングする
    障害の把握や性能改善、機能改善につながる洞察を得る
    HW
    OS
    MW
    Application
    Client/Front
    Internet
    NW
    モニタリング対象

    View Slide

  24. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
    サービス状態や実際の利用状況をモニタリングする
    障害の把握や性能改善、機能改善につながる洞察を得る
    インフラに限定せずアプリケーションまで含めて
    サービスを“総合的に”評価する必要がある
    HW
    OS
    MW
    Application
    Client/Front
    HW
    OS
    MW
    Application
    Client/Front
    Internet Internet
    NW NW
    モニタリング対象

    View Slide

  25. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
    Amazon CloudWatchでサービスを総合的にモニタリング
    Infrastructure Application Monitoring
    Insights
    コンソールからのメニューで19機能︕
    AWSサービス名 概要
    CloudWatch Metrics メトリクス
    CloudWatch Log ログ
    CloudWatch Alarm アラーム
    CloudWatch Dashboard ダッシュボード
    CloudWatch Metrics Explorer メトリックス検索
    CloudWatch Metrics Stream メトリックスのリアルタイム連携
    CloudWatch Events
    ※Event Bridgeに統合
    イベント
    CloudWatch Resource Health EC2の健全性・パフォーマンス可視化
    AWSサービス名 概要
    CloudWatch Synthetics 外形監視
    CloudWatch RUM リアルユーザーモニタリング
    CloudWatch Evidently フィーチャーフラグA/Bテスト
    CloudWatch Internet Monitor インターネット監視
    CloudWatch ServiceLens トレース
    AWSサービス名 概要
    CloudWatch Contributor Insights ログの時系列分析
    CloudWatch Container Insights コンテナ分析
    CloudWatch Lambda Insights Lambda分析
    CloudWatch Application Insights アプリケーション分析
    CloudWatch Logs Insights LOG分析
    CloudWatch Metrics Insights メトリクス分析

    View Slide

  26. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
    Application Monitoring サービス
    Amazon CloudWatch
    Synthetics (canaries)
    • アプリケーションのエンドポ
    イントを監視
    • Blueprintで以下のようなモニ
    タリングか可能
    § ハートビートモニター
    § API Canary
    § リンク切れチェッカー
    § ビジュアルモニターリング
    § Canary Recorder
    § GUI ワークフロー
    Amazon CloudWatch
    Real-user monitoring
    • Web アプリケーションのパ
    フォーマンスに関するクライ
    アント側のデータをニアリア
    ルタイムで収集
    • ユーザー数、位置情報、ブラ
    ウザなど、エンドユーザーへ
    のさまざまな影響をモニター
    Amazon CloudWatch
    Evidently
    • 一般的なユーザーに向けて
    ロールアウトする前に、新機
    能の実験を行う
    • A/B テストを実施して
    Evidenceとデータに基づいて
    機能の設計を決定可能に
    サーバーとクライアントサイドのパフォーマンスモニタリング

    View Slide

  27. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
    CloudWatch Evidently と CloudWatch RUM
    Amazon CloudWatch RUM は、実際のユーザーのアプリケーション体験の特定、理解、および改善に役立つ
    インサイトを提供するメトリクスの収集をサポート
    CloudWatch Evidently は このRUMメトリクスを利用して、実験を評価

    View Slide

  28. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark.
    まとめ
    MONITOR
    DEPLOY
    TEST
    BUILD
    SOURCE /
    ARTIFACT
    CODING
    AWS CodePipeline
    AWS Cloud9
    AWS IDE Toolkits
    AWS CodeCommit
    + AWS CodeArtifact
    AWS CodeBuild AWS CodeBuild
    + Third Party
    AWS CodeDeploy Amazon CloudWatch
    AWS CodeCatalyst
    Amazon CodeWhisperer
    Evidently
    RUM
    Synthetics

    View Slide

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

    View Slide