EC2 vs Fargate for periodic workloads

0

Context:

Workload will be periodic and predictable Don't want to go with on-demand EC2 since most of the time it won't be active.

Questions:

How we can only spawn an ec2 when we need and close it after it's done with a task? Would fargate be a better choice for this situation?

已提问 2 年前235 查看次数
2 回答
0

AWS Batch would be highly recommended here.

AWS
已回答 2 年前
0

Also if the processing does not take long (less than 15 minutes), you can consider using Lambda functions - https://aws.amazon.com/lambda/faqs/

If your processing can take longer than 15 minutes, you can also consider AWS Step Functions Standard Workflows - https://aws.amazon.com/step-functions/faqs/

Both Lambda functions and Step Functions are completely serverless. You don't have to worry about provisioning any infrastructure.

profile pictureAWS
专家
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则