DevOpsLesson
DevOpsLesson

Free, comprehensive DevOps tutorials and learning roadmaps. Master Docker, Kubernetes, CI/CD, and more.

Stay Updated

Get notified about new tutorials and features.

Tutorials

  • What is DevOps?
  • Docker Tutorial
  • Terraform Tutorial
  • CI/CD Pipeline
  • All Tutorials

Roadmaps

  • DevOps Engineer
  • Cloud Engineer
  • SRE Path
  • All Roadmaps

Company

  • About Us
  • Blog
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 DevOpsLesson. All rights reserved.

DOCKERKUBERNETESTERRAFORMAWSCI/CDLINUXGITDEVOPS ROADMAPCLOUD ROADMAPSRE ROADMAPGIT CHEATSHEETDOCKER CHEATSHEETK8S CHEATSHEETTF CHEATSHEETLINUX CHEATSHEETDOCKERFILE LINTERYAML VALIDATORCRON PARSERREGEX TESTER

Aws Tutorial

Introduction to AWS
AWS Global Infrastructure
Setting Up AWS
AWS IAM
AWS EC2
AWS VPC
AWS S3
AWS RDS
AWS Lambda
AWS ECS and EKS
AWS CloudWatch
AWS CodePipeline
AWS Cost Optimization
AWS Elastic Load Balancing
AWS Auto Scaling
AWS CloudFront
AWS Route 53
AWS DynamoDB
AWS ElastiCache
AWS SQS
AWS SNS
AWS EventBridge
AWS Step Functions
AWS API Gateway
AWS ECR
AWS EKS
AWS CloudFormation
AWS Elastic Beanstalk
AWS KMS
AWS Secrets Manager
AWS WAF and Shield
AWS CloudTrail
AWS Config
AWS Systems Manager
AWS Organizations
AWS EFS
AWS EBS Deep Dive
AWS Kinesis
AWS Athena
AWS CodeDeploy
AWS CodeCommit
AWS CDK
AWS SAM

AWS IAM Users and Groups

PreviousPrev
Next

Create IAM users, organize them into groups, and decide when console access or programmatic access is appropriate.

IAM users and groups are the simplest building blocks for human access in AWS. An IAM user represents a person or long-lived identity, while a group is a container that lets you attach one policy set to many users at once. Groups keep access management from turning into a manual, user-by-user process.

A common workflow is to create a user, decide whether they need console access, programmatic access, or both, and then add the user to one or more groups such as developers, auditors, or billing-readonly. Policies are usually attached to the group rather than directly to the user so permission changes stay centralized and consistent.

Access typeWhen to use it
Console accessInteractive work in the AWS web console
Programmatic accessCLI, SDK, automation, or scripts
Group membershipShared permissions for teams or functions

Programmatic access creates access keys, which should be treated like secrets. If you can avoid long-lived keys by using roles or federation, that is usually better. When you do create keys, store them securely and rotate them regularly. Console passwords also deserve care: require MFA and avoid sharing accounts between people.

Users and groups work well for small teams or learning environments, but they are often only the starting point. As organizations mature, they rely more on roles, identity federation, and centralized access patterns. Still, understanding users and groups is essential because many policies, audit findings, and older environments still depend on them.

Continue with AWS IAM for the big picture and AWS IAM Roles and Policies for more advanced permission design.

aws iam create-user --user-name alice
aws iam create-group --group-name developers
aws iam add-user-to-group --user-name alice --group-name developers
aws iam list-groups-for-user --user-name alice

Operational note

Permission work improves when it is reviewed as part of normal delivery rather than treated as a one-time security task. When a new team, service, or pipeline is introduced, decide which identity it should use, what the smallest permission set looks like, and how you will audit changes later through CloudTrail and IAM reports. Shared standards like this make future environments easier to launch, review, and support.

Exercise

Groups

Why do IAM groups help simplify permission management?

Exercise

Programmatic access

What is created when an IAM user receives programmatic access?

PreviousPrev
Next

Continue Learning

AWS Console Tour

Get comfortable with the AWS Management Console by learning the services menu, search bar, region switcher, and recent history navigation.

8 min·Easy

AWS CLI Setup

Install and configure AWS CLI v2 on macOS, Linux, or Windows, then verify credentials and use profiles for multiple AWS accounts.

12 min·Easy

AWS IAM

Understand AWS Identity and Access Management, including users, groups, roles, policies, and least-privilege design for secure cloud operations.

20 min·Intermediate

Explore Related Topics

Te

Terraform Tutorials

Manage AWS infrastructure as code

Li

Linux Tutorials

Essential Linux skills for working with EC2

On This Page

Operational note