AWS Fargate - pulling from a private repo
update As of 2018 This answer is no longer valid; You can now use private registries. see https://stackoverflow.com/a/52267257
I found http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#container_definitions
- The Fargate launch type only supports images in Amazon ECR or public repositories in Docker Hub.
Which seems to imply it's currently not supported.
The easiest workaround would be to upload a copy of the image to ECR.
AWS just released that feature for Fargate: you can use any private registry of your choice with Fargate or EC2 launch types. You will first store your private registry credentials in AWS Secrets Manager. You will then provide the secret-manager ARN or the secret name as container level parameter while registering your task definition. This feature requires the Fargate platform version 1.2.0.