Skip to content

Cheapest way to run scheduled tasks #298

Answered by kichik
sercantor asked this question in Q&A
Discussion options

You must be logged in to vote

If you need to pull and run a Docker image, you would need Docker. That won't work on Lambda and it won't work on Fargate either. Your options would be CodeBuild, ECS or EC2. If you're already using ECS for other jobs, then that would be the best option as it will allow you to share the instances. If not, EC2 should be cheaper both in absolute terms, and also by allowing you to pick instances that are smaller than the smallest CodeBuild compute size. If you can make it work with t4g.nano, for example, that would be the cheapest.

For ECS you can also share a cluster between two providers. One provider would be your main provider with beefy CPU/RAM config. The second provider will be for th…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@sercantor
Comment options

@kichik
Comment options

Answer selected by sercantor
@sercantor
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants