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?

demandé il y a 2 ans233 vues
2 réponses
0

AWS Batch would be highly recommended here.

AWS
répondu il y a 2 ans
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
EXPERT
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions