1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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.
répondu il y a 2 ans
Thanks very much. It would be worth adding this small detail to that tutorial.
Contenus pertinents
- demandé il y a un mois
- demandé il y a un mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 7 mois
- AWS OFFICIELA mis à jour il y a 2 ans
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.