20 Cloud Monitoring Alerts Explained for Freshers

A beginner's guide to 20 cloud monitoring alerts with the exact AWS CloudWatch metric names and Azure and Google Cloud equivalents.

Dec 16, 2025 - 15:05
Nov 8, 2026 - 17:43
 0  119
20 Cloud Monitoring Alerts Explained for Freshers

A cloud monitoring alert is a rule that watches a metric or event, compares it with a threshold for a set time, and notifies someone when the condition holds. Freshers should learn twenty basic alerts across compute, load balancers, databases, serverless, queues, cost and security, and know which cloud metric each one uses in AWS, Azure and Google Cloud.

This is a beginner's guide. It explains the vocabulary (metric, threshold, period, alarm state) and then walks through twenty alerts using the names you will see in the cloud consoles. For a shorter, tool-neutral list aimed at working teams, with Prometheus rules, routing and severity models, read our keeper post 10 monitoring alerts every DevOps team should configure. The two posts are meant to be read together.

Key takeaways

  • An alert has five parts: a metric or event, a statistic, a threshold, an evaluation period and a notification target.
  • Every cloud has its own service: Amazon CloudWatch alarms, Azure Monitor alert rules and Google Cloud Monitoring alerting policies.
  • Some metrics are not collected by default. EC2 memory and disk usage need the CloudWatch agent; Azure and Google Cloud also need an agent for guest OS metrics.
  • Security and cost alerts are as important as performance ones, and freshers often forget them.
  • Start with fewer alerts that someone will act on. A noisy alert teaches people to ignore all alerts.

Alert vocabulary for freshers

TermMeaningExample
MetricA number measured over timeCPUUtilization of an EC2 instance
StatisticHow data points are combined in a periodAverage, Maximum, Sum, p99
PeriodLength of each data point window60 seconds, 5 minutes
ThresholdValue that counts as a breachGreater than 85 percent
Evaluation periodsHow many periods must breach before firing3 out of 3 periods
StateCurrent alarm statusCloudWatch: OK, ALARM, INSUFFICIENT_DATA
Action or action groupWhat happens when it firesSNS topic, email, PagerDuty, auto scaling
Event-based alertFires on an event, not a numberRoot user login, GuardDuty finding

The CloudWatch alarms documentation explains how period, evaluation periods and "datapoints to alarm" work together. The idea is the same in other clouds: one bad minute should not wake anyone, a sustained problem should.

The 20 alerts at a glance

#AlertAWS metric or sourceAzure / Google Cloud equivalent
1High CPU on a VMEC2 CPUUtilizationPercentage CPU / compute instance CPU utilization
2VM status check failedStatusCheckFailed_System, StatusCheckFailed_InstanceVM availability metric / uptime check
3High memory on a VMmem_used_percent (CloudWatch agent)Guest memory via Azure Monitor Agent / Ops Agent
4Disk almost fulldisk_used_percent (CloudWatch agent)Guest disk via agent
5Load balancer 5xx errorsALB HTTPCode_Target_5XX_Count, HTTPCode_ELB_5XX_CountApplication Gateway failed requests / LB 5xx count
6Slow responsesALB TargetResponseTimeBackend response time / LB latency
7Unhealthy targetsALB UnHealthyHostCountUnhealthy host count / backend health
8Website downRoute 53 health check or CloudWatch SyntheticsAvailability test / uptime check
9Database CPU highRDS CPUUtilizationAzure SQL / Cloud SQL CPU
10Database storage lowRDS FreeStorageSpaceStorage percent / disk utilization
11Too many DB connectionsRDS DatabaseConnectionsConnections metric
12Replica lagRDS ReplicaLagReplication lag metric
13Serverless function errorsLambda ErrorsFunction failures / execution count by status
14Serverless throttlingLambda ThrottlesThrottled or rejected executions
15Messages waiting too longSQS ApproximateAgeOfOldestMessageService Bus / Pub/Sub oldest unacked message age
16Container restartsContainer Insights pod restartsContainer Insights / GKE restart count
17TLS certificate expiringACM DaysToExpiryKey Vault certificate near expiry / uptime check SSL expiry
18Spend above budgetAWS Budgets, Billing EstimatedChargesCost Management budgets / Cloud Billing budgets
19Root or admin sign-inCloudTrail event via EventBridgeActivity log / Cloud Audit Logs alert
20Threat detection findingGuardDuty finding via EventBridgeMicrosoft Defender for Cloud / Security Command Center

Metric names are given exactly for AWS because CloudWatch uses fixed names. Azure and Google Cloud names vary by resource type, so the third column describes the equivalent; check the metric picker in the console for the exact label.

Compute alerts

1. High CPU on a virtual machine

Fires when average CPU stays above a level, often 80 to 90 percent, for several minutes. On its own high CPU is not always a problem; a batch job may use 100 percent on purpose. Treat it as a warning and pair it with a latency alert. You can create one from the AWS CLI:

aws cloudwatch put-metric-alarm \
  --alarm-name web-1-high-cpu \
  --namespace AWS/EC2 --metric-name CPUUtilization \
  --dimensions Name=InstanceId,Value=i-0123456789abcdef0 \
  --statistic Average --period 300 \
  --evaluation-periods 3 --threshold 85 \
  --comparison-operator GreaterThanThreshold \
  --alarm-actions arn:aws:sns:ap-south-1:111122223333:ops-alerts

The instance ID, account number and topic are placeholders. The full option list is in the put-metric-alarm reference.

2. VM status check failed

EC2 runs system status checks (problems with the underlying AWS host) and instance status checks (problems inside your instance, such as a full disk or bad network configuration). StatusCheckFailed_System alarms can trigger an automatic recover action. See EC2 status checks.

3. High memory on a virtual machine

A common fresher surprise: EC2 does not report memory usage by default, because the hypervisor cannot see inside the guest OS. Install the CloudWatch agent to publish mem_used_percent in the CWAgent namespace. Azure uses the Azure Monitor Agent and Google Cloud uses the Ops Agent for the same purpose.

4. Disk almost full

Also needs the agent (disk_used_percent). A full root disk stops logging, databases and package updates. Alert at a level that leaves time to act, such as 80 percent, and fix the cause: log rotation, old images or growing data.

Load balancer and availability alerts

5. Load balancer 5xx errors

For an Application Load Balancer, HTTPCode_Target_5XX_Count counts server errors returned by your app, while HTTPCode_ELB_5XX_Count counts errors generated by the load balancer itself (for example when no healthy target is available). Comparing the two tells you whether the app or the routing layer is failing. Better still, alert on the error percentage using CloudWatch metric math. Names are listed in ALB CloudWatch metrics.

6. Slow responses

TargetResponseTime is the time from the request leaving the load balancer to the response headers coming back. Use the p95 or p99 statistic, not average, because averages hide the slow requests users complain about.

7. Unhealthy targets

UnHealthyHostCount rises when targets fail health checks. If it equals the number of targets, the service is down. Alert when it is above zero for several minutes.

8. Website down

An external check calls your URL from outside your network, which catches DNS, certificate and firewall problems that internal metrics miss. AWS offers Route 53 health checks and CloudWatch Synthetics canaries; Azure has availability tests in Application Insights; Google Cloud has uptime checks.

Database alerts

9. Database CPU high

Sustained high CPU on RDS, Azure SQL or Cloud SQL usually means an expensive query, a missing index or more traffic. It is a warning to investigate with Performance Insights or the query store, rarely a reason to wake someone at night.

10. Database storage low

RDS FreeStorageSpace is in bytes. Running out can make the database unavailable, so this one deserves a page. RDS storage autoscaling can help, but you should still be told when it happens.

11. Too many database connections

DatabaseConnections close to the engine's maximum means new connections will be refused. Causes include connection leaks and missing pooling, especially from serverless functions; RDS Proxy is one fix on AWS.

12. Replica lag

ReplicaLag (seconds) shows how far a read replica is behind. Users reading from a lagging replica see stale data, and failover to it could lose recent writes.

Serverless, queue and container alerts

13. Serverless function errors

Lambda Errors counts invocations that ended in a function error. Alert on the error rate (Errors divided by Invocations), not the raw count, so the threshold works at any traffic level. See Lambda metrics.

14. Serverless throttling

Throttles counts invocations rejected because of concurrency limits. Throttled synchronous calls fail for the user, so any sustained throttling needs attention.

15. Messages waiting too long

SQS ApproximateAgeOfOldestMessage shows how long the oldest message has waited. It catches stuck or slow consumers better than queue length, because a long queue that is moving fast may be fine.

16. Container restarts

On EKS, AKS or GKE, frequent pod restarts point at crashing apps, failed liveness probes or memory limits. Container Insights (AWS and Azure) and GKE's built-in metrics expose restart counts. Our post on common Kubernetes pod failures helps you read the cause.

Certificate, cost and security alerts

17. TLS certificate expiring

Expired certificates cause outages that are entirely preventable. AWS Certificate Manager publishes a DaysToExpiry metric, and ACM also sends expiry events through EventBridge. Imported certificates do not renew automatically, so alert on them well ahead, such as 30 days.

18. Spend above budget

Freshers practising on a personal account should set this up first. AWS Budgets sends alerts on actual or forecast spend. The older Billing EstimatedCharges metric is only published in the us-east-1 Region and must be enabled in billing preferences. Azure Cost Management and Google Cloud Billing both offer budgets with alert thresholds.

19. Root or admin sign-in

The AWS root user should almost never be used. An EventBridge rule matching CloudTrail sign-in events for the root identity can notify you on every use. The CIS AWS Foundations Benchmark also recommends alerts for IAM policy changes, security group changes and console sign-ins without MFA. Azure Activity Log alerts and Google Cloud log-based alerts cover the same ground.

20. Threat detection finding

Amazon GuardDuty analyses logs for suspicious activity and sends findings to EventBridge, where a rule can forward high-severity findings to your alert channel. Microsoft Defender for Cloud and Google Security Command Center fill the same role. These alerts are for defence: they tell you to investigate and contain, following your incident process.

Creating the same CPU alert in Azure

The Azure CLI creates metric alert rules with az monitor metrics alert create. The condition is written as a short expression:

az monitor metrics alert create \
  --name web-1-high-cpu \
  --resource-group demo-rg \
  --scopes /subscriptions/<subscription-id>/resourceGroups/demo-rg/providers/Microsoft.Compute/virtualMachines/web-1 \
  --condition "avg Percentage CPU > 85" \
  --window-size 15m \
  --evaluation-frequency 5m \
  --action ops-action-group

The action group decides who is notified (email, SMS, webhook, ITSM tool). Microsoft documents every option in the az monitor metrics alert reference. In Google Cloud, most freshers create alerting policies in the console under Monitoring, Alerting, choosing a metric, a condition and a notification channel; the same policy can later be exported as JSON and kept in Git.

Alerting on a rate with metric math

Raw counts make poor thresholds. Five Lambda errors an hour is serious for a function called ten times and noise for one called a million times. CloudWatch metric math lets an alarm watch a calculated percentage. In the console you add the Errors and Invocations metrics (both with the Sum statistic), then add an expression such as:

100 * (errors / invocations)

where errors and invocations are the IDs you gave the two metrics. The alarm then fires when the error percentage, not the count, crosses your threshold. The same approach works for ALB 5xx errors divided by RequestCount. See using metric math.

Static thresholds, anomaly detection and composite alarms

TypeHow it decidesGood forWatch out for
Static thresholdValue above or below a fixed numberDisk full, certificate expiry, errorsNeeds tuning as traffic grows
Anomaly detectionValue outside a band learned from historyTraffic with daily or weekly patternsNeeds enough history; can learn bad behaviour as normal
Composite alarmCombines other alarms with AND, OR, NOTPaging only when several signals agreeMore moving parts to understand

CloudWatch supports all three: anomaly detection builds an expected band, and composite alarms let you page only when, for example, high latency and high 5xx errors happen together. Azure Monitor offers dynamic thresholds for a similar purpose. As a fresher, start with static thresholds; they are easy to explain and test.

Warning or page? A simple severity guide

SeverityMeaningWhere it goesExamples from this list
Critical (page)Users are affected now or will be very soonOn-call phoneWebsite down, all targets unhealthy, DB storage nearly full, high 5xx rate
WarningNeeds action within working hoursTeam chat channel or ticketHigh CPU, replica lag, certificate expiring in 30 days, budget at 80 percent
SecurityPossible compromise or risky changeSecurity channel and on-callRoot sign-in, high-severity GuardDuty finding
InfoUseful record, no actionDashboard or log onlyScaling events, successful deployments

Teams decide their own levels, but the principle holds everywhere: only page a human when a human must act now.

What a good alert message contains

An alert that just says "ALARM: web-1-high-cpu" forces the responder to start from zero. A useful notification answers five questions:

  1. What is wrong, in plain words? ("Checkout API returning more than 5 percent errors.")
  2. Where? (Account, region, service, resource ID.)
  3. Since when, and how bad? (Current value and threshold.)
  4. Where to look first? (Link to the dashboard and logs.)
  5. What to do? (Link to a short runbook.)

CloudWatch alarms have a description field, and Azure and Google Cloud alert rules have similar fields for documentation. Fill them in. Our keeper post 10 monitoring alerts every DevOps team should configure includes an annotation template you can copy.

Keeping alerts in code

Alarms clicked together in a console are hard to review and easy to lose. Once you understand them, define them as code so they are versioned and recreated with the infrastructure. A Terraform example for the CPU alarm:

resource "aws_cloudwatch_metric_alarm" "web_high_cpu" {
  alarm_name          = "web-1-high-cpu"
  namespace           = "AWS/EC2"
  metric_name         = "CPUUtilization"
  statistic           = "Average"
  period              = 300
  evaluation_periods  = 3
  threshold           = 85
  comparison_operator = "GreaterThanThreshold"
  dimensions = {
    InstanceId = aws_instance.web.id
  }
  alarm_actions = [aws_sns_topic.ops_alerts.arn]
}

The resource is documented in the Terraform AWS provider registry. CloudFormation, Bicep and Google Cloud's Terraform provider support the same pattern.

Common fresher mistakes

MistakeResultBetter habit
Alerting on one data pointConstant false alarmsRequire several breaching periods
Using Average for latencySlow requests hiddenUse p95 or p99
Expecting EC2 memory metrics by defaultNo data, alarm stuck in INSUFFICIENT_DATAInstall the agent
Raw counts instead of ratesThresholds break when traffic growsUse metric math for percentages
Every alert goes to everyonePeople mute the channelRoute by severity and owner
No cost alert on a practice accountSurprise billBudget alert on day one

How to practise

  1. Create a budget alert on your practice account.
  2. Launch a small instance, create a CPU alarm with an SNS email target, then load the CPU with a stress tool and watch the state change from OK to ALARM.
  3. Install the CloudWatch agent and add memory and disk alarms.
  4. Put the instance behind an ALB, stop the app, and watch UnHealthyHostCount and the 5xx alarms fire.
  5. Write a short runbook line for each alert: what it means and the first command to run.

Our guides to monitoring EC2, RDS and Lambda with CloudWatch and custom CloudWatch dashboards continue from here, and DevOps roles explained for freshers shows where monitoring fits in a job. These labs are part of our AWS Solutions Architect Associate training, in Kharadi, Pune and live online.

Frequently asked questions

What is a cloud monitoring alert?

A rule that watches a metric or event and notifies a person or system when a condition holds for a set time, such as CPU above 85 percent for 15 minutes.

What is the difference between a metric alarm and an event alert?

A metric alarm compares a number with a threshold over time. An event alert fires on a single event, such as a root user sign-in or a GuardDuty finding.

Why does my EC2 instance not show memory usage?

EC2 does not collect guest memory by default. Install the CloudWatch agent, which publishes mem_used_percent in the CWAgent namespace.

What does INSUFFICIENT_DATA mean in CloudWatch?

The alarm does not have enough data to decide, often because the metric is not being published, the alarm just started, or the resource is stopped.

Which alerts should a beginner set up first?

A budget alert, a website-down check, load balancer 5xx errors, unhealthy targets and disk almost full. They catch real outages and surprise bills.

How do I avoid too many false alarms?

Require several breaching periods, alert on rates and percentiles instead of raw counts and averages, and send warnings to a channel rather than paging.

Do Azure and Google Cloud have the same alerts?

Yes in concept. Azure Monitor alert rules and Google Cloud Monitoring alerting policies cover the same areas with different metric names.

References

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Angry Angry 0
Sad Sad 0
Wow Wow 0
Mridul I am a passionate technology enthusiast with a strong focus on DevOps, Cloud Computing, and Cybersecurity. Through my blogs at DevOps Training Institute, I aim to simplify complex concepts and share practical insights for learners and professionals. My goal is to empower readers with knowledge, hands-on tips, and industry best practices to stay ahead in the ever-evolving world of DevOps.