Batch and Spot Interruptions

0

Customer is asking if their Batch job that execute on spot is interrupted due to spot price increasing beyond their threshold, will Batch resubmit the job when the spot price falls again, or will the customer have to manually resubmit?

AWS
AWS-KH
已提問 6 年前檢視次數 667 次
1 個回答
0
已接受的答案

AWS Batch has a mechanism for job retry. Documentations here: https://docs.aws.amazon.com/batch/latest/userguide/job_retries.html

Some quote from the doc:

You can apply a retry strategy to your jobs and job definitions that allows your jobs to be automatically retried if they fail. Possible failure scenarios include:

Any non-zero exit code from a container job

Amazon EC2 instance failure or termination

Internal AWS service error or outage

When a job is submitted to a job queue and placed into the RUNNING state, that is considered an attempt. By default, each job is given one attempt to move to either the SUCCEEDED or FAILED job state. However, both the job definition and the job submission workflows allow you to specify a retry strategy with between 1 and 10 attempts. For more information, see Retry Strategy.

AWS
已回答 6 年前
profile picture
專家
已審閱 1 個月前

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

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

回答問題指南