draw/aws-tool-kit 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

draw/aws-tool-kit

最新稳定版本:0.36.0

Composer 安装命令:

composer require draw/aws-tool-kit

包简介

This package offer a few AWS tool kit.

关键字:

README 文档

README

Multiple tools related to Aws infrastructure.

draw:aws:cloud-watch-logs:download

Allow to download a cloud watch log locally.

A user case would be to download slow query log from a rds cluster and aggregate them locally

bin/console draw:aws:cloud-watch-logs:download /aws/rds/cluster/prod-dbcluster/slowquery prod-1 ./tmp/slow-log.log
bin/console draw:aws:cloud-watch-logs:download /aws/rds/cluster/prod-dbcluster/slowquery prod-2 ./tmp/slow-log.log --fileMode=a+

--aws-newest-instance-role

Allowing to ignore a command if it's not the newest instance in a pool of instance base on it's role.

Sometimes it's complex to configure cron that should be executed only on one instance in a pool of server that are auto-scaling. A good way to do that is to check if the current instance is the newest one, that way only one instance can be the newest at a specific time.

bin/console acme:purge-database --aws-newest-instance-role=prod

统计信息

  • 总下载量: 41.09k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-05-05