Skip to main content
Connect AWS CloudWatch to NOFire AI to query and analyze application logs across Kubernetes and microservices environments. NOFire AI uses these logs during investigation and automated root cause analysis. NOFire AI follows AWS best practices for secure access, using an assumed role and an external ID.

Prerequisites

  • An AWS account, and permission to create IAM policies and roles in it.
  • Your 12-digit AWS account ID, and the region your log groups are in.
  • The external ID shown on the NOFire AI dashboard when you add the connection.

Step 1: Create IAM role

Step 2: Add AWS CloudWatch connection to NOFire AI

Test the connection

  1. Open the Connections dashboard and make sure that the CloudWatch connection status is READY. A connection that stays in an error state did not authenticate.
  2. Ask NOFire a question that needs logs, for example “show me the errors for the checkout service in the last hour”. An answer that quotes your log lines confirms the connection works end to end.

Troubleshooting

The external ID on the connection must match the one in the trust policy of the role exactly, and the trust policy must name the NOFire AI account ID 593113792344.
The Resource line in the policy names a region or an account ID that does not hold your log groups. Edit the policy and correct both values.