Skip to main content

Configuration

Proxy Configuration

The cluster manager respect the HTTP_PROXY family of environment variables.
Depending on the installation method, Terraform or CloudFormation you can set the URL to the proxy.

Set the proxy_configuration variable so that proxy settings will be applied.

  1. First the proxy should be enabled.
  2. Then set httpProxy variable to the URL of the proxy.

httpsProxy will also be set to the same value if omitted.

proxy_configuration = {
enabled = true
httpProxy = "http://proxy.service:1234"
}

Multi Cluster Mode

In some Fargate environments its quite common to run a single cluster for a workload given that there is no overhead to creating clusters since they don't have to provision any resources.

In order to support this mode the onboarding modules have a configuration option to enable this feature.

info

Workloads communicating with the cluster manager will have to belong to the same VPC.

Set the multi_cluster variable to true

multi_cluster = true

In order to configure the upwind-tracer to communicate with the cluster manager the UPWIND_TRACER_API_HOST variable will need to be explicitly set for each workload with the fully qualified domain name of the cluster manager including the port 8082.

Example: Given a cluster name fargate-utility the UPWIND_TRACER_API_HOST variable will need to be set to

 "environment": [
{
"name": "UPWIND_TRACER_API_HOST",
"value": "upwind-cluster-manager.upwind-fargate-utility.private:8082"
}
]

Automated Task Definition Patching

For Infrastructure as Code workflows, you can use the upwindctl ECS command to automatically patch your task definitions and inject the Upwind Tracer. This tool is particularly useful when managing task definitions with Terraform or CloudFormation.