Create Admin User

Create IAM Admin User

ℹ️ Overview In this section, you will create an IAM User with Administrator permissions by adding the user to the previously created Admin Group. This IAM User will be used to manage your AWS account with full admin privileges.

🔒 Security Note When creating an IAM User with admin privileges, adhere to the following security principles:

  • Use a complex password with at least 12 characters
  • Enable Multi-factor Authentication (MFA) immediately after creating the user
  • Store login credentials securely and confidentially
  • Periodically change the password according to security policy

Steps

  1. Access the AWS Management Console and open the IAM service
  2. In the left navigation pane, select Users and click Create users

AWS IAM

  1. On the Specify user details page:
    • Enter the user name (e.g., AdminUser)
    • Select Provide user access to the AWS Management Console
    • Select I want to create an IAM user

⚠️ Note: AWS recommends using AWS IAM Identity Center (successor to AWS SSO) for enterprise environments. However, for learning and practice purposes, we will use IAM Users.

AWS IAM

  1. Set password:
    • Select Custom password to set a custom password (or choose Autogenerated password for AWS to generate a strong one)
    • Check Users must create a new password at next sign-in to require the account to change the password upon the first login

💡 Pro Tip: Using an autogenerated password ensures randomness and password strength. Requiring a password change upon first login enhances security.

AWS IAM

  1. In step 2 Set permissions:
    • Select Add user to group
    • Select the AdminGroup created previously
    • Click Next

AWS IAM

  1. Add tags (optional):
    • Add tags to categorize and manage the user
    • Example: Environment = Production, Department = IT
    • Review configuration and click Create user

AWS IAM

  1. Secure login credentials:
    • Note down the Console sign-in URL
    • Download the .csv file containing login credentials and store this file in a safe location

⚠️ Note: This is the only opportunity to view and download the autogenerated password. Ensure secure storage.

  1. Confirm successful user creation

AWS IAM

  1. Check user group membership

AWS IAM

  1. Save the console login URL

AWS IAM

💡 Pro Tip:

  • Bookmark the Sign-in URL in your browser
  • Set up MFA immediately after the first login
  • Create an alias for the login URL to make it easier to remember