Monitoring Who Did What and Where Is the Risk: CloudTrail, Config, Trusted Advisor and AWS Health for Beginners

AWS Technical Essentials 40 min min read Updated: Nov 17, 2026 Beginner
Monitoring Who Did What and Where Is the Risk: CloudTrail, Config, Trusted Advisor and AWS Health for Beginners
Beginner Topic 3 of 3

Three Questions

QuestionService
Who did what and when?AWS CloudTrail
What did my resource look like before and now? Is it following my rules?AWS Config
Is my account following best practices (cost, security, limits)?AWS Trusted Advisor
Is AWS having a problem that affects me?AWS Health Dashboard

AWS CloudTrail: The Security Camera

CloudTrail records API calls and console actions in your account. Each record says who (user or role), what (action), when, from where (IP) and on which resource.

  • Event history: the last 90 days of management events, free and on by default. Search by user, event name or resource
  • Trail: sends events to an S3 bucket (and optionally CloudWatch Logs) for long-term storage. Create one trail for all Regions (and an organization trail for all accounts)
  • Data events (like each S3 object read) are optional and cost extra
  • CloudTrail Insights spots unusual activity
  • Log file validation proves logs were not changed
bash aws cloudtrail lookup-events --lookup-attributes AttributeKey=EventName,AttributeValue=TerminateInstances --max-results 5 aws cloudtrail create-trail --name main-trail --s3-bucket-name my-audit-logs-111111111111 --is-multi-region-trail --enable-log-file-validation aws cloudtrail start-logging --name main-trail

Example finding: someone deleted a server. CloudTrail shows user asha, event TerminateInstances, time 10:42, from IP 203.0.113.9.

AWS Config: The Time Machine and Rule Checker

  • AWS Config records the configuration of your resources (like a security group's rules) and keeps history
  • Open a resource and see how it changed over time (the timeline)
  • Config rules check if resources follow your rules, for example 'S3 buckets must not be public' or 'EBS volumes must be encrypted'. Results are compliant or non-compliant
  • Can auto-fix problems with Systems Manager Automation
  • Config does not block actions. It detects and reports
bash aws configservice put-config-rule --config-rule '{"ConfigRuleName":"s3-no-public-read","Source":{"Owner":"AWS","SourceIdentifier":"S3_BUCKET_PUBLIC_READ_PROHIBITED"}}' aws configservice get-compliance-details-by-config-rule --config-rule-name s3-no-public-read --compliance-types NON_COMPLIANT
CloudTrailAWS Config
FocusActions (API calls)State of resources
AnswersWho deleted the bucket?What did the bucket settings look like last week?
OutputEvent logsConfiguration items, compliance results

AWS Trusted Advisor: The Checklist Coach

  • Looks at your account and gives recommendations in categories: Cost optimization, Performance, Security, Fault tolerance, Service limits (and operational excellence)
  • Examples: idle load balancers, unattached EBS volumes, open security group ports, root account without MFA, public S3 buckets, service limits near 80 percent
  • Basic and Developer support plans show the core checks. Business, Enterprise On-Ramp and Enterprise show all checks

AWS Health Dashboard

  • Service health: public page for AWS-wide service status
  • Your account health: events that affect your resources, such as planned maintenance, instance retirements and issues
  • Set EventBridge rules so you get a notification email or chat message automatically

Other Helpful Tools

ToolUse
AWS Systems ManagerOperate servers: patching, running commands, parameters
AWS Control TowerSet up and govern a multi-account environment
AWS License ManagerTrack software licenses
AWS Compute OptimizerSuggests better instance sizes
AWS Well-Architected ToolReview your design against best practices

Practice

  1. Open CloudTrail event history and find the last time you signed in
  2. Create a multi-Region trail to an S3 bucket
  3. Enable AWS Config and add a rule for public S3 buckets
  4. Open Trusted Advisor and note two recommendations
  5. Find your account's Health Dashboard page

Conclusion

CloudTrail tells you who did what, Config shows how resources changed and whether they follow rules, Trusted Advisor gives best-practice recommendations, and the Health Dashboard shows AWS events that affect you.

Quick Summary: questions; CloudTrail; Config; Trusted Advisor; Health; other tools.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators