Envoy EDS Service that automatically updates upstreams from AWS
Gets privateIPv4Address of EC2/Fargate Tasks.
- Environmental Variable: _aws.ecs.clusterName__port (e.g. us-west-2-fargate_port=8080)
- Default: 80
Reads SRV records from CloudMap
- Environmental Variable: aws.cloudMap.serviceDiscoveryId_port (e.g. srv-1234_port=8080)
- instance['AWS_INSTANCE_PORT'] from ListInstances CloudMap API
- Default: 80
- Environmental Variable: EDS_LISTEN (e.g. 127.0.0.1:8080)
- Default: 0.0.0.0:5678
- All responses cached for 30 seconds on successful response
Lines 10 to 57 in 2b29f88
Lines 1 to 13 in 2b29f88