Skip to main content

A scheduled job wrapper for ECS, focused on email reporting and adding docker exec and local command abilities.

Project description

Project Status: Active – The project has reached a stable, usable state and is being actively developed.

A scheduled job wrapper for ECS, focused on email reporting and adding docker exec and local command abilities.

This is a very, very esoteric project with a really niche use case.

I’ve migrated my very small personal AWS infrastructure to a single t2.micro ECS instance. I’m also trying to migrate some of my personal stuff from my desktop computer to that instance. I need a way to run scheduled tasks and report on their success or failure, and maybe some output (I have a cron wrapper script that does this on my desktop). But my AWS spend is about $15/month and I don’t want to go over that just because of a bunch of CloudWatch alarms. Also, sometimes the scheduled things I want to run are really docker exec into existing task containers.

This is a Python project (distributed as an ECS-ready Docker image) that aims to handle running scheduled things and then sending an email report on their success or failure. The main shortcomings this intends to address are the lack of simple built-in failure monitoring for Scheduled ECS Tasks, the lack of a built-in way to execute a command in a running (ECS Service) container, and the lack of useful email reports.

The generated email reports look like (this one for exampleconfig.yml):

screenshot of generated HTML email report

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

ecsjobs-1.0.0.tar.gz (49.8 kB view details)

Uploaded Source

Built Distribution

ecsjobs-1.0.0-py2.py3-none-any.whl (80.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ecsjobs-1.0.0.tar.gz.

File metadata

  • Download URL: ecsjobs-1.0.0.tar.gz
  • Upload date:
  • Size: 49.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for ecsjobs-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c9a22088ea2ca85224691d8d8932c15ac62aee170abb992a9561e6a540df3113
MD5 d4e4562bd0cb19f254d8d003d1129adb
BLAKE2b-256 0f209d63414941626e8d61e5438327b53d2edc60d368cd94e9a063e3fb0ecaf8

See more details on using hashes here.

File details

Details for the file ecsjobs-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: ecsjobs-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 80.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for ecsjobs-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 61f8c2f02268df42a0833743bd59ffd3e770f7787ee6d38b36c8836795386873
MD5 a3029fd4862ddfbab9622d320ce6bf5b
BLAKE2b-256 a23e20931fa55cb20fd9b6cc00f721c430de09094099e42024be18ec8bce019e

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