Ever since AWS popularized the concept of serverless with the introduction of its famous AWS Lambda service in 2014, serverless (sometimes called Function-as-a-Service) has become one of the most talked about trends in the IT world. Lambda functions let developers focus on their code without worrying about the underlying infrastructure. Furthermore, to facilitate seamless sharing of Lambda functions code, at AWS re:Invent 2017 the company announced the Serverless Application Repository.

I am very happy to announce that New Relic has now joined the AWS Serverless Application Repository, with an offering designed to easily ingest Amazon Relational Database Service (RDS) enhanced metrics and Amazon Virtual Private Cloud (VPC) flow logs.

“Thanks to the contributions of companies like New Relic, AWS is able to offer a comprehensive collection of customer-focused serverless applications through the AWS Serverless Application Repository,” said AWS Lambda General Manager Tim Wagner. “We’re proud to offer an easy way to help developers and companies get started with New Relic’s services so they can deliver innovative performance monitoring and management solutions.”

What is the AWS Serverless Application Repository?

The AWS Serverless Application Repository is a collection of serverless applications published by developers, companies, and partners in the serverless community. It enables developers to easily share their Lambda functions code with customers, who can then easily find and deploy the corresponding Lambda function. Each application is packaged with an AWS Serverless Application Model (SAM) template that defines the AWS resources used. Check out the AWS Serverless Application Repository website for more details.

New Relic log-ingestion application now on the AWS Serverless Application Repository

Before we delve into New Relic’s offering on the AWS Serverless Application Repository, it’s important to note that New Relic provides built-in integrations for many popular AWS services. Most of these built-in integrations can be configured with just a few clicks to get pre-built dashboards showing metrics from those integrations. But to configure some advanced integrations (including enhanced RDS metrics and VPC flow logs), you need to create a Lambda function to ingest the logs into New Relic.

The newly introduced “NewRelic-log-ingestion” app on the AWS Serverless Application Repository simplifies the process of creating a Lambda function to ingest those logs into New Relic. You can find the New Relic log ingestion application under the Serverless Application Repository in your AWS account or learn more about it here.

new relic log ingestion application for The New Relic log ingestion application on the AWS Serverless Application Repository

The New Relic log ingestion application on the AWS Serverless Application Repository [click to enlarge]

Use cases for the New Relic log-ingestion Lambda function

If you are using Amazon Relational Database Service (RDS) or Amazon Virtual Private Cloud (VPC), you can use the New Relic log-ingestion Lambda function to ingest RDS enhanced monitoring logs and VPC flow logs into New Relic. Once these logs are in New Relic, you can easily visualize (using pre-built dashboards), query, and alert on these metrics.

amazon rds dashboard for AWS serverless repository

New Relic’s pre-built dashboards for Amazon RDS enhanced metrics [click to enlarge]

Architecture

Once you have enabled enhanced RDS (or VPC flow logs) monitoring in AWS, the NewRelic log-ingestion step can be used to deploy a Lambda function that will ingest these logs into New Relic. The log ingestion Lambda function is triggered by Amazon CloudWatch only when there are corresponding logs to be ingested into New Relic. The diagram below illustrates the steps to enable RDS enhanced monitoring integration in New Relic Infrastructure:

amazon rds enhance monitoring for AWS serverless repository

Amazon RDS enhanced monitoring in New Relic

Get more information

You can learn more about the New Relic log ingestion serverless application here. Steps to enable the complete RDS enhanced integrations in New Relic are listed in our documentation. Even better, if you already have New Relic Infrastructure (Pro subscription), go ahead and give our AWS integrations a try!

 

Chhavi Nijhawan is a senior product marketing manager at New Relic. She is passionate about new technologies. View posts by .

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