Objective. Students will create IAM users and groups, attach least-privilege policies, configure role-based access control, and explain why the root account should not be used for daily operations.
This lesson, its worked examples and its practice questions has not yet been verified by an industry-certified professional or by a certification or approval body. It is a study draft and may contain errors. Do not use it as instructions for work on a job site or on live equipment. Always follow your instructor, your supervising professional, and current official references and regulations.
VoTechWorks program approval and accreditation are still in progress. Credentials are issued only by the certifying bodies named in each program, after their own exams.
Identity and Access Management (IAM) is the framework of policies, processes, and technologies that controls who can access cloud resources and what they can do with them. Every major cloud provider — AWS, Microsoft Azure, Google Cloud — includes a built-in IAM system. In AWS, the service is simply called IAM. In Azure it is called Microsoft Entra ID (formerly Azure Active Directory). Regardless of the provider, the core concepts are the same: authenticate the identity, then authorize only the actions that identity needs.
IAM sits at the intersection of networking and security. For IT support technicians and network engineers, understanding IAM is not optional — a misconfigured policy is one of the most common causes of cloud data breaches.
When you first create a cloud account, you receive a root (or global administrator) account. This account has unrestricted access to every service, every resource, and every billing function in the environment. Because of that power, the root account should never be used for daily operations.
Best practices for the root account include:
Think of the root account like the master key to a building. You lock it in the safe and only retrieve it in a genuine emergency.
IAM Users are individual identities — usually a person or an application — that need to interact with the cloud environment. Each user has credentials: a username and password for the console, and optionally an access key pair for programmatic access (CLI or API calls).
IAM Groups are collections of users. You attach permissions to the group, not to individual users. When a new employee joins the help desk, you add them to the Help Desk group and they automatically receive the correct permissions. This approach is far easier to audit and maintain than managing permissions on each user separately.
IAM Roles are similar to users but are meant to be assumed temporarily by a person, a service, or an application that needs access for a specific task. For example, an EC2 virtual machine that needs to read objects from an S3 storage bucket assumes a role with read-only S3 permissions. Roles do not have static long-term credentials, which makes them more secure than embedding credentials in code.
A policy is a document (in AWS, written in JSON) that defines allowed or denied actions on specific resources. A policy contains:
Providers publish hundreds of managed policies — pre-written, tested policies you can attach without writing JSON from scratch. Examples include `AmazonS3ReadOnlyAccess` or `AWSBillingReadOnlyAccess`. You can also write custom policies for fine-grained control.
Least privilege is the foundational security principle behind all IAM work: grant only the minimum permissions a user or system needs to do their job, and nothing more. A billing administrator does not need the ability to launch or terminate virtual machines. A junior support technician does not need write access to production databases. Excess permissions are a standing invitation for both accidental damage and malicious exploitation.
Over-permissioned accounts have contributed to numerous real-world breaches. In several well-documented incidents, attackers compromised a single set of credentials and used the broad permissions attached to that account to exfiltrate data, spin up expensive resources for cryptocurrency mining, or move laterally to other systems. Least privilege limits the blast radius of any single compromised identity.
Before applying a policy in production, use the IAM Policy Simulator (available in AWS and equivalent tools in other clouds). This tool lets you test which actions a given user, group, or role can perform under a specific policy — without making real changes to your environment. During lab work, always simulate before you apply, then verify by attempting both allowed and denied actions after the policy is live.
Role-Based Access Control (RBAC) is an access-control model in which permissions are assigned to roles, and users are assigned to those roles. It is the model underlying IAM groups and IAM roles. RBAC makes auditing straightforward: to know what a user can do, you only need to look at the role or group they belong to. RBAC is contrasted with Attribute-Based Access Control (ABAC), which grants access based on tags or attributes, and is relevant to more advanced cloud configurations.
IAM errors can cause production outages and security incidents — both of which have real cost. Observe these professional practices in the lab and on the job:
Answer each question, then check it. Nothing is recorded; this is your own practice.
A free tech program — complimentary, as our commitment to get America working. Help us build VoTechWorks. Tell us what works, what doesn’t, and what you want to learn.