1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
6
Hello! If using Fargate and the subnets associated with your Batch compute environment do not have a NAT Gateway attached, your job will fail as it cannot connect to the internet to pull the Docker image. To solve this issue, you can set the assignPublicIp
parameter in the Batch job definition to be ENABLED
. For more info on Fargate compute environments in Batch, check out this documentation.
답변함 2년 전
Thanks very much. It would be worth adding this small detail to that tutorial.
관련 콘텐츠
- AWS 공식업데이트됨 2년 전
- AWS 공식업데이트됨 2년 전
- AWS 공식업데이트됨 7달 전
Update: If I change the platform to EC2 it seems to work. Any ideas why Fargate does not?
I received the same error on Fargate as well, following the same steps. +1 for this question.