4 ms·
If you are comfortable using AWS , You could us AWS Batch (free) with Spot Fargate jobs with Cloudwatch cron as the trigger . You only pay for the vcpu hours yo
by hackermeows 4y ago
If you are comfortable using AWS , You could us AWS Batch (free) with Spot Fargate jobs with Cloudwatch cron as the trigger . You only pay for the vcpu hours your job consumes https://aws.amazon.com/fargate/pricing/ https://aws.amazon.com/fargate/pricing/ , it’s a set it up once and forget it model.
You could use lambda if your runtime is expected to always be less than 15 minutes
Batch fargate jobs documentation -
https://docs.aws.amazon.com/batch/latest/userguide/fargate.html https://docs.aws.amazon.com/batch/latest/userguide/fargate.h...
Cloud watch cron documentation
https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/S...
https://aws.amazon.com/about-aws/whats-new/2018/03/aws-batch-as-amazon-cloudwatch-target/ https://aws.amazon.com/about-aws/whats-new/2018/03/aws-batch...
Everything can be deployed as a simple cdk app once you have your code ready in a docker repository somewhere .
There are no servers to maintain and no ongoing maintenance will be necessary
- byproxy 4y agoAWS’s Chalice framework also offers a high-level way to declare these scheduled functions (amongst other things): https://aws.github.io/chalice/ https://aws.github.io/chalice/
- santiagobasulto 4y agoHaven't used Chalice, I've heard good things. I use Zappa and it's great.