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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ecsjobs-0.4.0-py2.py3-none-any.whl (70.6 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: ecsjobs-0.4.0.tar.gz
  • Upload date:
  • Size: 49.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ecsjobs-0.4.0.tar.gz
Algorithm Hash digest
SHA256 a6fdd0352e83190a9dd3a3bf329382da843bae5d574403a9bbe192d8ac78f595
MD5 f6a20346de9e6d2a5741914834659d56
BLAKE2b-256 041823fc7fdc48d60bfc5c419371811da1844b98adfe09f51f4d17ec50e7189d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ecsjobs-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 258376fcb4c66f78c22ead1dfffe66527ff22ae5dfe6b7de87751f8cb1d6e99f
MD5 01e657708ae73a1d7bddf28004cc65cf
BLAKE2b-256 b0b3b18e26703496c9b69285fd5f0b7231b2b90d9ab8584b4d626d4d56343e5e

See more details on using hashes here.

Supported by

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