cloudwatch vs cloudtrail Flashcards
What are CloudWatch Metrics?
A variable to monitor, e.g., CPU usage of an EC2 instance
What are CloudWatch Namespaces?
A container for CloudWatch metrics, e.g., EC2. It uses the AWS/EC2 namespace, but you can create your own namespaces.
What are CloudWatch Dimensions?
A filter (e.g., Instance ID) to search for metrics for a specific instance.
What are CloudWatch Dashboards?
A custom homepage you create to display important metrics in one place, e.g., for production environments (PROD)
What does CloudWatch do?
CloudWatch monitors performance and metrics, , logs, and alarms.
When should you use CloudWatch?
Use CloudWatch when you need to monitor the performance of AWS resources.
What does CloudTrail do?
CloudTrail records integrate with CloudWatch Logs. It captures API activity history related to the creation, deletion, and modification of AWS resources, and delivers it to an S3 bucket.,
When should you use CloudTrail?
Use CloudTrail when you need an audit log of user activity in your AWS account.