分享一个 devops 小工具，用 lambda+python 实现的，自动清理 aws elasticsearch，清理规则 tag 在集群上即可，很方便
Lambda curator is a lambda function deletes old AWS ElasticSearch indices using curator.
All you need to do is tagging existing ES cluster.
It's as easy as launching a CloudFormation (or
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.
A single installation can handle all enabled clusters across all available AWS regions, but can be restricted to fewer regions if desired.