Amazon ECS部署工具

ecs-deplojo的Python项目详细描述


Amazon ECS的部署工具。

安装

pip安装ecs deplojo

用法

Usage: ecs-deplojo [OPTIONS]

Options:
  --config FILENAME   [required]
  --var VAR
  --dry-run
  --output-path PATH
  --role-arn <optional arn>
  --help              Show this message and exit.

示例配置

---cluster_name:exampleenvironment:DATABASE_URL:postgresql://task_definitions:web:template:task_definitions/web.jsonoverrides:uwsgi:memory:512portMappings:-hostPort:0containerPort:8080protocol:tcpmanage:template:task_definitions/manage.jsonservices:web:task_definition:webbefore_deploy:-task_definition:managecontainer:uwsgicommand:manage.py migrate --noinputafter_deploy:-task_definition:managecontainer:uwsgicommand:manage.py clearsessions

日志输出示例

Starting deploy on cluster example (1 services)
Registered new task definition web:10
Starting one-off task 'manage.py migrate --noinput' via manage:10 (uwsgi)
Updating service web with task defintion web:10
Waiting for deployments
Waiting for services: web (0/2)
Waiting for services: web (1/2)
Waiting for services: web (2/2)
Deployment finished: web (2/2)
Starting one-off task 'manage.py clearsessions' via manage:10 (uwsgi)

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
初始化非静态成员:C++与java比较   Java/Spring在线程关闭后为多租户程序获取租户?   java为什么使用WebMVCAutoConfiguration适配器类   java Jsoup将元素转换为TextNode会导致异常   java线程概念中的多线程同步   乔达皈依。时间DateTime到java。sql。日期和时区   java线程检查问题   java JavaFX显示列表的视图是什么类型的?   java Map UI组件未显示在Cuba平台中   java neo4j示例“MyRestaurantSocial”错误   java在Android中定制键盘“回车”按钮   while循环和打印列表中的Java减量变量   即使相同的处理程序正常工作,也会引发java空指针异常