An application became slow before its EC2 instance was terminated. The team wants to know whether CPU use rose, which identity requested the termination, and what the instance's configuration was beforehand. These are related questions, but they need different kinds of evidence.
Monitoring helps explain how a system is behaving. Activity records describe operations that were requested. Configuration history describes resource settings over time. Start by stating the question, then choose a record capable of answering it.
Three Views of One Resource

Arrows mean evidence about the same resource, not application traffic. Each path depends on the relevant collection scope and configuration.
The top path measures behavior. The middle path records activity affecting the resource. The bottom path preserves configuration information. Correlating their timestamps can help explain an incident, but two events occurring close together does not alone prove that one caused the other.
CloudWatch: What Was Happening?
A metric is a measured value over time, such as CPU utilization. A log contains recorded events or messages, such as an application error. Amazon CloudWatch supports metrics, logs, dashboards and alarms. An alarm can evaluate a condition and perform configured notification or other supported actions.
Many AWS services publish metrics automatically. Application logs and extra system measurements may need an agent or another configured integration. An EC2 instance's presence in a dashboard does not prove all its operating-system and application evidence is being collected.
For the slow application, look at CPU and available application evidence around the reported time. High CPU is an observation, not a complete diagnosis. It does not identify the caller who later terminated the instance.
CloudTrail: Which Operation Was Requested?
AWS CloudTrail records supported account activity, including operations made through the console, CLI and SDKs. An event can identify the caller, operation, time and affected resource. Inspect the outcome too: a recorded request may have been denied rather than successfully completed.
CloudTrail Event history provides recent management events in a Region; its documented window is 90 days. Management events concern operations such as creating or changing resources. Data events, such as reading an S3 object, are a different category and do not appear in Event history. Configure the appropriate recording and retention when those events are needed. A trail can deliver selected events to S3 for ongoing storage.
For the terminated instance, find the relevant API event and examine its caller and result. A CPU graph is not a substitute for that activity record. CloudTrail is also not a record of every action a person takes inside your own application.
Config: What Were the Settings?
AWS Config records configuration information for supported resource types, including relationships and changes over time. The recorder's selection matters: do not assume a historical record exists for a resource type you did not record.
Config rules evaluate resource settings against configured conditions. A noncompliant result means the evaluated condition was not met; it is not a conclusion about every legal or security requirement. Recording or detecting a change does not by itself prevent that change. Remediation is separate work that can be configured where appropriate.
For the instance, use recorded configuration history to inspect earlier settings and relationships. Then connect that evidence with CloudTrail if the next question is who requested a change. Neither record replaces performance metrics.
IAM Reports Answer Narrower Access Questions
An IAM credential report summarizes relevant credential status for account users, such as password, access-key and MFA information. It does not reveal secret key values or inventory every credential in external identity systems. Its documented scope also excludes service-specific credentials.
Last accessed information helps identify permissions that may no longer be needed. It includes access attempts, not only successful uses. An entry is not proof a requested operation succeeded; investigate the corresponding activity record. Before removing apparently unused access, consider the report's scope and legitimate infrequent work, such as recovery procedures.
Read the Record, Not Just the Service Name
Here is a synthetic CloudTrail event excerpt, with most fields omitted. It was not captured from a real account. JSON groups named values inside braces; a nested group describes part of the record.
{
"eventSource": "ec2.amazonaws.com",
"eventName": "TerminateInstances",
"awsRegion": "us-east-1",
"userIdentity": { "type": "AssumedRole" },
"errorCode": "Client.UnauthorizedOperation"
}
eventSource identifies the service and eventName identifies the requested
operation. awsRegion tells you where this request was addressed, not where
the person was sitting. AssumedRole describes a temporary role-session
identity; this excerpt deliberately omits the fields needed to identify the
particular role and session.
Most importantly, errorCode says this request was rejected. Searching for
TerminateInstances and finding this record does not prove an instance was
terminated. Look for the particular resource, identity, outcome and time in the
complete evidence. Removing the error field from this illustrative excerpt
would not establish success either: an incomplete excerpt is not the full event.
CloudWatch measurements still answer the separate question about CPU activity.
Check Your Understanding
Choose an evidence source for each question about the incident:
- Was CPU utilization elevated before the failure?
- Which identity requested termination, and did the request succeed?
- What was the recorded resource configuration before termination?
- Does a blank search result prove no relevant activity occurred?
Answer and Reasoning
Use CloudWatch metrics for CPU behavior, CloudTrail activity for the termination request, and Config history for recorded settings. A blank result is not enough to establish that nothing happened: check account, Region, time range, event or resource type, collection setup and retention. Enabling collection afterward does not recover evidence that was never recorded. Evidence should narrow the explanation, not make stronger claims than the records support.
References
Example-specific references checked on 8 October 2026:
Sources checked on 24 September 2026. The incident is a reasoning exercise; do not terminate a resource to reproduce it.