CloudWatch

0 円/月

カスタムメトリクス

設定しているカスタムメトリクスの個数を入力してください。
詳細モニタリングのメトリクスは10個まで無料ですが、このサイトでは考慮していないため、無料分を差し引いた個数を入力してください。

ダッシュボード

ダッシュボードの個数を入力してください。3個までは無料です。

ログ(GB)

取り込んだログのサイズをGB単位で入力してください。5GBまでは無料です。

GetMetricData(メトリクス数)

GetMetricData/GetInsightRuleReportのAPIでリクエストしたメトリクス数を入力してください。

GetMetricWidgetImage(メトリクス数)

GetMetricWidgetImageのAPIでリクエストしたメトリクス数を入力してください。

その他のAPI(リクエスト数)

上記以外のAPIのリクエスト数を入力してください。1,000,000回までは無料です。

アラーム(標準)

標準のアラームを設定している個数を入力してください。10個までは無料です。

アラーム(高解像度)

高解像度のアラームを設定している個数を入力してください。

  • 東京リージョン
  • ひと月は30.5日
  • 150.369円/ドル(毎朝10時更新)

カスタムイベント

カスタムイベントを使用すると料金が発生しますが、単価が安かったため対象外にしています。

複合アラーム(Composite Alarm)

アラームを組み合わせて使う「複合アラーム」は対象外です。

ログの保持期間設定

ログの保持期間はデフォルトの無制限を想定しています。ログの保持期間を短く設定した場合は料金が安くなります。

CloudWatch Logs Insights

CloudWatch Logs Insightsによる分析の料金は対象外です。

データ転送送信 (アウト)

CloudWatch Logsから外部へ送信するデータ転送の料金は対象外です。

その他

Metric Streams/Vended Logs/Contributor Insights/Synthetics/Evidently/RUM などは、気が遠くなったため対象外にしています。

CloudWatchについてざっくり

システムの稼働状況を監視したり、アラートを設定したり、ダッシュボードを作成したりできます。他にも、cronのイベントを設定できたり様々な機能があるので、一言で説明するのが難しいです。

こんなページを作っておいてあれですが、入力項目が多いうえに対象外にしている項目も多いため、公式のツールの方が使いやすいです。

CloudWatchの料金計算式をざっくり

    // アーカイブされる際にgzip圧縮される
// 圧縮率は Pricing Calculator の計算過程で使用されている係数を使用
const STORAGE_COMPRESSION_FACTOR = 0.15

function calc(row, priceList) {
  const metrics = toNumber(row.metrics)
  const dashboard = toNumber(row.dashboard)
  const logCollect = toNumber(row.logCollect)
  const GetMetricData = toNumber(row.GetMetricData)
  const GetMetricWidgetImage = toNumber(row.GetMetricWidgetImage)
  const otherApi = toNumber(row.otherApi)
  const standardAlarm = toNumber(row.standardAlarm)
  const highResolutionAlarm = toNumber(row.highResolutionAlarm)

  let total = 0

  if (metrics) {
    total += calcInRange(metrics, priceList.cloudwatch.metrics.priceRange)
  }

  if (dashboard) {
    total += Math.max(dashboard - priceList.cloudwatch.dashboard.free, 0) * priceList.cloudwatch.dashboard.price
  }

  if (logCollect) {
    // 収集
    total += Math.max(logCollect - priceList.cloudwatch.log.collect.free, 0) * priceList.cloudwatch.log.collect.price

    // アーカイブ
    total +=
      Math.max(logCollect - priceList.cloudwatch.log.collect.free, 0) *
      STORAGE_COMPRESSION_FACTOR *
      priceList.cloudwatch.log.store.price
  }

  if (GetMetricData) {
    total += GetMetricData * priceList.cloudwatch.api.GetMetricData.price
  }

  if (GetMetricWidgetImage) {
    total += GetMetricWidgetImage * priceList.cloudwatch.api.GetMetricWidgetImage.price
  }

  if (otherApi) {
    total += Math.max(otherApi - priceList.cloudwatch.api.other.free, 0) * priceList.cloudwatch.api.other.price
  }

  if (standardAlarm) {
    total +=
      Math.max(standardAlarm - priceList.cloudwatch.alarm.standard.free, 0) * priceList.cloudwatch.alarm.standard.price
  }

  if (highResolutionAlarm) {
    total += highResolutionAlarm * priceList.cloudwatch.alarm.highResolution.price
  }

  return total
}
  

Google AdSenseの広告

このエリアに興味がある広告が表示された際にクリックすると、当サイトの制作者にお金が入る仕組みになっています。それがなんか嫌だなぁという方は、間違ってクリックしないように注意してください。