爱意满满的作品展示区。
harmy

分享一个自动清理 aws elasticsearch 的小工具

  •  1
     
  •   harmy ·
    harmy · Jun 2, 2018 · 3077 views
    This topic created in 2905 days ago, the information mentioned may be changed or developed.

    分享一个 devops 小工具,用 lambda+python 实现的,自动清理 aws elasticsearch,清理规则 tag 在集群上即可,很方便

    https://github.com/harmy/lambda-curator

    Lambda Curator

    Lambda curator is a lambda function deletes old AWS ElasticSearch indices using curator.

    All you need to do is tagging existing ES cluster.

    Getting Started

    Installation

    It's as easy as launching a CloudFormation (or Terraform) stack and setting the prefix=retention_period tag on existing ES cluster. All the required infrastructure and configuration will be created automatically, so you can get started as fast as possible.

    Launch

    A single installation can handle all enabled clusters across all available AWS regions, but can be restricted to fewer regions if desired.

    2 replies    2018-06-03 19:12:22 +08:00
    laxenade
        1
    laxenade  
       Jun 3, 2018 via Android
    那有没有自动清理 lambda 和 cfm 的(手动滑稽
    harmy
        2
    harmy  
    OP
       Jun 3, 2018
    @laxenade 你说的这两个,貌似都不适合自动清理啊:)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2869 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 12:25 · PVG 20:25 · LAX 05:25 · JFK 08:25
    ♥ Do have faith in what you're doing.