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.
Conversation example
Lambda errors spiking on billing-worker. Pulling the last 10 log events from CloudWatch Logs...
Lambda Error Burst — billing-worker Function: arn:aws:lambda:us-east-1:...:billing-worker Errors: 12 in 5 min (alarm threshold: 5) Invocations: 48 → 25% error rate Top error (9 of 12): TypeError: Cannot read property 'plan_id' of undefined at prorateUsage (/var/task/src/billing.js:84) at Runtime.handler (/var/task/src/index.js:22) Correlation: started 6 min after the v2.11.0 deploy of lunogen/api. Looks like a missing field on trial subscriptions. Pinged @rivka-d (last committed to billing.js yesterday). Want me to trigger a rollback?
More AWS use cases
EC2 Instance State Change Alerts
Any EC2 instance that starts, stops, or terminates unexpectedly fires an EventBridge event. The agent reads it, adds context (who, why, tags), and posts to your #infra WhatsApp group.
Daily AWS Cost Tracker and Forecast
Every morning, the agent hits Cost Explorer for yesterday's spend by service, compares to the budget, forecasts end-of-month, and drops it on WhatsApp before the coffee is cold.
S3 Bucket Public-Access Audit
The agent checks every S3 bucket policy and ACL daily. If a bucket becomes public — or if an existing policy changes — it fires an immediate WhatsApp alert with the diff.
CloudWatch Alarm Routing to On-Call
CloudWatch alarms hit an SNS topic subscribed to LunoGen. The agent checks the current on-call rotation, adds runbook links, and DMs the right engineer on WhatsApp — not just the #alerts channel.
IAM Policy and Suspicious API Call Alerts
CloudTrail streams IAM changes and sensitive API calls (root login, access key creation, policy attach) to the agent, which flags anything suspicious and pings the security channel on WhatsApp.
Deploy this in minutes
Create a LunoGen agent, connect AWS, and start running this workflow from WhatsApp today.