# AWS ECS on Fargate

Task traces from a Collector sidecar.

Traces Available

[Open the Connect card in Epok](https://app.epok.cloud/#/connect) [Full setup guide](https://epok.cloud/docs/running-on-aws#ecs)

## What you get

Traces, arriving through OpenTelemetry Collector sidecar.

## Set it up

1. Create an ingest key in Epok: Settings, then API keys.
2. Store the key as an SSM SecureString.
3. Add an OpenTelemetry Collector sidecar to the task definition, as the setup page's manifest lists. Only the sidecar receives the key.
4. Point your app's OpenTelemetry exporter at the sidecar, then open its traces in Traces.

The commands and configuration for each step are on the [setup guide](https://epok.cloud/docs/running-on-aws#ecs).

## What was tested

- End to end with real cloud resources, sending to a local Epok stack rather than the hosted service: 1 run.
- No run against the hosted service is recorded yet.

## What you see in Epok

- Services and Traces: request rate, errors and latency per service and endpoint, and each trace's span tree.

## Troubleshooting

- The key lives in SSM and only the sidecar receives it, so the app container needs no Epok secret.

## More in Cloud & Kubernetes

[Container logs](https://epok.cloud/integrations/k8s-container-logs) [Kubernetes events](https://epok.cloud/integrations/k8s-events) [Node, pod and cluster metrics](https://epok.cloud/integrations/k8s-metrics) [Traces from your pods](https://epok.cloud/integrations/k8s-traces) [EC2](https://epok.cloud/integrations/aws-ec2) [CloudWatch Logs](https://epok.cloud/integrations/aws-cloudwatch-logs) [CloudWatch metrics](https://epok.cloud/integrations/aws-cloudwatch-metrics) [Lambda](https://epok.cloud/integrations/aws-lambda) [Compute Engine](https://epok.cloud/integrations/gcp-compute-engine) [Cloud Logging](https://epok.cloud/integrations/gcp-cloud-logging) [Cloud Run](https://epok.cloud/integrations/gcp-cloud-run)
