【问题标题】:Terraform - Cloudwatch alarm Elasticache cluster metricsTerraform - Cloudwatch 警报 Elasticache 集群指标
【发布时间】:2019-05-04 19:14:36
【问题描述】:

有人可以建议我们如何使用 Terraform 为“CPUUtilization”和“FreeableMemory”的 Elasticache 集群创建警报吗?

Elasticache 似乎是一个例外,我们无法获得集群级别的指标。似乎当前的解决方法是在节点级别创建警报。

下面没有尝试过,但似乎是一种解决方法 -
https://github.com/azavea/terraform-aws-redis-elasticache/blob/develop/main.tf

【问题讨论】:

    标签: amazon-elasticache terraform-provider-aws


    【解决方案1】:

    有可能,documented here

    【讨论】:

      【解决方案2】:

      这是我的 terraform 模块,用于在节点级别为 rds 和缓存集群创建 cloudwatch 警报。

      https://bitbucket.org/rkkrishnaa/terraform/src/master/

      我已添加 Jenkinsfile 以通过 CI 部署警报。

      【讨论】:

        猜你喜欢
        • 2019-12-26
        • 2021-05-25
        • 2019-07-14
        • 2021-10-30
        • 2020-03-30
        • 2023-03-06
        • 2019-08-17
        • 2018-12-27
        • 2020-03-11
        相关资源
        最近更新 更多