🚧 Under construction — VoTechWorks is being built. A free tech program — complimentary, as our commitment to get America working.
voTechWorksGrade 13 · a vocational technology learning center, by urbanicity
newSchoolWorks.com › VoTechWorks › Technology & Design › IT Support / Networking › Cloud Basics for IT Support and Networking › Lesson 7
TEC-ITS43-05 · Lesson 7 · 12.5 clock hours · practice

Identity and Access Management (IAM)

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.

⚠ Pending professional review

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.

What Is Identity and Access Management?

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.

The Root Account: Handle With Extreme Care

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.

Users, Groups, and Roles

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.

Policies and Least Privilege

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.

The IAM Policy Simulator

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

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.

Safety and Professional Practices

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:

Key terms10

IAM (Identity and Access Management)The cloud service framework that controls who can authenticate to an environment and what actions they are authorized to perform on which resources.
Root accountThe initial, unrestricted account created when a cloud account is first established; it has complete access to all services and billing, and should not be used for daily tasks.
Least privilegeThe security principle of granting only the minimum permissions required for a user or system to perform its intended function, and nothing more.
IAM policyA document that defines what actions are allowed or denied on what resources; in AWS, policies are written in JSON and attached to users, groups, or roles.
IAM roleA temporary identity with specific permissions that can be assumed by a person, application, or cloud service; roles do not have static long-term credentials.
Managed policyA pre-written, provider-maintained IAM policy that can be attached to users or groups without requiring custom JSON authoring.
Role-Based Access Control (RBAC)An access-control model in which permissions are assigned to named roles and users are placed in those roles, simplifying administration and auditing.
Multi-factor authentication (MFA)An authentication method requiring two or more verification factors — such as a password plus a one-time code — to confirm a user's identity before granting access.
IAM Policy SimulatorA cloud tool that lets administrators test the effect of IAM policies on specific users, groups, or roles before applying those policies to a live environment.
Access keyA set of credentials (key ID and secret) used by applications or the command-line interface to authenticate to a cloud provider programmatically, without using a console login.
In class: Scenario-based exercise: given three fictional job roles (junior support tech, billing admin, network engineer), students write the minimum permissions each role needs, then search the provider's managed policy library to find the closest matching policies. · Guided practice: students create two IAM users, place them in groups, attach appropriate managed policies to each group, and verify permissions by logging in as each user and attempting allowed and denied actions. · Class discussion followed by individual written reflection: students explain the principle of least privilege, give one example of a real-world breach caused by over-permissioned accounts, and state two specific IAM controls that would have reduced the risk.
Materials: Cloud lab sandbox, IAM policy simulator (AWS or equivalent), CompTIA Security+ reference for IAM concepts (for context), scenario handout, lab log template
Check: Instructor tests each student's IAM setup by attempting an action outside the policy scope while logged in as the restricted user; the action must be denied; student must also verbally explain least privilege to receive a passing score.

Practice check8

Answer each question, then check it. Nothing is recorded; this is your own practice.

CompTIA A+ / CompTIA Network+ — Security concepts; Cisco CCST — Cloud and security fundamentals
1. Why should the cloud root account not be used for daily administrative tasks?
CompTIA Network+ — Network security; CompTIA A+ — Operational procedures
2. A company creates one IAM user for every employee and attaches permissions directly to each user individually. Which approach would be more scalable and easier to audit?
Cisco CCNA — Cloud and automation; CompTIA Network+ — Cloud concepts
3. Which IAM concept describes granting a virtual machine temporary permission to read from a storage bucket without embedding long-term credentials in the application code?
CompTIA A+ — Security; CompTIA Network+ — Network security
4. A junior support technician's account is compromised. The attacker is able to delete production databases, terminate virtual machines, and modify billing settings. Which security principle was most clearly violated?
CompTIA Network+ — Cloud concepts; Cisco CCST — Security fundamentals
5. Before applying a new IAM policy in a production environment, what is the recommended step to verify its effect without risking a real outage?
CompTIA Network+ — Cloud concepts; Cisco CCNA — Cloud and security
6. Which element of an IAM policy document specifies whether the stated actions are permitted or prohibited?
Cisco CCNA — Security fundamentals; CompTIA Network+ — Network security
7. A network engineer needs full access to virtual networking resources but must have no access to the company's HR data stored in a cloud database. Which approach best implements this requirement?
CompTIA A+ — Security; CompTIA Network+ — Network security; Cisco CCST — Security fundamentals
8. An auditor finds that several IAM users have access keys that were created two years ago and have never been rotated. What is the primary security risk of leaving access keys unchanged for an extended period?
Record this lesson on my transcript. Sign in with your key and enrollment email to record lessons (enroll free if you have no key). This page stays open to read and practise.