Skip to content

Lab:02 Users & Groups

TanveeKhanDB edited this page Apr 19, 2026 · 2 revisions

Users & Groups are Identity & Access Management (IAM) components:

👤 User

A User is an individual person or identity who can log in and use cloud resources.

👉 Example:

Ram (Developer) Priya (Admin)

Individual accounts that access OCI resources Have credentials (password, API keys) Assigned to groups for permission management

Steps to Create User in OCI:

Step:1.

image

Step.2.

image

Step.3.

image

Step.4.

image

Step.5.

image

👥 Group

A Group is a collection of users with similar roles.

👉 Instead of giving permissions to each user, you assign them to a group. Collections of users with similar responsibilities Make permission management easier Example: "DatabaseAdmins", "Developers", "Finance"

🧠 Simple Real-Life Analogy

Think of a company:

Employees = Users 👤 Departments (HR, IT, Finance) = Groups 👥

👉 You don’t give access individually—you give it to the department.

Graphical Representation:

image image

How They Work Together

Create Users (Ram, Priya) Create Groups (Developers, Admins) Add users to groups Assign permissions to groups (not users) 🔐 Why Use Groups?

✔️ Easier management

✔️ Better security

✔️ Scalable (add/remove users easily)

👉 Example:

Add Ram to "Developers" → he automatically gets all developer access ⚡ Quick Example Group: Developers Users: Ram, John

Steps to Create Group in OCI:

Step:1.

image

Step.2.

image

Step.3.

image

Step.4.

image

Step.5.

image

Policy:

Assign user to group:

Step:1.

image

Step.2. image

Step.3.

image

Developers can access Dev Compartment

👉 Both users now get access without separate rules.

🧾 One-Line Summary

👉 User = person, Group = collection of users with shared permissions in OCI

Clone this wiki locally