Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 973 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 973 Bytes

newrelic-fleet-deploy

PoC for installing New Relic on multiple hosts with Terraform and cloud-init. This PoC is based on the cloud-init tutorial on Hashicorp's website.

Usage

  1. Create a key pair and optionally store the keys in the keys directory.
  2. Update users.ssh_authorized_keys in the cloud init config file with the contents of your public key.
  3. Update the Terraform config file to provision the desired infrastructure. The example here provisions three Ubuntu 20 servers and installs New Relic infrastructure agent on each with cloud-init.
  4. Enter the instances directory and run terraform init.
  5. Optionally run a plan phase with terraform plan to see what will be proivisioned.
  6. Run terraform apply to provision the infrastructure.
  7. Log into New Relic and view the data being reported from the new instances.