Create New Relic One alerts in AWS CloudFormation templates
Blog post from New Relic
Infrastructure-as-code (IaC) is a common practice among DevOps teams for managing cloud applications, and AWS CloudFormation facilitates this by allowing teams to define their infrastructure using JSON or YAML templates. With CloudFormation, users can now integrate third-party resource providers, such as New Relic's NRQL alert conditions, directly into their application stacks. This integration allows for the creation of flexible alerting mechanisms that monitor services and applications for violations, such as unexpected increases in resource usage. The process involves using CloudFormation templates to define AWS resources and interactions, which are then built by CloudFormation's execution engine through API calls. New Relic offers a solution through its newrelic-alerts-cloudformation project, enabling the creation or updating of NRQL alerts from CloudFormation stacks. This approach supports New Relic's emphasis on observability as key to developing robust software, providing tools for monitoring and responding to infrastructure changes effectively.