AWS Infrastructure Monitoring Best Practices

Amazon CloudWatch will tell you that an EC2 instance failed a status check. It will not, by itself, tell you that the application disk is at 95 percent or that the process inside the guest has stopped. AWS infrastructure monitoring has to include the guest, or the page you receive is either late or meaningless. Where New Relic is already licensed, the same host signals can live there instead of, or beside, CloudWatch. The operating question is who answers the alert, not which logo is on the chart.

Signals that earn an alarm

  • Instance status and system status checks.
  • CPU sustained high enough, for long enough, that users would notice. A one-minute spike is not an incident.
  • Memory and disk. These require the CloudWatch agent or another collector. EBS volume metrics do not show a full filesystem.
  • The service's own health, even if that is only "the port answers" or "the systemd unit is active."

Every alarm needs a person or a runbook. An alarm that sends mail to a list nobody reads is a metric, not monitoring. Severity should match the customer impact. A build server and a payment API do not deserve the same page.

Logs

Ship the logs you will actually query: authentication, the application error log, and the system journal around service failures. Shipping every debug line into a paid log store is an invoice, not an operations plan. Set a retention period that matches how far back you investigate.

Tie it to the rest of the platform

Alarms and the agent configuration belong in the same Terraform or image build as the instance. A console alarm created during an incident will not exist on the next instance. NOC triage then has a stable set of alerts to work, including overnight if that coverage is contracted.

The same ideas apply on Azure Monitor. The product names change. The mistake of watching the hypervisor and not the disk does not.

Talk to us about AWS or Azure monitoring if the alarms you have are either silent or constant.