Helper for deploying Docker images to AWS ECS.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file aeropress-0.0.47.tar.gz
.
File metadata
- Download URL: aeropress-0.0.47.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88957dd4d2a46e5aee1a7083b5c9b6b1cff5d1c459c7afc2365444ac4bf1c30f |
|
MD5 | f0f720d1e8b4a98884f08656166a9509 |
|
BLAKE2b-256 | 00f698b0f1915e3ccd8124becf9e05d38bf537092add006aa0d4b2df326cda6d |