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?

질문됨 일 년 전222회 조회
2개 답변
0

AWS Batch would be highly recommended here.

AWS
답변함 일 년 전
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
전문가
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠