Interview Prep/AWS/Global Infrastructure and IAM Basics

What is the difference between AWS managed, customer managed and inline policies?

IntermediateConceptGlobal Infrastructure and IAM Basics
Answer

AWS managed policies are created and updated by AWS (ReadOnlyAccess); convenient but broad and they can change under you. Customer managed policies are standalone documents you own, versioned (up to 5 versions) and reusable across identities. Inline policies are embedded in a single identity and die with it.

We default to customer managed policies in code (Terraform/CloudFormation) so permissions are reviewable and reusable, and use inline only for strictly one-to-one cases.

aws All AWS questions Roadmap: AWS core services

More on Global Infrastructure and IAM Basics