AWS
Connect AWS to the Pagerly SRE Agent to query EC2, ECS, Lambda, and other services.
Last updated
Connect AWS to the Pagerly SRE Agent to query EC2, ECS, Lambda, and other services.
List and describe ECS services, tasks, and task definitions
List EC2 instances and their status
List Lambda functions and their configurations
Query CloudWatch metrics for AWS resources
Search CloudWatch Logs across log groups
Go to AWS Console β IAM β Roles β Create role
Select AWS account β Another AWS account
Account ID: 065318983578 (Pagerly's account)
Check Require external ID β enter: pagerly-{teamId} (use the External ID shown in the form)
Click Next β attach this inline policy with permissions for ECS, Lambda, CloudWatch, etc.
Name the role (e.g., PagerlySREReadRole)
Copy the Role ARN from the role summary page
Role ARN
IAM role ARN for Pagerly
arn:aws:iam::123456789012:role/PagerlySREReadRole
AWS Region (optional)
Default region for API calls
us-east-1
Cross-account access via IAM Role is the most secure approach β Pagerly never stores your AWS credentials directly.
"Our ECS cluster is prod-api in us-west-2. EC2 instances are tagged with env=production. Lambda functions start with api-."
Last updated