Documentation Index
Fetch the complete documentation index at: https://docs.ewake.ai/llms.txt
Use this file to discover all available pages before exploring further.
What you’ll get: ewake can query your CloudWatch logs and metrics to investigate AWS workload issues, correlating log events with alerts and deployments without requiring you to switch between dashboards.
Prerequisites
- An AWS account with CloudWatch logs
- IAM permissions to create roles and policies
- Access to your ewake dashboard to retrieve your External ID
Configuration
The CloudWatch integration uses cross-account IAM role assumption with an External ID. This is the standard AWS security pattern for granting a third party read access to your account without sharing credentials.Generate your External ID
Before creating the IAM role, generate a unique External ID, you’ll need it in the next step.Use any of these methods:
- Online UUID generator: uuidgenerator.net
- macOS / Linux:
uuidgen - PowerShell:
[guid]::NewGuid()
Keep this External ID secret and store it securely. It acts as a shared secret between you and ewake, preventing the “confused deputy” security issue.
Create an IAM role in AWS
In the AWS IAM Console, go to Roles → Create role → select Custom trust policy.Paste the following trust policy, replacing
YOUR-UNIQUE-EXTERNAL-ID with the ID generated in Step 1:Name the role
The role name must be
ewake-CloudWatch or start with ewake-CloudWatch (e.g. ewake-CloudWatch-Production).Attach a permissions policy
Choose one of the following options:Option A, AWS Managed Policy (recommended)Attach the AWS managed policy:
CloudWatchLogsReadOnlyAccessOption B, Custom policy (least privilege)Create a custom policy with minimal permissions:Copy the Role ARN
Review the configuration and click Create role.On the role summary page, copy the Role ARN, it follows this format:
Connect in ewake
In your ewake dashboard, go to Integrations → CloudWatch → click Configure.
Click Test Configuration to verify the setup, then click Save.

| Field | Value |
|---|---|
| IAM Role ARN | The ARN copied in Step 5 |
| External ID | The ID generated in Step 1 |
| AWS Region | The region where your CloudWatch logs are located |
CloudWatch is connected. Ewake can now query your AWS logs and metrics.