Amazon Web Services (AWS) Elastic Beanstalk is a dynamic service that allows easy deployment and scalability for your applications. Follow these instructions to deploy the infrastructure agent to the instances launched with your AWS Elastic Beanstalk applications.
In addition to deploying the infrastructure agent you can also integrate New Relic with AWS and bring Elastic Beanstalk monitoring information into New Relic. If you haven't already done so, follow these instructions for Amazon integrations with infrastructure monitoring.
Make sure you have a supported Amazon Web Services account. In addition, for any New Relic installation, you will need your New Relic license key. This is a 40-character hexadecimal string that New Relic provides when you sign up for your account.
To install the infrastructure agent on instances launched with AWS Elastic Beanstalk:
.ebextensionsfolder inside your Elastic BeanStalk application, create a new file named
Based on the operating system, add the following content to the file, replacing
YOUR_LICENSE_KEYwith your New Relic license key.
Push your app to Elastic BeanStalk:
After a successful setup, it can take up to fifteen minutes before metrics begin to appear in New Relic. View your host's infrastructure pages at one.newrelic.com.
To uninstall the agent, update the
.ebextensions with the following configuration, then update the deployment.