# AWS CloudWatch metrics

Metric Streams through Firehose.

Metrics Available

[Open the Connect card in Epok](https://app.epok.cloud/#/connect?source=aws) [Full setup guide](https://epok.cloud/docs/install/aws)

## What you get

Metrics, arriving through CloudWatch Metric Streams and Firehose.

## Set it up

1. Create an ingest key in Epok: Settings, then API keys.
2. Download aws-metrics.sh from the setup page, read it, and run it.
3. The stack creates a CloudWatch metric stream and its own Firehose stream to Epok.
4. Run aws-metrics.sh --verify-only, then open the series in Metrics.

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

## What was tested

- End to end with real cloud resources, sending to a local Epok stack rather than the hosted service: 1 run.
- Code tests of the ingest route or the sender: 1 test.
- No run against the hosted service is recorded yet.

## What you see in Epok

- Metrics: browse, chart and alert on every series by its labels.

## Troubleshooting

- A new metric stream can take 3 to 15 minutes to deliver its first data.
- 401 or 403 in the delivery-error log means the key is wrong or lacks the ingest scope; update the EpokApiKey stack parameter.

## 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) [Lambda](https://epok.cloud/integrations/aws-lambda) [ECS on Fargate](https://epok.cloud/integrations/aws-ecs-fargate) [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)
