Processing Background Jobs on AWS: Cost of Lambda vs. ECS vs. ECS Fargate
mkdev.me" It might be, that spinning up an ECS Service will be more cost-effective for your particular workload. It's also not unusual, that plain EC2 instances will offer the best combination of price and performance. You have to do the math."
And if you're doing anything non-trivial, getting a dedicated box may be the actual best combination of price and performance.