Skip to main content
InMotion Cloud Logo
Back to glossary

Noisy Neighbor

A noisy neighbor is a co-tenant workload on shared cloud infrastructure that consumes an outsized share of CPU, disk I/O, or network bandwidth, degrading performance for other tenants on the same physical host.

5 min read

What is a Noisy Neighbor?

A noisy neighbor is a workload running on shared cloud infrastructure that consumes a disproportionate share of a physical host's resources, degrading performance for the other tenants on that same host. The term describes the effect, not a specific piece of software: any instance, container, or process can become a noisy neighbor if it saturates CPU, disk I/O, or network bandwidth that other tenants depend on.

Public and private clouds run multiple customers' instances on the same physical hardware to keep costs down. A hypervisor (the software layer that partitions physical hardware into isolated virtual machines) allocates resources to each tenant, but that allocation is not always strict. When one tenant's workload spikes and the hypervisor's isolation is incomplete, the overflow reaches everyone else sharing that host.

Why Noisy Neighbors Exist

Noisy neighbors exist because multi-tenancy trades some resource isolation for cost efficiency. Packing many customers onto shared hardware lowers the price per instance, but it only works if every tenant's actual usage stays close to their allocated share.

Several conditions make noisy neighbors possible:

  • Oversubscription: providers allocate more virtual resources than the physical host can guarantee simultaneously, betting that not every tenant will peak at once.
  • Soft resource limits: some resources, particularly disk I/O and network bandwidth, are harder to hard-partition than CPU and memory.
  • Bursty workloads: a single tenant running a batch job, backup, or traffic spike can temporarily exceed its normal usage pattern.
  • Weak scheduling: hypervisors and orchestrators that don't enforce strict quotas let one workload monopolize a shared resource queue.

What Does a Noisy Neighbor Actually Do?

  • Consumes shared disk I/O bandwidth, causing other tenants' read and write operations to queue and slow down.
  • Saturates the network interface on a shared host, increasing latency and packet loss for co-located instances.
  • Competes for CPU scheduling time, causing intermittent throttling on instances that should otherwise have dedicated cycles.
  • Triggers unpredictable latency spikes that are hard to diagnose because the affected instance's own configuration hasn't changed.
  • Forces cloud providers to implement quotas (enforced upper limits on resource consumption) and rate limits to contain the impact.

When Would I Use Noisy Neighbor (as a Diagnostic Concept)?

Noisy neighbor isn't something you deploy; it's a condition you investigate. You'd reach for this concept when:

  • Application performance degrades or fluctuates without any change to your own code, configuration, or traffic.
  • Disk or network latency spikes appear at irregular intervals with no clear correlation to your workload.
  • Monitoring shows your instance's own resource usage is normal, but response times are still elevated.
  • You need to justify moving a workload to dedicated infrastructure or a higher isolation tier.

When Would I NOT Use Noisy Neighbor (as an Explanation)?

Don't default to "noisy neighbor" as the explanation when the more likely cause is your own configuration:

  • Your application has a genuine resource bottleneck, such as an undersized flavor (a predefined resource template of CPU, memory, and disk) for its workload.
  • A code-level issue, like an inefficient database query or a memory leak, is the actual source of slow response times.
  • Traffic has grown beyond what autoscaling (automatically adding or removing instances based on demand) is configured to handle.
  • The performance issue is isolated to a single service dependency, not the underlying host.

Real-World Example

Company A runs a mid-sized e-commerce API on a shared compute instance. Response times were consistent for months, then began spiking to 800ms during otherwise-quiet overnight hours with no increase in the company's own traffic. Their monitoring showed CPU and memory usage on their instance stayed flat, but disk read latency tripled during the same windows.

After ruling out their own application and database, Company A contacted their provider, who confirmed a co-tenant on the same host was running large nightly backup jobs that saturated shared disk I/O. Company A migrated to an instance with dedicated storage I/O guarantees, which eliminated the overnight latency spikes entirely.

FAQ

Is a noisy neighbor the same as a DDoS attack? No. A noisy neighbor is unintentional resource contention from a legitimate co-tenant workload, while a DDoS attack is deliberate traffic aimed at overwhelming a target. If you suspect an attack rather than contention, check your provider's traffic logs and enable rate limiting at the network edge.

How do I know if a noisy neighbor is affecting my instance? Compare your own resource metrics (CPU, memory, disk I/O, network) against your observed latency. If your usage is flat but latency still spikes, request host-level diagnostics from your provider or migrate to an isolated compute tier to confirm.

Can I prevent noisy neighbor problems entirely? You can reduce exposure by choosing dedicated or reserved instances instead of shared multi-tenant flavors. If dedicated infrastructure isn't in budget, ask your provider what disk and network quotas apply to your tier.

Does a bigger flavor protect me from noisy neighbors? Not by itself. A larger flavor increases your own resource allocation, but if the underlying host still oversubscribes disk or network resources, contention can persist. Pair a larger flavor with a provider that guarantees I/O isolation.

Will autoscaling fix noisy neighbor issues? Autoscaling adds more instances to handle load, but it won't resolve contention caused by a co-tenant on a specific host. If the new instances land on the same congested host, the problem follows. Combine autoscaling with anti-affinity rules or dedicated hosting to actually separate workloads.

Summary

  • A noisy neighbor is a co-tenant workload that consumes disproportionate shared resources on multi-tenant cloud infrastructure.
  • It typically shows up as unexplained latency or I/O slowdowns with no change in your own resource usage.
  • Providers mitigate it with quotas, rate limits, and stricter hypervisor-level isolation.
  • Dedicated or reserved instances reduce exposure by removing the shared-resource dependency.
  • Diagnosing a noisy neighbor requires ruling out your own application and configuration first.

Related Terms

  • Hypervisor: the software layer that partitions physical hardware into isolated virtual machines, such as KVM or Xen, and is responsible for enforcing (or failing to enforce) resource isolation between tenants.
  • Quota: an enforced upper limit on resource consumption, such as a cap on disk IOPS per instance, used to contain the impact of any single tenant.
  • Flavors: predefined resource templates specifying CPU, memory, and disk allocation, such as a "general-purpose" or "compute-optimized" flavor, which determine your instance's guaranteed baseline.
  • Autoscaling: the automatic addition or removal of instances based on demand, such as scaling out during a traffic spike, which can reduce single-host dependency when paired with anti-affinity placement.