AWS Builder Center
AWS IAM for beginners

AWS IAM for beginners

A beginner’s guide to AWS IAM: users, groups, roles and policies, plus MFA and least privilege, explained with a simple S3 example.

Final-year student learning AWS and cloud, aiming to earn Cloud Practitioner and be a data engineer.
To go beyond reading, I tried IAM myself. I started by turning on MFA for my account and avoiding the root user for everyday work. Then I created an IAM user and attached a read-only S3 policy to it. When I signed in as that user, I could list and download files from my bucket, but uploading a file was denied with an “access denied” message. At first this looked like an error, but it showed me exactly how least privilege works: the user can do only what the policy allows, and nothing more. I then opened the policy’s JSON and read it line by line, matching the Effect, Action and Resource fields to what I had seen. I also learned that when something fails in AWS, IAM permissions are often the first place to check. This matters for data engineering, because services like Glue and Athena need IAM roles to read data from S3, and a missing permission can stop a whole pipeline. From my AWS internship, I also saw that teams prefer roles over sharing access keys, because roles give temporary access and are safer. Overall, these small experiments helped me understand IAM much better than theory alone, and they gave me more confidence for the Cloud Practitioner exam.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article