• /
  • EnglishEspaรฑolFranรงaisๆ—ฅๆœฌ่ชžํ•œ๊ตญ์–ดPortuguรชs
  • ๋กœ๊ทธ์ธ์ง€๊ธˆ ์‹œ์ž‘ํ•˜๊ธฐ

EC2 instance management

|View as Markdown (English)

Respond to New Relic CPU alerts, request Slack approval, and automate EC2 instance resizing via AWS Systems Manager.

Requirements:

  • AWS credentials (EC2 + Systems Manager)
  • New Relic alert condition
  • Slack token

What this workflow does:

  • Receive high CPU alerts from New Relic
  • Retrieve alert details and identify impacted EC2 instance
  • Send Slack notification with instance details and request approval
  • Create SSM document after approval to automate resizing
  • Stop instance, modify instance type, and restart
  • Send progress updates to Slack during resizing
  • Wait for completion and send status
  • Clean up SSM document and send final confirmation

Key actions: newrelic.nerdgraph.execute, newrelic.nrdb.query, slack.chat.postMessage, slack.chat.getReactions, aws.systemsManager.writeDocument, aws.systemsManager.startAutomation, aws.systemsManager.waitForAutomationStatus, aws.systemsManager.deleteDocument, utils.datetime.fromEpoch, utils.uuid.generate

API gateway rollback

Automate API Gateway deployments

Deployment rollback

Monitor and manage deployments

Set up AWS credentials

Configure IAM roles for EC2 workflows

Copyright ยฉ 2026 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.