Deploy OneAgent on AWS Fargate

To deploy OneAgent on AWS Fargate, read the instructions provided below.

Prerequisites

Integrate OneAgent into your application image

There are three ways to integrate OneAgent with AWS Fargate applications:

  • Automatic injection, for EKS only, manages upgrades and lifecycle.
  • Build-time injection, for both ECS and EKS, embeds OneAgent in your container image.
  • Runtime injection, for ECS only, pulls OneAgent when the container starts.
    Note: The runtime approach requires Fargate versions 1.3+. For earlier versions, select the build-time approach.

Optional Configure network zones

You can configure network zones as an environment variable:

  • DT_NETWORK_ZONE: equals your.network.zone

See network zones for more information.