Skip to content
Learn Netverks

Lesson

Step 6/36 17% through track

iam-intro

IAM introduction

Last reviewed Jun 1, 2026 Content v20260601
Track mode
none
Means
Read / quiz
Reading
~2 min
Level
beginner

This lesson

An orientation to the AWS track—cloud basics, IAM, core services, and how to practice safely in your own sandbox account.

You need a mental map of regions, IAM, and core services before touching production accounts or cloud interviews.

You will apply IAM introduction in contexts like: Corporate landing zones, CI/CD roles, and break-glass access policies.

Read the lesson, reproduce steps in your AWS Free Tier or sandbox (console and optional AWS CLI), diagram the architecture in notes, and complete MCQs—no in-browser cloud lab. Also read the interview prep blocks; enable MFA and avoid using root for daily work; draw who can assume which role before attaching AdministratorAccess.

After you can deploy a simple web app locally—when you will own infrastructure, study for Solutions Architect, or join a team on AWS.

AWS Identity and Access Management (IAM) controls who can do what on which resources. Every API call is authorized through IAM—master this before launching production workloads.

IAM building blocks

  • Root user — account owner; use only for break-glass tasks
  • IAM users — long-lived identities (prefer SSO/roles for humans in orgs)
  • Groups — collections of users sharing permissions
  • Roles — temporary credentials for services or federated users
  • Policies — JSON documents listing Allow/Deny actions on resources

Authentication vs authorization

Authentication proves identity (password, MFA, access key). Authorization decides allowed actions via policies attached to users, groups, or roles.

Inspect your caller identity

aws sts get-caller-identity
aws iam list-attached-user-policies --user-name YOUR_SANDBOX_USER

Practice: Perform IAM steps in the IAM Console or with the AWS CLI in a sandbox account only.

Replace YOUR_SANDBOX_USER with a learning user you created—not root.

Security baseline

Enable MFA on privileged accounts. Rotate access keys. Never embed keys in Python or Node.js source—use IAM roles on EC2/Lambda or environment variables from a vault.

Important interview questions and answers

  1. Q: What is IAM?
    A: AWS service for managing authentication and authorization to AWS resources.
  2. Q: Root vs IAM user?
    A: Root owns the account; daily work should use least-privilege IAM users or roles.

Self-check

  1. Name the five IAM building blocks from this lesson.
  2. What is the difference between authentication and authorization?

Pitfall: Using root for daily Console work—create IAM identities immediately.

Interview prep

IAM purpose?

Control authentication and authorization for AWS API access.

Policy attachment?

Policies attach to users, groups, or roles to grant/deny actions on resources.

Interview tip Lesson completion confidence

Can you explain this lesson in 30 seconds without reading notes?

Not saved yet.

Check yourself

Multiple choice — immediate feedback.

Discussion

Past discussion is visible to everyone. Only logged-in users can post comments and replies.

Starter discussion topics

  • User vs role?
  • Policy JSON shape?

Sign up or log in to post comments and sync lesson progress across devices.

No discussion yet. Be the first to ask a question.

Jump