Account vending and guardrails
Account vending as a controlled workflow
Account vending is a repeatable request-to-ready process. A team submits an owner, purpose, environment, OU, cost center, data classification and anticipated capacity. An approver checks risk and funding; automation provisions or enrolls the account, sets baseline logging, identity assignments and network configuration, and verifies the result before handoff. Control Tower Account Factory provides account provisioning; Account Factory for Terraform (AFT) adds a Terraform pipeline for account provisioning and customization. Account Factory Customization supports approved customization templates. These are account lifecycle mechanisms, not unrestricted workload deployment privileges.
Three control behaviors
A preventive control restricts prohibited operations, using mechanisms such as SCPs, RCPs or declarative policies. It does not grant access. A detective control identifies a nonconforming resource, typically through AWS Config evaluation; a finding needs a response owner and deadline. A proactive control evaluates supported CloudFormation provisioning through hooks, so it is not universal protection for direct API calls. For Cedar, require encrypted storage in approved templates, detect configuration drift in running resources and separately restrict prohibited operations. Check each specific control, its supported Regions, resource coverage and status. A tag policy standardizes tags for supported resources but does not guarantee every resource has a tag; combine inventory and enforcement mechanisms appropriate to the service.
Review the request before handoff
Cedar requires production requests to contain owner, cost center, classification and an approved template version. The platform reviewer checks logging, access, encryption, quotas and estimated spend before marking the account ready. The fictional review model refuses unknown or false gate values. A capacity request is not an entitlement to a quota increase: verify current quotas and which are adjustable for the specific service and Region, request increases through authorized channels, and wait for confirmation before committing capacity. Retry account requests with a stable request ID and reconcile existing state instead of accidentally requesting another account.
Exceptions, drift and retirement
An exception is a scoped, approved risk decision with owner, control ID, account, reason, compensating measure and expiry. It is not a way to override an explicit deny: a separately authorized policy change may be required. Avoid disabling a shared guardrail to help one team. Test changes in an isolated OU, review IaC differences and capture baseline evidence. Account moves can change inherited policies; Control Tower auto-enrollment settings affect how baselines and controls are applied or removed. Review the destination, dependencies and rollback plan before any move. Retirement requires verified dependency removal, access revocation, data retention and restore checks, and owner approval; no account closure is performed in this lesson.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Account vending and guardrails — knowledge check
Reason about account governance, guardrails and platform ownership.
When is a vended account ready?
Which control identifies a nonconforming running resource?
Why not rely on proactive hooks alone?
An exception has expired. What should the workflow do?
A quota increase is pending. What should the team do?