โ† Back to Overview

#1 AWS IAM Fundamentals Lab: User & Group Management with Managed Policies

Overview

This lab demonstrates core AWS Identity and Access Management (IAM) concepts: user, group, and role management; managed policy application; least-privilege enforcement; temporary credentials via STS; MFA enforcement; and trust modeling for internal and external auditors. It simulates a small team environment with Developers, Administrators, and Auditors.

Goal / Why

Scenario / Context

TeamAccess Needs
DevelopersS3 read/write, EC2 management
AdministratorsFull administrative access
Auditors (Internal)Read-only monitoring and compliance
Auditors (External)Temporary, role-based read-only access via STS

Steps Taken

  1. Root Account Security
    Enabled MFA, stored recovery info securely, restricted root to emergencies.
  2. Create Admin IAM User
    User: admin_user with full admin policy for lab.
  3. Create IAM Users
    dev_user, ops_user, audit_user with console access.
  4. Create IAM Groups & Policies
    Developers โ†’ AmazonS3FullAccess + AmazonEC2ReadOnlyAccess
    Admins โ†’ AdministratorAccess
    Auditors โ†’ ReadOnlyAccess
  5. Assign Users to Groups
  6. Create Sample Resources
    S3 bucket for testing.
  7. Verify Permissions
    Tested allowed/forbidden actions via Console and CLI.

Observations

Lessons Learned

"This lab mirrors real-world IAM evolution: from static user permissions โ†’ group-based access โ†’ temporary, role-based trust with enforced expiration."

Auditor Access Model

Optional Security Enhancements

Outcome / Results

Users and groups created successfully โ€ข Managed policies applied correctly โ€ข MFA enforced โ€ข Least privilege verified โ€ข Risks exposed and mitigated.

Next Steps / Improvements


Evidence / Artifacts
Screenshots of IAM Console showing users and groups CLI output of policy attachment and verification Optional Policy Simulator screenshots

References
AWS IAM Best Practices https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html AWS STS Temporary Credentials https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html CIS AWS Foundations Benchmark https://www.cisecurity.org/benchmark/amazon_web_services/

Screenshots from the Lab