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: 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


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.16.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

aeropress-0.0.16-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file aeropress-0.0.16.tar.gz.

File metadata

  • Download URL: aeropress-0.0.16.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.7.0

File hashes

Hashes for aeropress-0.0.16.tar.gz
Algorithm Hash digest
SHA256 354733a4f9e24e0d090538145c53dd20993a2e119745e85394746545f51eb7c8
MD5 bd4020c7ad70297e3398b6031991a600
BLAKE2b-256 3844b7fff86f48578ef34979829f7deea83703c63e9c49dfe5f2f0786443c934

See more details on using hashes here.

File details

Details for the file aeropress-0.0.16-py3-none-any.whl.

File metadata

  • Download URL: aeropress-0.0.16-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.7.0

File hashes

Hashes for aeropress-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 8187e561486836b2680487829ca1f3a772977187150644784bdb78b39447a8b8
MD5 2baf7a0a10340dd159bf1edb3275339f
BLAKE2b-256 ebf69ba549e5779b6e2db95c5161a3ee0184fc7abd5dadc211aa9059958b2f21

See more details on using hashes here.

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