AWS Services - IAM Demo
Scenario: Create a Developer User with Limited Permissions
This walkthrough demonstrates how to set up an IAM user, assign it to a group, attach permissions, and log in using an account alias.
1. Create an IAM Group
- Open the IAM Console → Groups → Create New Group.
- Name it:
Developers. - Attach a managed policy: AmazonEC2ReadOnlyAccess.
- This allows developers to view EC2 instances but not modify them.
2. Create an IAM User
- Go to IAM Console → Users → Add User.
- Name:
dev-john. - Select AWS Management Console access.
- Choose Auto-generate password (optionally require password reset).
3. Add User to Group
- On the next step, assign the user
dev-johnto the Developers group. - This gives the user read-only permissions for EC2.
4. Set Account Alias
- In the IAM Console → Dashboard → Account Alias → Create alias.
Example:mycompany. - New login URL becomes:
https://mycompany.signin.aws.amazon.com/console
5. Log In as the User
- Share the login URL with
dev-john. - User signs in with username
dev-johnand the auto-generated password. - On first login, the user must reset their password.
6. Verify Permissions
dev-johncan open the EC2 console and view instances.- If the user tries to start or stop an instance, access will be denied.
7. Summary
- IAM Groups help manage permissions at scale.
- Account Aliases simplify user login.
- Always follow least privilege and use MFA for added security.