Tom Martin contributed to this post

At New Relic, we’ve seen explosive interest in Continuous Delivery and Cloud Foundry. But that raises a critical question: Once you move your software to the cloud, how do you monitor how your application is performing? New Relic, of course!

If you are already using Pivotal’s public PaaS—Pivotal Web Services (PWS)—Cloud Foundry makes it even easier to install New Relic APM. If you’d like to use an on-premise version of Pivotal’s PaaS—Pivotal Cloud Foundry (PCF)—we’ve got you covered, too.

At last month’s Cloud Foundry Summit, New Relic announced it plans to provide seamless installation for monitoring of Pivotal Cloud Foundry, for all five languages supported by Cloud Foundry and New Relic (Java, Ruby, Python, PHP, and Node.js), via a PCF Tile. The New Relic Tile is designed to be installed in Pivotal Cloud Foundry, and to bind New Relic APM to your applications, able to show metrics in minutes.

Here’s the high-level overview (assuming you have a New Relic account):

  1. Import the New Relic Tile into PCF.
  2. Configure the Tile.
  3. Bind the Service Broker to your application(s).

Typically, ops will make the Tile available in their internal Pivotal Marketplace (Steps #1 and #2). Developers can then bind New Relic to their individual applications (#3).

Import the New Relic Tile into PCF

Here are the steps to be performed by the PCF admin for importing the tile to the PCF Marketplace and using it in the PCF console:

1. Download New Relic Service Broker Tile.

2. Login to PCF Ops Manager.

3. On the left side of the page, click Import a Product.

available products screenshot

4. Select the downloaded .pivotal Tile file and continue.

Configure the New Relic Tile

Once the tile is imported, you need to add service plans for each New Relic account or subaccount that you want to use in your PCF environment. Here are the steps to add your plans, and associate each plan with a New Relic account using the account’s license key.

1. Select the New Relic Service Broker vx.x.x on the left side, and select the Add button to add the tile.

available products 2 screenshot

2. Click on the New Relic Tile that was just added to the page.

tiles screenshot

 

3. Under Settings tab, select Service Broker Application.

4. Click the Add button on the right side.

service broker 8

 

5. Enter a Plan Name, Plan Description, and your New Relic license key. (Your license key can be found by visiting the Account Settings page in your New Relic account.)

plan 9

6. Click Save.

7. Go back to Installation Dashboard (link on top left of the page).

8. Click the big blue Apply Changes button on top right of the page. (NOTE: This can take as long as 30 minutes to finish.)

pending 10

 

9. Once the changes are applied, the tile will appear in the Marketplace.

changes applied 11

Bind the Service Broker to your application

1. Log in to your Cloud Foundry console.

2. Select your Org (or create new Org and Space as you wish).

3. Go to Marketplace.

4. Select New Relic tile and click on View Plan Options.

pivotal 12

5. Select the plan on the left that is associated with your desired New Relic account and click on Select this plan button.

pivotal 13

6. Fill in the Instance Name.

7. Select the Space you’d like to use.

8. Select the Application to which to bind the service.

9. Click the Add button.

configure 14

Boom! In minutes, you can have an overview of how your app is performing in the cloud.

dashboard 15

[click to enlarge]

Big thanks to Sabha Parameswaran and Nima Badiey of Pivotal who helped make this happen.

Shahram is a Technical Account Manager for New Relic. View posts by .

Interested in writing for New Relic Blog? Send us a pitch!