Datadog Duplicate Hosts After AWS Integration

Share
Workaround available AWS, OpenTelemetry Updated November 13, 2026Based on 2 user reportsHow we research

Quick answer

The same server shows twice when the Agent and the cloud integration report different names. Set an explicit hostname in the Agent; the duplicate disappears about two hours later.

Most likely fix: Set explicit hostname

How to fix it

Try these in order — the most common fix is first.

  1. 1. Set explicit hostname

    1. Set hostname in datadog.yaml to match the cloud instance ID or name
    2. Restart the Agent and wait up to two hours
    Did this fix it?
  2. 2. Find duplicates

    1. Infrastructure > Infrastructure List
    2. Filter by the Agent app field or search the hostname
    Did this fix it?
  3. 3. Align OpenTelemetry hostnames

    1. Use the same host attribute in OTLP exports and the Agent
    Did this fix it?

Symptoms

Two entries for one host in Infrastructure List, inflated host count and bill.

Why it happens

  • Agent and AWS EC2 integration failing to map to the same host
  • Hostname differs between OTLP and Agent

This guide also covers

  • datadog duplicate hosts
  • datadog duplicate host names aws

Still not working?

If Datadog keeps failing, you're not alone. See every Datadog problem users report or the alternatives people switch to.

We build software. Any software.

Paying for apps that don't quite fit? We build exactly what you need.

We're a small team of developers who build custom software fast. Not just tools like Datadog: web and mobile apps, games, desktop software, AI tools, internal tools: whatever you have in mind. We build and run our own products too: booking platforms, games, learning apps. See our work

  • Web apps & SaaS
  • Mobile apps (iOS & Android)
  • Games
  • Desktop software
  • AI tools & automations
  • Internal tools & dashboards
  • Client portals & booking
  • Your own version of any tool
  • ✓ Free 15-min call to scope it
  • ✓ Price agreed up front
  • ✓ Your data, your code
Fixed it? Share this guide

Other Datadog errors

All 10 Datadog errors and fixes →