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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南