AWS Batch now supports Job Retries. Previously jobs would be marked as failed, if they experienced an error or the EC2 instance they were executing on failed. Now, you can define a retry strategy for a job as part of the Job Definition or when submitting a Job. By default, all jobs are attempted once and are marked as failed if they do not succeed. The retry strategy allows you to set a number of attempts for a job, which will result in a job being retried if it does not succeed. You can define up to 10 attempts for a job.
Read more about how to configure and use Job Retries in the AWS Batch documentation. Please visit our product page for more information on AWS Batch.