Content ITV PRO
This is Itvedant Content department
Monitoring the Cloud
Learning Outcome
5
Differentiate between monitoring and auditing
4
Know the purpose of AWS CloudTrail
3
Understand how CloudWatch Alarms work
2
Explain the role of Amazon CloudWatch
1
Understand what cloud monitoring is
Earlier, we learned that
Serverless lets developers focus on code, not infrastructure
What is Cloud Monitoring?
CloudWatch monitors AWS resources and applications by collecting metrics, logs, and alarms (CPU usage, memory, disk, network). It helps track performance and health of resources
It collects
Metrics (CPU, memory, traffic)
Logs
Events
Helps understand how resources are performing
Amazon CloudWatch Dashboard
A CloudWatch Dashboard is a customizable visual dashboard used to monitor AWS resources and applications using metrics and graphs.
Key Features
Displays AWS resources (EC2, RDS, S3, Lambda, etc.) on one screen
Visualizes metrics from multiple AWS services
Creates alarms and sets thresholds for proactive monitoring
Offers custom widgets like line charts, bar graphs, gauges, and more
Why It Is Useful
Helps track performance of applications and infrastructure
Enables faster troubleshooting and incident response
Improves operational visibility across AWS services
HOW AWS CLOUDWATCH DASHBOARD LOOKS LIKE
What Does CloudWatch Monitor?
Server performance
Application logs
Resource utilization
System health status
Alarm States
OK
Metric is within the defined threshold
In Alarm Metric exceeds the threshold
Insufficient Data Not enough data to determine the state
Example
A company runs a web application on an EC2 instance and monitors CPU usage using Amazon CloudWatch.
Uses of CloudWatch Alarms
Receive alerts
Take automatic actions
Prevent system failure
Improve reliability
AWS CloudTrail
AWS CloudTrail is a logging and auditing service
AWS Cloudtrail Records
User actions
API calls
Resource changes
AWS CLOUDTRAIL ANSWER TO QUESTION
Who did what and when?
What Does CloudTrail Track?
Login activities
Resource creation/deletion
Configuration changes
Security-related events
CloudWatch vs CloudTrail
4
CloudTrail records user activities
3
Alarms notify when issues occur
2
CloudWatch tracks performance and logs
1
Monitoring is essential in the cloud
Quiz
What type of data does Amazon CloudWatch mainly collect?
A. User passwords
B. Metrics, logs, and events
C. Source code
D. Billing invoices
Quiz-Answer
What type of data does Amazon CloudWatch mainly collect?
A. User passwords
B. Metrics, logs, and events
C. Source code
D. Billing invoices
By Content ITV