Skip to content

Instantly share code, notes, and snippets.


Keybase proof

I hereby claim:

  • I am traviscannon on github.
  • I am traviscannon ( on keybase.
  • I have a public key whose fingerprint is D1B0 DBFB ED3B 7B4A C220 7B4E F897 01CE E67B 60C1

To claim this, I am signing this object:

TravisCannon / Add New Relic To Elastic Beanstalk for
Created Jul 17, 2013
How to add New Relic to an AWS Elastic Beanstalk EC2 for .NET without creating a custom AMI.
View Add New Relic To Elastic Beanstalk for

Add New Relic To Elastic Beanstalk for .NET

The instructions and files in this Gist can be used to configure an EC2 instance to install both the New Relic .NET Agent and Server Monitor on an EC2 deployed inside of an Elastic Beanstalk, without creating a custom AMI. Once configured, EC2s will begin reporting application and server metrics automatically to New Relic, even as the Elastic Beanstalk scales up and adds more EC2s.


  1. Create a top-level directory in your source bundle called .ebextensions and add newrelic.config to it.
  2. Change the values in newrelic.config to match your configuration, where:
    • download_path_to = URL to download the PowerShell script and New Relic Agents (e.g. an S3 bucket)
You can’t perform that action at this time.