Home / Companies / New Relic / Blog / Post Details
Content Deep Dive

Integrate Amazon CloudWatch Metric Streams with Terraform

Blog post from New Relic

Post Details
Company
Date Published
Author
Joseph Jones-Vermillion
Word Count
1,228
Language
English
Hacker News Points
-
Summary

A team working on re-engaging dormant users utilizes Amazon Web Services (AWS) such as Lambda and Simple Email Service, along with data monitoring through CloudWatch and New Relic, to experiment and iterate quickly. Initially relying on API polling for CloudWatch data, they faced challenges such as high costs, latency, and incomplete access to metrics. To address these issues, they transitioned to using Amazon CloudWatch Metric Streams and Terraform, which allowed for decreased latency, complete metric data access, and cost reduction. This solution involved using Terraform to manage infrastructure changes and create CloudFormation stacks, offering an infrastructure-as-code approach that improved efficiency and monitoring capabilities. The transition also required careful setup of permissions and integration adjustments in AWS and New Relic environments, ultimately enhancing the monitoring experience and providing a more streamlined data flow without the need for custom namespaces or frequent API calls.