Skip to content

Instantly share code, notes, and snippets.

@wesleyjin
wesleyjin / datadog-agent-setup-ec2.md
Created August 1, 2019 23:07
Installing datadog-agent on an EC2 instance to tail log files

How to install DataDog agent on an EC2 instance to tail log files

(ubuntu)

  1. Use curl to install the agent onto the machine using the API key here: https://app.datadoghq.com/account/settings#agent/aws

  2. Clean up any packages that you want to clean up from the installation (the installation logging will tell you what commands to run)

  3. Start the service by running: sudo service datadog-agent start and check status by running sudo service datadog-agent status. Proceed if service is healthy and running.

    • For a full list of commands, see usage docs.