TECH_COMPARISON
AWS IAM vs Cloud IAM vs Azure AD: A Detailed Comparison for System Design
Compare AWS IAM, Google Cloud IAM, and Azure AD/Entra ID for identity management — policies, roles, and access control models.
AWS IAM vs Cloud IAM vs Azure AD
AWS IAM, Google Cloud IAM, and Azure Active Directory (now Entra ID) are the identity and access management systems for the three major cloud providers. Each takes a different approach to the fundamental question: who can do what on which resources?
Policy Models
AWS IAM — Policy-Based
AWS IAM uses JSON policy documents that specify Effect (Allow/Deny), Action (s3:GetObject), Resource (arn:aws:s3:::my-bucket/), and optional Conditions. Policies attach to users, groups, or roles. AWS also has resource-based policies (S3 bucket policies, SQS queue policies), Service Control Policies for organization-wide guardrails, and permission boundaries. The system is powerful but complex.
Google Cloud IAM — Role-Based Hierarchy
GCP IAM uses a hierarchical model: Organization > Folders > Projects > Resources. Roles (bundles of permissions) are bound to members at any level of the hierarchy, and permissions inherit downward. A role granted at the folder level applies to all projects within that folder. GCP offers predefined roles (viewer, editor, owner plus hundreds of service-specific roles) and custom roles.
Azure AD (Entra ID) — Identity-Centric
Azure combines Azure AD for identity (users, groups, enterprise apps) with Azure RBAC for resource access. Azure AD handles authentication, conditional access, and enterprise SSO. Azure RBAC handles authorization with built-in roles assigned at management group, subscription, resource group, or resource scope.
Least Privilege Tooling
All three providers offer tools to achieve least privilege: AWS IAM Access Analyzer identifies unused permissions, GCP IAM Recommender suggests tighter roles based on usage, and Azure AD Access Reviews periodically validate access grants.
For IAM and security concepts in system design interviews, see our interview questions and pricing for access.
GO DEEPER
Master this topic in our 12-week cohort
Our Advanced System Design cohort covers this and 11 other deep-dive topics with live sessions, assignments, and expert feedback.
// RELATED_COMPARISONS
AWS WAF vs Cloudflare WAF: A Detailed Comparison for System Design
Compare AWS WAF and Cloudflare WAF for web application security — covering rule management, DDoS, bot protection, and when to use each.
AWS Secrets Manager vs HashiCorp Vault: A Detailed Comparison for System Design
Compare AWS Secrets Manager and HashiCorp Vault for secrets management — covering features, pricing, dynamic secrets, and use cases.
AWS Secrets Manager vs GCP Secret Manager: A Detailed Comparison for System Design
Compare AWS Secrets Manager and GCP Secret Manager for secrets storage — covering pricing, rotation, IAM integration, and use cases.
HashiCorp Vault vs AWS Secrets Manager: Secrets Management Comparison
Compare HashiCorp Vault and AWS Secrets Manager on dynamic secrets, multi-cloud support, PKI, audit logging, and operational overhead.
HashiCorp Vault vs Kubernetes Secrets: Secret Storage Security Comparison
Compare HashiCorp Vault and Kubernetes Secrets on encryption, dynamic credentials, audit logging, and security posture for Kubernetes workloads.
Snyk vs SonarQube: Developer Security and Code Quality Comparison
Compare Snyk and SonarQube on dependency scanning, SAST, developer experience, CI/CD integration, and vulnerability remediation guidance.