{"action":"created","issue":{"url":"https://api.github.com/repos/aws/amazon-ecs-agent/issues/1447","repository_url":"https://api.github.com/repos/aws/amazon-ecs-agent","labels_url":"https://api.github.com/repos/aws/amazon-ecs-agent/issues/1447/labels{/name}","comments_url":"https://api.github.com/repos/aws/amazon-ecs-agent/issues/1447/comments","events_url":"https://api.github.com/repos/aws/amazon-ecs-agent/issues/1447/events","html_url":"https://github.com/aws/amazon-ecs-agent/issues/1447","id":340650984,"node_id":"MDU6SXNzdWUzNDA2NTA5ODQ=","number":1447,"title":"Fargate tasks: ability to set a proxy to be used","user":{"login":"ricoli","id":1648125,"node_id":"MDQ6VXNlcjE2NDgxMjU=","avatar_url":"https://avatars2.githubusercontent.com/u/1648125?v=4","gravatar_id":"","url":"https://api.github.com/users/ricoli","html_url":"https://github.com/ricoli","followers_url":"https://api.github.com/users/ricoli/followers","following_url":"https://api.github.com/users/ricoli/following{/other_user}","gists_url":"https://api.github.com/users/ricoli/gists{/gist_id}","starred_url":"https://api.github.com/users/ricoli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricoli/subscriptions","organizations_url":"https://api.github.com/users/ricoli/orgs","repos_url":"https://api.github.com/users/ricoli/repos","events_url":"https://api.github.com/users/ricoli/events{/privacy}","received_events_url":"https://api.github.com/users/ricoli/received_events","type":"User","site_admin":false},"labels":[{"id":231351362,"node_id":"MDU6TGFiZWwyMzEzNTEzNjI=","url":"https://api.github.com/repos/aws/amazon-ecs-agent/labels/kind/feature%20request","name":"kind/feature request","color":"209daa","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-07-12T14:00:17Z","updated_at":"2018-11-30T22:48:05Z","closed_at":null,"author_association":"NONE","body":"### Summary\r\nFeature request for Fargate tasks: ability to set a proxy to be used for pulling Docker images and automatically set the proxy env variables inside containers (as per https://docs.docker.com/network/proxy/#configure-the-docker-client)\r\n\r\n### Description\r\nIn environments where security is paramount it is very common to have to use a proxy for all outbound Internet traffic. Given AWS ECR currently doesn't offer a VPC endpoint, pulling images from it requires an Internet connection. It's possible to set such a proxy configuration using EC2 ECS tasks, but not when running Fargate tasks (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS_Fargate.html#fargate-tasks-services-networking).\r\nAlso of great usefulness would be if this proxy configuration would automatically propagate into launched containers of a Fargate task.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/aws/amazon-ecs-agent/issues/comments/443363130","html_url":"https://github.com/aws/amazon-ecs-agent/issues/1447#issuecomment-443363130","issue_url":"https://api.github.com/repos/aws/amazon-ecs-agent/issues/1447","id":443363130,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzM2MzEzMA==","user":{"login":"hridyeshpant","id":7502704,"node_id":"MDQ6VXNlcjc1MDI3MDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/7502704?v=4","gravatar_id":"","url":"https://api.github.com/users/hridyeshpant","html_url":"https://github.com/hridyeshpant","followers_url":"https://api.github.com/users/hridyeshpant/followers","following_url":"https://api.github.com/users/hridyeshpant/following{/other_user}","gists_url":"https://api.github.com/users/hridyeshpant/gists{/gist_id}","starred_url":"https://api.github.com/users/hridyeshpant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hridyeshpant/subscriptions","organizations_url":"https://api.github.com/users/hridyeshpant/orgs","repos_url":"https://api.github.com/users/hridyeshpant/repos","events_url":"https://api.github.com/users/hridyeshpant/events{/privacy}","received_events_url":"https://api.github.com/users/hridyeshpant/received_events","type":"User","site_admin":false},"created_at":"2018-11-30T22:48:05Z","updated_at":"2018-11-30T22:48:05Z","author_association":"NONE","body":"I am not sure if i am missing somethings in my configuration, but i am able to get image pulled from ECR even when ENI have only private IP. i am using same AWS account and region for both ECS service and ECR."}}
{"actor":{"display_login":"hridyeshpant"}}