Accounts, identity and guardrails

Unit 3 of 5 in Cloud fundamentals and shared responsibility.

You will be able to protect a new cloud account and explain what organization-wide guardrails do.

Lesson

The account is the front door

AWS's IAM best practices start with identity. They say to require human users to use federation with an identity provider and temporary credentials, to require workloads to use temporary credentials through IAM roles, to require multi-factor authentication, to update access keys when long-term credentials are needed and to protect root user credentials. When you create an AWS account you establish root user credentials, and AWS says to safeguard them the way you would protect other sensitive personal information.

AWS recommends roles that give temporary credentials for people and workloads. Where an IAM user or the root user is still needed, it says to require MFA.

Least privilege, step by step

The same guide says to apply least-privilege permissions, to start with AWS managed policies and move toward least privilege, and to use IAM Access Analyzer to generate least-privilege policies from actual access activity. This is the Foundations idea of least privilege applied to a cloud, where a permission is a line of JSON and a mistake can open a whole account.

Many accounts, one set of limits

AWS Organizations lets you centrally manage and govern many accounts: create accounts, group them, apply policies for governance and simplify billing. It integrates with other AWS services so central security configurations and audit requirements can span accounts.

Service control policies (SCPs) give central control over the maximum permissions for the IAM users and roles in the organization's accounts. AWS says an SCP does not grant any permission; it sets a guardrail, a limit, and an administrator still has to attach ordinary identity-based or resource-based policies to grant access. SCPs are available only in an organization with all features enabled. The result: even an account administrator cannot do what the organization's guardrail forbids.

Key points

Sources

Practice in the labs

Secure your own account, then set up a read-only identity and a guardrail.

Knowledge check

  1. Does a service control policy grant permissions? Answer: No; it sets a limit, and other policies must grant access. AWS says SCPs do not grant permissions; they define a permission guardrail.
  2. What does AWS recommend for people and workloads that access AWS? Answer: Federation or roles that give temporary credentials. The IAM best practices say to require temporary credentials for human users and for workloads.
  3. Why is the root user treated so carefully? Answer: Its credentials are created with the account and must be safeguarded like the most sensitive information. AWS says to protect root credentials the way you protect other sensitive personal information, and to require MFA for it.

Back to the syllabus or see all classes.

Related