Overview
Let's get our hands dirty. This part covers the full setup and the actual demo: deploy PayLedger to both regions, wire up Route 53 failover, configure the Agent Space, inject three simultaneous faults, and walk through exactly what the agent found.
Quick recap from Part 1: PayLedger is a demo payment ledger deployed to ap-southeast-1 (primary) and ap-northeast-1 (secondary) with Route 53 failover, DynamoDB Global Tables, and a Next.js frontend showing which region is serving. DevOps Agent sits in ap-southeast-2 monitoring both. If you haven't read the first part, you can check it out here:
Before You Start
Requirement Notes
AWS account IAM admin permissions
Domain in Route 53 Hosted zone for custom domain
Serverless Framework v4 npm install -g serverless
Python 3.12 Lambda runtime
ACM certificates In both apse1 and apne1 for the API subdomain
New customers get a 2-month free trial for AWS DevOps Agent. After that, billing is per second when the agent is active.…