Skip to main content

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: aeropress [-h] [--logging-level {debug,info,warning,error}] [--version]
                path image_url

aeropress AWS ECS deployment helper

positional arguments:
path                  Config path that includes service definitions.
image_url             Image URL for docker image.

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 'example/foo.yaml' 'registry.hub.docker.com/library/python'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aeropress-0.0.8.tar.gz (8.9 kB view hashes)

Uploaded Source

Built Distribution

aeropress-0.0.8-py3-none-any.whl (12.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page