CloudWatch Metric Guide

AWS/EC2/NetworkInBytes

NetworkInAmazon EC2 CloudWatch metric

NetworkIn measures the number of bytes received by the instance on all network interfaces during the CloudWatch measurement period.

What it measures

About NetworkIn

NetworkIn measures the number of bytes received by the instance on all network interfaces during the CloudWatch measurement period.

NamespaceAWS/EC2
Metric nameNetworkIn
UnitBytes
AWS docsOfficial Amazon EC2 metrics reference

Why this metric matters

A sudden spike in NetworkIn is one of the clearest signals of a DDoS attack, a misconfigured bulk data transfer, or an unexpected data ingest workload. Unlike CPU or memory, which give gradual warnings, NetworkIn can jump from baseline to network saturation in a single measurement period.

For instances that process events from SQS or other queuing systems, NetworkIn growth can indicate queue depth growing faster than the consumer can drain it — a backlog forming that will eventually cause message expiry or memory pressure. NetworkIn is also useful for validating infrastructure cost assumptions: unexpected data transfer volumes are often the cause of surprise AWS bills.

Recommended alarm threshold for NetworkIn

Recommended threshold

Anomaly detection recommended over fixed threshold — alert when NetworkIn exceeds 3 standard deviations above the historical baseline for the same time of day

Appropriate NetworkIn thresholds vary enormously by workload type — a media processing instance legitimately receives gigabytes per hour, while a small API instance receiving the same volume is under attack. Z-score anomaly detection against a time-of-day baseline avoids both false positives for legitimate high-traffic workloads and false negatives for low-baseline instances. AWS documentation does not publish a universal threshold.

Is your NetworkIn alarm already set up correctly?

The free Nuberio Audit scans your CloudWatch setup and flags missing or misconfigured alarms — including NetworkIn — in 5 minutes.

Run a free audit →

Common failures that show up in NetworkIn

When NetworkIn reaches an alarm threshold, these are the most common root causes — in order of how often Nuberio sees them across customer AWS accounts.

  • DDoS or traffic amplification attack — a volumetric attack sends more traffic than the instance's network bandwidth can handle

  • Misconfigured data pipeline — a data transfer job points to the wrong destination and begins sending large volumes of data to a production instance

  • S3 or DynamoDB stream consumer processing more records than expected — a change in upstream data volume propagates to the consumer

  • Logging agent misbehavior — an application agent or sidecar begins sending excessive log data due to a configuration change

  • Forgotten replication — a replication setup is still running to an instance after the primary workload was migrated elsewhere

How the Nuberio Audit checks NetworkIn

The free Audit scans every Amazon EC2 resource in your account and checks whether a NetworkIn alarm exists, whether its threshold and evaluation period are configured sensibly, and flags it if it's missing entirely. Every finding comes with the exact CLI command to fix it — read-only access, no credit card, results in about 5 minutes.

Nuberio Audit

Scans your CloudWatch setup for missing or misconfigured NetworkIn alarms. Free, 5-minute read-only scan.

Run a free audit →

Related Amazon EC2 metrics

NetworkIn rarely fails in isolation. These metrics tend to correlate — monitor them together for complete Amazon EC2 coverage.

FAQ

Frequently asked questions about NetworkIn

Common questions about setting up CloudWatch alarms for NetworkIn in Amazon EC2.

What is the recommended CloudWatch alarm threshold for NetworkIn?+

Anomaly detection recommended over fixed threshold — alert when NetworkIn exceeds 3 standard deviations above the historical baseline for the same time of day. Appropriate NetworkIn thresholds vary enormously by workload type — a media processing instance legitimately receives gigabytes per hour, while a small API instance receiving the same volume is under attack. Z-score anomaly detection against a time-of-day baseline avoids both false positives for legitimate high-traffic workloads and false negatives for low-baseline instances. AWS documentation does not publish a universal threshold.

Which CloudWatch namespace does NetworkIn belong to?+

NetworkIn is published in the AWS/EC2 namespace with a unit of Bytes. You can find it in the CloudWatch console under "Metrics" → "AWS/EC2". See the Amazon EC2 CloudWatch metrics reference in the AWS documentation.

Does Nuberio automatically create CloudWatch alarms for NetworkIn?+

No — the free Nuberio Audit does not create alarms for you. It scans your CloudWatch setup and tells you which Amazon EC2 resources are missing a NetworkIn alarm, then gives you the exact CLI command to create it yourself.

Can I use Nuberio without already having a NetworkIn alarm set up?+

Yes. The free Audit works whether or not you have any NetworkIn alarm configured — it reads the resource directly from CloudWatch and tells you which resources need one, plus the copy-paste AWS CLI command to create it.

This page is part of the CloudWatch metric guide — thresholds and debugging guidance for every metric across RDS, Lambda, ECS, ALB, EC2, DynamoDB, SQS, API Gateway, S3, CloudFront, ElastiCache, and EKS. To find which Amazon EC2 alarms your account is missing — including NetworkIn — run the free CloudWatch alarm audit. The scan takes under 5 minutes and requires no account.