Version 1.52 of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot. For up-to-date documentation, see the latest version.

AWS CloudWatch

Exporting metrics to AWS CloudWatch

You can use the metrics for monitoring and to drive auto-scaling through alerts.

Caution: Exporting custom metrics may incur significant Monitoring costs. Please review Amazon’s CloudWatch pricing. By default no metrics are exported; change that using --enable_cloudwatch and --cloudwatch_metrics_filter .


  1. Make sure the IAM account has these permissions:

    "Action": [
  2. Update the service configuration.

    For example:


    See the --cloudwatch_* flags for details.

  3. Update the cluster.

    terraform apply

Reducing costs

With --cloudwatch_metrics_filter you can select exactly which metrics are exported. (By default no metric is exported.) Reporting more metrics may increase your monitoring bill; consult the AWS CloudWatch pricing page.