0
0
AWScloud~3 mins

Why IAM roles concept in AWS? - Purpose & Use Cases

Choose your learning style9 modes available
The Big Idea

What if you could give access without ever sharing a password?

The Scenario

Imagine you have many people and apps needing access to your cloud resources, and you give each one a username and password manually.

Every time someone new joins or leaves, you must update all permissions by hand.

The Problem

This manual way is slow and confusing.

Passwords can be lost or shared by mistake, causing security risks.

It's easy to give too many permissions or forget to remove them, leading to mistakes and breaches.

The Solution

IAM roles let you create a set of permissions once and let trusted users or apps temporarily 'assume' these permissions without sharing passwords.

This makes access safe, easy to manage, and automatic.

Before vs After
Before
Create user with password
Assign permissions manually
Share password with app
After
Create IAM role with permissions
Allow app to assume role
No passwords shared
What It Enables

You can securely and easily control who can do what in your cloud without juggling passwords or manual updates.

Real Life Example

A mobile app needs to upload photos to cloud storage. Instead of embedding passwords, it assumes an IAM role with upload rights only when needed.

Key Takeaways

Manual user management is slow and risky.

IAM roles provide safe, temporary access without passwords.

This simplifies security and saves time.