aws avatar

Setting Up Cloudtrail Multi Region

This sets up CloudTrail to capture API activity across all AWS regions in one go, storing logs in S3 and pushing them to CloudWatch Logs for querying. You'd use this when you need centralized audit trails for security monitoring or compliance requirements instead of managing per-region trails. The skill walks through the complete setup including the CloudWatch Logs integration and has practical troubleshooting for common issues like permission errors and the sometimes lengthy delay for opt-in region events to appear. Worth noting it explicitly steers you away from overly permissive IAM policies, which is the right call for anything touching audit logs.

skills.sh installs
6.5K
GitHub stars
3.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add aws/agent-toolkit-for-aws --skill setting-up-cloudtrail-multi-region --agent claude-code

Installs into .claude/skills of the current project.

Files

Setting Up CloudTrail Multi-Region

Overview

Domain expertise for enabling AWS CloudTrail across all regions to capture comprehensive API activity logs and configuring CloudWatch Logs Insights for security monitoring, compliance auditing, and operational analysis.

Set up a multi-region trail

To create a centralized multi-region CloudTrail trail with S3 storage, CloudWatch Logs integration, and log analysis, follow the procedure exactly. See CloudTrail multi-region setup procedure.

Troubleshooting

S3 bucket already exists

Choose a different globally unique name, or add a timestamp or organization identifier.

Permission denied errors

Verify your identity with aws sts get-caller-identity. Ensure your user/role has required actions attached. Do NOT use *FullAccess managed policies.

Trail not logging

Verify IAM role permissions, check S3 bucket policy allows CloudTrail access, and ensure the trail is started with start-logging.

Missing events in CloudWatch

Sponsors

Details

Repository
github.com/aws/agent-toolkit-for-aws
Categories
Backend & APIs, Security, DevOps & CI/CD, AI & Agent Building, Cloud & Infrastructure
First seen
Jun 3, 2026

More from aws/agent-toolkit-for-aws

All 56
1wondelai avatarsoftware-design-philosophywondelai/skillsManage software complexity through deep modules, information hiding, and strategic programming. Use when the user mentions "module design", "API too complex", "6.4Kskills.sh installs
2jeffallan avatarjavascript-projeffallan/claude-skillsWrites, debugs, and refactors JavaScript code using modern ES2023+ features, async/await patterns, ESM module systems, and Node.js APIs. Use when building vanil6.4Kskills.sh installs
3testdino-hq avatarplaywright-skilltestdino-hq/playwright-skillBattle-tested Playwright patterns for writing, debugging, and scaling reliable test suites. Use when you need guidance for E2E, API, component, visual, accessib6.2Kskills.sh installs
4jamditis avatarweb-scrapingjamditis/claude-skills-journalismAuthorized web content extraction with trust-boundary controls, scraping cascades, poison-pill detection, browser rendering, observed API analysis, and social-m6.2Kskills.sh installs
5mongodb avatarmongodb-search-and-aimongodb/agent-skillsGuides MongoDB users through implementing and optimizing Atlas Search (full-text), Vector Search (semantic), and Hybrid Search solutions. Use this skill when us6.2Kskills.sh installs
6openai avatarfigmaopenai/skillsUse the Figma MCP server to fetch design context, screenshots, variables, and assets from Figma, and to translate Figma nodes into production code. Trigger when6Kskills.sh installs