What is Amazon CloudWatch?
- service to monitor AWS resources and applications in real time.
- Used to
- collect and track metrics
- create alarms to send notifications
- make changes to resources being monitored based on rules
- Basic or detailed monitoring offered
- Basic monitoring sends data points to CloudWatch every five minutes for a limited number of pre-selected metrics at no charge. It is the default.
- Detailed monitoring sends data points to CloudWatch every minute and allows data aggregation for an additional charge.
- Supports AWS services,
- Auto Scaling
- Amazon CloudFront
- Amazon CloudSearch
- Amazon DynamoDB
- Amazon EC2
- Amazon EC2 Container Service (Amazon ECS)
- Amazon ElastiCache
- Amazon Elastic Block Store (Amazon EBS)
- Elastic Load Balancing
- Amazon Elastic MapReduce (Amazon EMR)
- Amazon Elasticsearch Service,
- Amazon Kinesis Streams
- Amazon Kinesis Firehose
- AWS Lambda
- Amazon Machine Learning
- AWS OpsWorks
- Amazon Redshift
- Amazon Relational Database Service (Amazon RDS)
- Amazon Route 53
- Amazon SNS
- Amazon Simple Queue Service (Amazon SQS)
- Amazon S3
- AWS Simple Workflow Service (Amazon SWF)
- AWS Storage Gateway
- AWS WAF
- Amazon WorkSpaces
- CloudWatch Logs agent sends automatically log data to CloudWatch Logs for EC2 instances running Amazon Linux or Ubuntu.
- use CloudWatch Logs agent installer on EC2 instance to install and configure CloudWatch Logs agent.
- After installation, the agent confirms, it has started and stays running until disabled.
- Each AWS account is limited to 5,000 alarms per AWS account,
- metrics data is retained for two weeks by default.
- For keeping data longer, move logs to store like S3 or Glacier.
Are you a AWS Solution Architect?Take a Quiz