01Chapter 1: The organization tree: root, OUs, and accountsEvery guardrail in this tutorial is attached to a node in a tree. Before you write an SCP or an RCP, you need to know what the nodes are, how they nest, and how to list and change them. This chapter covers the structure of an AWS organization and the CLI commands that inspect and reshape it.6 min read
02Chapter 2: Authorization policy types and enabling themThis chapter covers the policy types that AWS Organizations offers, the two that control authorization, and how to turn them on. It assumes you can read IAM policy JSON, know the difference between identity-based and resource-based policies, and have used the AWS CLI. It also assumes you know the ro6 min read
03Chapter 3: Attaching policies and how inheritance worksThis chapter assumes you know the structure of an organization (root, organizational units, accounts) and can read IAM policy JSON. It also assumes you have enabled the SCP and RCP policy types on the root, as shown earlier in this tutorial. Here you learn where policies attach, how they flow down t6 min read
04Chapter 4: What an SCP is and what it is notThis chapter assumes you know how IAM identity-based policies work and can read policy JSON (Effect, Action, Resource, Condition). It also assumes you know the organization tree of a root, OUs, and accounts, and that you have enabled the SCP policy type on the root. By the end you should be able to 6 min read
05Chapter 5: What SCPs do not restrictThis chapter assumes you know the organization tree and how SCPs are attached and inherited. It covers the principals and actions that service control policies (SCPs) never evaluate. These gaps cause two kinds of mistakes: guardrails you believe are in force but are not, and "mystery" access that no6 min read
06Chapter 6: Deny list versus allow list strategiesAn SCP strategy is the rule you follow for deciding what the policies in your organization say. There are two: a deny list and an allow list. This chapter assumes you know how SCPs are attached and inherited. It also assumes you know that an SCP never grants permissions. It only sets the maximum tha6 min read
08Chapter 8: What an RCP is and how it differs from an SCPThis chapter assumes you know how an organization tree is built (root, OUs, accounts), how policies attach and inherit, and how an SCP caps what principals can do. You should also be able to read IAM policy JSON. If SCP inheritance is still unclear, review the earlier chapters first.6 min read
09Chapter 9: How SCPs and RCPs fit into request evaluationThis chapter assumes you can read IAM policy JSON and know the difference between identity-based and resource-based policies. It also assumes you have seen the ideas of inheritance and "maximum permissions" from the earlier chapters. Here you will put the pieces together into one model: what AWS che6 min read
10Chapter 10: Writing RCPs and checking supported servicesThis chapter assumes you can read IAM policy JSON, you know how SCPs inherit down the organization tree, and you have enabled the RCP policy type on the root. You will learn the rules that shape an RCP, how to read its two example policies, how to add exceptions, and how to confirm a service is supp5 min read
11Chapter 11: Choosing the right controlThis chapter helps you pick the right tool for a given guardrail. It assumes you can read IAM policy JSON, know the difference between identity-based and resource-based policies, and have read the earlier chapters on how SCPs and RCPs are attached, inherited, and evaluated.6 min read
12Chapter 12: Data perimeter patterns with RCPs and SCPsThis chapter assumes you can read IAM policy JSON and that you know how SCPs and RCPs are attached, inherited, and evaluated from the earlier chapters. Here you combine them into a data perimeter. A data perimeter is a set of preventive guardrails that keeps your data reachable only by trusted ident6 min read
13Chapter 13: Testing and rolling out guardrails safelyThis chapter assumes you can write SCPs and RCPs, attach them with the AWS CLI, and read CloudTrail events. It covers how to put a new guardrail into an organization without breaking production workloads, and how to back it out when something goes wrong.6 min read
14Chapter 14: Troubleshooting denials caused by SCPs and RCPsThis chapter assumes you have read the earlier chapters on SCP and RCP fundamentals, inheritance, and request evaluation. It also assumes you can read CloudTrail events and run AWS CLI commands. Here you will learn how to tell whether an access denial comes from an SCP, an RCP, or something else. Yo7 min read