How can I route all outbounding connections from a ECS Fargate service throguh a proxy?

0

Hi there. I'd like to route all outbound traffic of a service or task through a HTTP proxy already established. I have the proxy FQDN and port. What can I do from this point?

1 Answer
0

You can try use the below environment variables using the task definition for your ECS task under the container definition:

HTTP_PROXY=http://proxy_fqdn:port

HTTPS_PROXY=http://proxy_fqdn:port

Source: https://docs.aws.amazon.com/cli/v1/userguide/cli-configure-proxy.html

profile pictureAWS
AmerO
answered 12 days ago
  • if that worked, please accept the answer.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions