Governing AWS

Turbot Guardrails provides deep integration with AWS through dozens of mods covering hundreds of resource types. This section covers everything you need to set up and manage AWS governance in your workspace, from connecting your first account through to configuring real-time events, permissions, and services.

Getting Connected

The recommended path is to connect your AWS Organization, which discovers all member accounts automatically and gives you granular control over which accounts to govern and at what level.

GuideDescription
Connect an AWS OrganizationRecommended. Connect your organization, choose discovery levels, deploy IAM roles to member accounts via StackSet, and enable resource-level governance. Covers the complete flow from initial connection through to verification.
Connect an Individual AccountImport a single standalone AWS account directly. Use this for accounts not managed through an AWS Organization.
Connect a GovCloud or China AccountImport accounts in the aws-us-gov or aws-cn partitions, which require IAM access key pairs.

[!TIP] When connecting via an organization, you choose a discovery level for each account during the wizard:

You can import accounts in All Resources mode during the initial organization connection, or start with Account Only and upgrade individual accounts later.

Real-Time Events

After connecting accounts, configure how Guardrails receives change notifications from AWS. You have three options. Choose one:

GuideDescription
Real-Time Events OverviewUnderstand the three options and choose the right one for your environment.
Event PollerThe simplest option. Guardrails periodically polls CloudTrail for changes. Higher latency and limited scalability, but zero AWS infrastructure required.
Global Event HandlersRecommended. Real-time event delivery via EventBridge rules forwarded to a single primary region. Fast, scalable, and requires fewer AWS resources than regional handlers.
Regional Event HandlersThe original real-time mechanism. Deploys EventBridge rules, SNS topics, and subscriptions in every region. Superseded by Global Event Handlers.
Migrate to Global Event HandlersMove from regional to global event handlers.

Configuration

GuideDescription
Enabling ServicesEnable AWS services for governance. Each service must be explicitly enabled before Guardrails discovers its resources.
Managing PermissionsConfigure how Guardrails manages AWS IAM permissions: Role Mode, User Mode, lockdown, and boundary policies.
User ModeUse IAM users and groups instead of roles for Guardrails-managed permissions.

Integration and Lifecycle

GuideDescription
Security Hub IntegrationStream Guardrails control findings to AWS Security Hub.
Decommission an AccountSafely disconnect an AWS account by removing Guardrails infrastructure and deleting the connection.