(Recommended) Best practices to enhance investigations - Amazon CloudWatch

(Recommended) Best practices to enhance investigations

As a best practice, we recommend that you enable several AWS services and features in your account that can help Amazon Q Developer discover more information in your topology and make better suggestions during investigations.

Note

The Amazon Q Developer operational investigations feature is in preview release and is subject to change. It is currently available only in the US East (N. Virginia) Region.

CloudWatch agent

We recommend that you install the latest version of the CloudWatch agent on your servers. Using a recent version of the CloudWatch agent enhances the ability to find issues in Amazon EC2 and Amazon EBS during investigations. At a minimum, you should use Version 1.300049.1 or later of the CloudWatch agent. For more information about the CloudWatch agent and how to install it, see Collect metrics, logs, and traces with the CloudWatch agent.

AWS CloudTrail

We recommend that you enable CloudTrail including trails in your environment. CloudTrail records events about changes in your system including deployment events. These events can often be useful to Amazon Q Developer to create hypotheses about root causes of issues in your system. For more information, see What is AWS CloudTrail and Working with CloudTrail trails.

CloudWatch Application Signals

CloudWatch Application Signals discovers the topology of your environment, including your applications and their dependencies. It also automatically collects standard metrics such as latency and availability. By enabling Application Signals, Amazon Q Developer can use this topology and metric information during investigations.

For more information about application signals, see Application Signals.

X-Ray

We recommend that you enable AWS X-Ray. X-Ray collects traces about requests that your applications serve. For any traced request to your application, you can see detailed information not only about the request and response, but also about calls that your application makes to downstream AWS resources, microservices, databases, and web APIs. This information can help Amazon Q Developer during investigations.

For more information, see What is AWS X-Ray

Container insights

If you use Amazon ECS or Amazon EKS, we recommend that you install Container insights. This improves the ability of Amazon Q Developer to find issues in your containers. For more information about the CloudWatch agent and how to install it, see Container Insights.