Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instance Role changes #1

Closed
terkalma opened this issue Jul 1, 2019 · 2 comments
Closed

Instance Role changes #1

terkalma opened this issue Jul 1, 2019 · 2 comments
Assignees

Comments

@terkalma
Copy link

terkalma commented Jul 1, 2019

Based on the awesome work you've done, I tried to put together a very similar stack, without the lambda function.
My jobs were stuck in a Runnable state. After going through this article: https://aws.amazon.com/premiumsupport/knowledge-center/batch-job-stuck-runnable-status/ I saw that the recommended policy for the instance role is AmazonEC2ContainerServiceforEC2Role. (See under "Verify the container instance IAM role")

After updating AmazonECSTaskExecutionRolePolicy to AmazonEC2ContainerServiceforEC2Role here:
https://github.com/dejonghe/aws-batch-example/blob/master/cloudformation/batch/batch-example.yml#L129 my jobs started going through just fine.

@dejonghe dejonghe self-assigned this Sep 20, 2019
@dejonghe
Copy link
Owner

Looking into this. Will update shortly.

@dejonghe
Copy link
Owner

This has been updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants