AWS

Stable

Monitor infra, track cost, and respond to AWS events from WhatsApp

Developer Tools

What is AWS?

AWS is the world's leading cloud platform, powering everything from startup MVPs to global SaaS backends. The LunoGen AWS integration uses the AWS SDK and EventBridge to let your agent monitor EC2, Lambda, S3, CloudWatch, CloudTrail, IAM, and Cost Explorer — and route meaningful events to WhatsApp, where you'll actually see them.

Why connect AWS?

AWS is powerful but noisy. On-call engineers drown in CloudWatch emails, cost surprises land 3 weeks late, and IAM policy drift goes unnoticed until an audit. LunoGen routes AWS events through an AI agent that triages by severity, de-duplicates noise, adds context, and pings the right human on WhatsApp — turning chaotic alerts into calm, actionable messages.

What you can do

  • EC2 state-change alerts via EventBridge
  • Daily AWS cost tracking with Cost Explorer API
  • Lambda error aggregation from CloudWatch Logs
  • S3 bucket public-access and policy change auditing
  • CloudWatch metric alarm routing to on-call engineer
  • IAM policy change detection via CloudTrail
  • Suspicious API call alerts (root logins, key rotations)
  • SNS topic integration for existing alarm infrastructure
  • EventBridge rule-based routing to different WhatsApp groups
  • Budget and forecast alerts before month-end surprises

Setup

Requirements

  • An AWS account with admin or delegated permissions
  • IAM role or access key with read access to the services you want to monitor
  • A LunoGen account with at least the Pro plan
  1. 1

    Create a LunoGen IAM role

    In the AWS Console, create an IAM role trusted by the LunoGen AWS account. Attach policies for ec2:Describe*, lambda:Get*, s3:GetBucket*, cloudwatch:*, ce:*, and iam:Get* as needed.

  2. 2

    Connect AWS in LunoGen

    Open Credentials → New → AWS in LunoGen. Paste your role ARN or access keys, plus the AWS regions you want the agent to watch.

  3. 3

    Hook up EventBridge for real-time alerts

    Create an EventBridge rule that matches the event patterns you care about (EC2 State Change, CloudTrail API calls, etc.) and sends them to your LunoGen webhook as the target.

  4. 4

    Enable Cost Explorer

    If cost tracking isn't already on, enable Cost Explorer in Billing. The agent uses the CE API for daily spend reports and budget alerts.

  5. 5

    Route CloudWatch alarms

    Point your existing CloudWatch alarms at an SNS topic subscribed to LunoGen, or create a new alarm with LunoGen as the action target.

AWS use cases

6 total

Lambda Function Error Notifications

CloudWatch Alarms on Lambda error metrics route through the agent. It groups related errors, pulls the latest stack trace from CloudWatch Logs, and pings on-call with the suspected cause.

Webhook + WhatsApp DMlambdacloudwatcherrors
CloudWatch Alarm: lambda-billing-worker-errors ALARM (threshold: 5 errors in 5 min)
http_request → CloudWatch Logs filterLogEvents

Lambda errors spiking on billing-worker. Pulling the last 10 log events from CloudWatch Logs...

See full conversation

Related integrations

Ready to connect AWS?

Spin up an AI agent in under 2 minutes, plug in your AWS credentials, and start running your workflows from WhatsApp.