4 ms·
It's just python running in a docker container in a scheduled task on ECS once an hour. I built it to test the pattern for work. I use a trello integration lib
by whatsmyusername 7y ago
It's just python running in a docker container in a scheduled task on ECS once an hour. I built it to test the pattern for work.
I use a trello integration library, shell out for youtube-dl, run a normalizer on anything it pulls, boto3 the files to s3 and then call SNS to text me it's done. I pick the files up later.
When youtube-dl updates (which it does, regularly) I just redeploy as it's tagged for latest in the requirements file. I could add this update step to the container or pull a copy from s3 that I maintain, but I'm not a big fan of pulling in code at runtime.
Trello is acting as an SQS queue, RabbitMQ queue, or redis set. If something fails the code will dump the error text into the card and retry indefinitely till I fix it.
This entire setup costs me < $1 a month. I think my route53 domains cost more.