Search code examples
amazon-web-servicesaws-fargateaws-ecs

AWS Fargate - pulling from a private repo


When searching for this it yields how to do this using ECS. This requires either putting a config file in a particular directory or setting env variables, neither of which are possible when using Fargate as it's serverless.

I feel as if I'm missing something here, anyone have any ideas?

Thanks!


Solution

  • 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.