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

Amazon CloudWatch の進化

Mitsuaki Tsugo
April 15, 2025
270

Amazon CloudWatch の進化

2025/4/16に開催されたAWS 春の Observability 祭り登壇資料
Amazon CloudWatchの全体像と特徴について簡単に説明しています。

Mitsuaki Tsugo

April 15, 2025
Tweet

Transcript

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

    rights reserved. Amazon Confidential and Trademark. 1 © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. Amazon CloudWatch の進化 Mitsuaki Tsugo 春 の O b s e r v a b i l i t y 祭 り 2 0 2 5 〜 進 化 す る A m a z o n C l o u d W a t c h 基 礎 か ら 最 新 機 能 ま で 完 全 解 説 〜 Solutions Architects Amazon Web Service Japan G.K.
  2. © 2024, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 2 ⾃⼰紹介 津郷 光明 Mitsuaki Tsugo アマゾンウェブサービスジャパン ソリューションアーキテクト 製造業のお客様を中⼼にご⽀援しています。 Observability / IaC x GenAI が最近のテーマ 2
  3. © 2024, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 3 Observability helps you サービス状態 ( 正常 / 異常 )の把握 パフォーマンスと 可⽤性の向上 運⽤コストの 削減 顧客体験の 向上 サードパーティシステムのセットアップ、 構成、学習の運⽤負荷を軽減 ウェブサイトのリアルユーザー パフォーマンスを収集・測定 顧客からの通知前に問題を解決 潜在的なバグの発⾒と修正を⾼速化、 機能開発が加速 System Business
  4. © 2024, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 4 Observability メトリクス ログ トレース 時間間隔で計測されたデータの数値表現 傾向の把握、予測に役⽴つ タイムスタンプが記録された、時間の 経過とともに起こったイベントの記録 予測不可能な振る舞いの発⾒に役⽴つ エンドツーエンドのリクエストフローの記録 リクエストの流れと構造の両⽅を 可視化することで因果関係の追跡 に役⽴つ Observability でよく利⽤されるテレメトリデータ
  5. © 2024, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 5 AWS Observability Services Observability Stack Collectors and SDKs Container insights Lambda insights Contributor insights Application insights Synthetics Dashboards Alarms AWS Services Amazon CloudWatch Open source managed services Amazon Managed Grafana Third-party solutions Metrics CloudWatch agent AWS Distro for OpenTelemetry Network monitor Logs Amazon OpenSearch Service Amazon Managed Service for Prometheus Fluent Bit RUM AWS X-Ray Amazon CloudWatch Application Signals Database insights
  6. © 2024, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 6 Auto-scaling and serverless 監視の集約 分析・トラブルシュート Amazon CloudWatch A W S の リ ソ ー ス 、 ア プ リ ケ ー シ ョ ン 、 オ ン プ レ ミ ス の モ ニ タ リ ン グ サ ー ビ ス ⽣成 AI を利⽤した状況把握・運⽤改善 ⾃動アクション
  7. © 2024, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 7 Amazon CloudWatch は⼤きく投資され、進化している 7 分離されたサービスの中で機能だけでなく、コードやライブラリも柔軟に 選定され開発されている AWS re:Invent 2024 Dr. Werner Vogels, VP and CTO at Amazon.com Keynoteより
  8. © 2024, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 8 Amazon CloudWatch の何が良いのか 広いカバー領域 導⼊の簡易さ 柔軟性
  9. © 2024, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 9 Amazon CloudWatch の何が良いのか 広いカバー領域 導⼊の簡易さ 柔軟性
  10. © 2024, Amazon Web Services, Inc. or its affiliates. All

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

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

    rights reserved. Amazon Confidential and Trademark. 12 テレメトリデータを取得する対象は拡⼤している 12 ユーザー/ クライアント サービス プロバイダ 通信経路 提供サービスの正常性確認 • サービス提供のエラー、パフォーマンス • マイクロサービスにおける各サービスの状態 ユーザビリティの確認 • ユーザー視点でのレイテンシー、エラー • ユーザー影響の詳細な分析 通信経路がユーザーに与える影響 • インターネットが与える影響 全てのレイヤーでテレメトリを取得し、監視・分析する スコープ モニタリング・分析観点
  13. © 2024, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 13 テレメトリデータを取得する対象は拡⼤している 13 ユーザー/ クライアント サービス プロバイダ 通信経路 提供サービスの正常性確認 • サービス提供のエラー、パフォーマンス • マイクロサービスにおける各サービスの状態 ユーザビリティの確認 • ユーザー視点でのレイテンシー、エラー • ユーザー影響の詳細な分析 通信経路がユーザーに与える影響 • インターネットが与える影響 全てのレイヤーでテレメトリを取得し、監視・分析する スコープ モニタリング・分析観点 すべて CloudWatch で対応できます
  14. © 2024, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 14 CloudWatch は全てのレイヤーを網羅する ユーザー/ クライアント サービス プロバイダ 通信経路 スコープ CloudWatch 機能マッピング Synthetics RUM Internet monitor Network Synthetic Monitor Metrics Logs Network Flow Monitor CloudWatch agent
  15. © 2024, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 15 CloudWatch はテレメトリ収集から分析まで網羅する 計装 収集/保管 可視化 分析 通知 収集実装 データ加⼯ 保管設定 ⽬的別 ダッシュボード 原因分析 相関分析 事象連絡 ⾏動へ
  16. © 2024, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 16 CloudWatch はテレメトリ収集から分析まで網羅する 計装 収集/保管 可視化 分析 通知 収集実装 データ加⼯ 保管設定 ⽬的別 ダッシュボード 原因分析 相関分析 事象連絡 ⾏動へ Container insights Lambda insights Contributor insights Application insights Synthetics Dashboards Alarms Metrics Logs RUM CloudWatch agent AWS Distro for OpenTelemetry Fluent Bit Amazon CloudWatch Application Signals
  17. © 2024, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 17 Amazon CloudWatch の何が良いのか 広いカバー領域 導⼊の簡易さ 柔軟性
  18. © 2024, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 18 Observability メトリクス ログ トレース 時間間隔で計測されたデータの数値表現 傾向の把握、予測に役⽴つ タイムスタンプが記録された、時間の 経過とともに起こったイベントの記録 予測不可能な振る舞いの発⾒に役⽴つ エンドツーエンドのリクエストフローの記録 リクエストの流れと構造の両⽅を 可視化することで因果関係の追跡 に役⽴つ Observability でよく利⽤されるテレメトリデータ
  19. © 2024, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 19 CloudWatch / X-Ray は最初の選択肢 メトリクス ログ トレース Amazon CloudWatch AWS X-Ray Amazon CloudWatch Application Signals
  20. © 2024, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 20 CloudWatch / X-Ray は最初の選択肢 • AWS サービスに対するビルトインの メトリクスやログ、トレースが利⽤可能 特に準備不要でテレメトリデータの収集を始められる e.g. EC2、RDS、Lambda、ECS、S3、DynamoDB…more • AWS サービスとのインテグレーションが容易 テレメトリデータの S3 へのバックアップ Alarm からのオートメーション処理 …more • 1 プラットフォームで完結できる • サーバーレスで管理不要 計装の簡易さ
  21. © 2024, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 21 Amazon CloudWatch Application Signals サービスの検出/ トポロジー可視化 ダッシュボード提供 トレース・メトリクスの 確認 CloudWatch Synthetics / CloudWatch RUM との連携 SLOモニタリング テレメトリデータ ⾃動収集 アプリケーションの状態を把握・分析するための情報を⾃動で収集・可視化 計装・可視化の簡易さ
  22. © 2024, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 22 SLO Dashboard Services Dashboard Service Map Service 計装・可視化の簡易さ
  23. © 2024, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 23 ⾃然⾔語でデータ分析クエリ CloudWatch Logs Insight と Metrics Insights で ⽣成 AI により⾃然⾔語でクエリを⽣成 23 § ⾃然⾔語の質問からクエリ⽣成 § ⽣成したクエリの解説も付与 クエリ構⽂の学習を⽀援 § ⾃然⾔語を利⽤して既存クエリを改良 繰り返し実⾏するクエリの継続的な改善に有益 § 英語のみサポート 専⾨知識がなくても分析が可能に 分析の簡易さ
  24. © 2024, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 24 Amazon CloudWatch の何が良いのか 広いカバー領域 導⼊の簡易さ 柔軟性
  25. © 2024, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 25 進化した CloudWatch Agent CloudWatch Agent • OpenTelemetryに対応 • OpenTelemetry Protocol(OTLP)をサポート • X-Ray SDK のデータ転送先として利⽤可能に • 旧来の CloudWatch Agent • X-Ray daemon • OpenTelemetry Collector の役割 計装の柔軟性 CloudWatch x OpenTelemetry の 実装が可能に
  26. © 2024, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 26 CloudWatch Logs と OpenSearch が Zero-ETL 統合 26 • CloudWatch Logs Insights で、OpenSearch SQL と PPL (パイプ処理⾔語) が利⽤可能に • CloudWatch Logs Insights 上で 以下のログの OpenSearch のダッシュボードを設定なしに作成可能 • VPC Flow logs / WAF / CloudTrail の ログ • Zero-ETL 統合によりデータをコピーせずに CloudWatch のログを OpenSearch 上で分析可能 • OpenSearch から CW Logs へのダイレクトクエリを サポートしているリージョンで利⽤可能 (東京リージョン含む ) https://docs.aws.amazon.com/ja_jp/opensearch-service/latest/developerguide/direct- query.html#direct-query-cloudwatch-logs-regions-table https://aws.amazon.com/jp/blogs/news/new-amazon-cloudwatch-and-amazon-opensearch-service-launch- an-integrated-analytics-experience/ 可視化の柔軟性
  27. © 2024, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 27 Amazon CloudWatch Database Insights • すべてのデータベーステレメトリを CloudWatch の統合 ビューで可視化(事前構築済みの以下2つのビューを提供) • Fleet Health:DBフリート全体の状態把握のためのビュー • Database Instance:DB インスタンス毎の詳細なビュー • 有効時にStandard または Advanced モードを選択 (2つモードの違いはこちらを参照) • Amazon Aurora MySQL / Postgres でサポート • 東京、⼤阪を含む全商⽤リージョンで利⽤可能 27 Amazon Aurora データベースオブザーバビリティ機能を発表 ※Advanced モード有効にはPerformance Insights 有効化が必要 ※ 参考Blog https://aws.amazon.com/jp/blogs/news/new-amazon-cloudwatch-database-insights-comprehensive-database-observability-from-fleets-to-instances/ 分析の柔軟性
  28. © 2024, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 29 Amazon CloudWatch の何が良いのか 広いカバー領域 導⼊の簡易さ 柔軟性
  29. © 2024, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 30 ここでご紹介したものは概要と⼀部機能のみ この後のパートにご期待ください
  30. © 2024, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 31 まとめ • Amazon CloudWatch は継続的な進化を続けており機能も拡⼤ • CoudWatch の良さは”広いカバー領域” ”導⼊の簡易さ” ”柔軟性” • 最近は OpenTelemetry にも対応
  31. © 2024, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon Confidential and Trademark. 32 Thank you! © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Confidential and Trademark. Mitsuaki Tsugo Solutions Architect