Note: Below is a quick start version with just enough info to get you up and running. For a more detailed guide that includes not just the “how” but the additional “why” details, download the comprehensive PDF version.
To get started monitoring your AWS applications using New Relic, you’ll first want to sign up for a New Relic account. You can also sign up by finding New Relic in the AWS Marketplace, an online store that helps customers find, buy, and immediately start using the software and services that run in the EC2 cloud.
Install the New Relic agent.
Once you’ve signed up, you’ll then need to install the New Relic agent. New Relic supports all types of AWS applications, whether they’re built in Ruby, PHP, Python, Java, .NET or Node.js. You can find the appropriate installation instructions by clicking on the language of your choice below.
- Installing New Relic for PHP
- Installing New Relic for Java
- Installing New Relic for .NET
- Installing New Relic for Python
- Installing New Relic for Ruby
- Installing New Relic for Node.js
What are the requirements?
Before you install New Relic, make sure you have a supported Amazon Web Services account. Also keep in mind that you’ll need your New Relic license key for installation. This will be a 40-character hexadecimal string that New Relic provides when you sign up for your account.
Install the AWS Plugin
Now that you’ve got the agent set up, the next step is to install New Relic’s AWS plugin. With this single plugin, you’ll be able to monitor several AWS services through CloudWatch directly in your New Relic dashboard. This includes:
- Amazon EC2
- Amazon Elastic Block Store (EBS)
- Elastic Load Balancing (ELB)
- Amazon ElastiCache
- Amazon RDS
- Amazon Simple Notification Service (SNS)
- Amazon Simple Queue Service (SQS)
All it takes to install:
- Log into your New Relic account
- Select and install the plugin
- Start seeing your AWS data
Basic Feature Overview
Once you’ve got the New Relic agent and AWS plugin installed, you should be able to see all your AWS data in the APM Overview dashboard. This dashboard gives you the basic information about the selected app, including Apdex score, throughput (requests per minute), web transactions, error rate, recent events, and server information.
Once you’ve familiarized yourself with the APM Overview screen, you’ll also want to make sure you know how to use the following key features (click on each for more details):
Now that you’ve got a basic understanding of New Relic’s key features, you’re ready to start getting serious with your AWS monitoring. The following article offers five best practices that can help you boost end-user experience, simplify performance management, and reduce the cost of your AWS environment: