Now that you are using cloud-hosted infrastructure and services, it is important to start looking very early and very closely at your cloud spend:
- Make sure that your assumptions about your cloud spend are playing out as expected.
- Quickly catch and correct any unexpected spikes in spending.
- Start fine-tuning the usage of your cloud-based resources.
For example, if you have a set of 20 instances all running at 10% CPU, you can think about using smaller instances or consolidating more work onto those instances. This kind of thinking about your cloud spend helps you optimize and save money quickly.
New Relic can help you monitor all this. From a data perspective, it is really just another metric that our platform can collect for you. As with any other metric, you can visualize, report, and alert on your cloud spend data, just like you can with any data New Relic can help you collect. New Relic can help you learn about your cloud spending or about any of your performance data.
Review the requirements for the New Relic Infrastructure agent and follow the documentation for instructions on installing the agent. After you install the Infrastructure agent on your hosts, you immediately have access to the broad spectrum of metrics that the agent receives automatically. Then, you can set up the cloud integration to start collecting billing information.
New Relic Dashboards is the product that you use to write powerful custom queries about your data, and then visualize the results in charts that you collect on a dashboard. You can also feed the results of your dashboard queries directly into New Relic Alerts, where you can get notifications on any deviations that you specify.
Include charts for various Infrastructure metrics related to performance and usage; for example:
You may also want to include charts that represent the application using this cloud infrastructure. In this way you can correlate the cloud infrastructure performance with that of the application. As you right-size your cloud infrastructure, you will want to monitor application performance to make sure you are achieving any targets.
The Amazon AWS Billing integration requires some additional configuration on the AWS side. Specifically, you need to go into your AWS Billing dashboard and set up Budgets. Our documentation provide walk-throughs of this process.
When creating Budgets, be sure to:
- Fill in an application name.
- Decide whether you are doing cost or service-based budgeting.
- Decide if your budget is open-ended or has a definite ending date.
New Relic Insights is the product that you use to write powerful custom queries about your data, and then visualize the results in widgets that you collect on a dashboard. You can also feed the results of your Insights queries directly into New Relic Alerts, where you can get notifications on any deviations that you specify.
Whether you are a developer, in DevOps, or an executive, having information about your cloud spend can help you optimize your cloud environment.
Here are a few ways dashboards can help at each level of your organization:
Use New Relic to keep control of your cloud spending costs, and get your teams alerted when you go over your budgets.
After you write queries on your data in Insights, you can easily use them to create alert conditions.
New Relic gives you the ability to write baseline queries against your data. A baseline query is a query that you write without setting hard limits on the results and instead let New Relic Applied Intelligence “machine-learn” your performance data. New Relic alerts you when you go too far outside of your baseline numbers.
For more detailed information about creating, managing, and using alerts, view these New Relic University tutorials: