https://github.com/muraty/aeropress
AWS ECS deployment CLI
https://github.com/muraty/aeropress
ecs ecs-cli ecs-cluster ecs-deploy ecs-service ecs-task
Last synced: 10 months ago
JSON representation
AWS ECS deployment CLI
- Host: GitHub
- URL: https://github.com/muraty/aeropress
- Owner: muraty
- Created: 2019-01-25T10:07:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-01-11T08:50:41.000Z (over 2 years ago)
- Last Synced: 2025-04-05T22:18:08.847Z (about 1 year ago)
- Topics: ecs, ecs-cli, ecs-cluster, ecs-deploy, ecs-service, ecs-task
- Language: Python
- Homepage:
- Size: 83 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
aeropress
=========
``aeropress`` is a CLI program for deploying Docker images to AWS ECS. It receives a folder path that includes
ECS task and service definitions and then does the jobs respectively;
- Register ECS task definitions
- Create Cloudwatch metrics for scaling policies
- Create or update scaling policies for ECS services
- Create or update alarms on Cloudwatch
- Create or update ECS services
Installation
------------
``aeropress`` works with Python3.
::
pip3 install aeropress
Usage
-----
::
$ aeropress --help
usage: cli.py [-h] [--logging-level {debug,info,warning,error}] [--version]
{deploy,clean} ...
aeropress AWS ECS deployment helper
positional arguments:
{deploy,clean} sub-command help
deploy Deploy docker image to ECS.
clean Clean commands for stale entitites on AWS.
optional arguments:
-h, --help show this help message and exit
--logging-level {debug,info,warning,error}
Print debug logs
--version show program's version number and exit
Example
-------
You must have defined an ECS cluster first. Then, you can define ECS tasks and services in a yaml file and run
``aeropress`` with required arguments.
::
aeropress deploy --path 'example/foo.yaml' --image-url 'registry.hub.docker.com/library/python' --service-name service-foo