You can add a user to a group and remove it at any time. A user can belong to several groups at the same time, and there is no limit to the number of users in a group.

You can then add an inline policy or attach a managed policy to the group, which is applied to all its users.

The following procedures are available:

Adding or Removing a User Using Cockpit

Adding or Removing a User from One or More Groups

  1. Hover over your name.
    A drop-down menu appears.

  2. Click Users and Policies Management 

  3. In the EIM navigation panel, click Users
    The Users page appears. 

  4. Click the user whose groups you want to modify. 
    The user is selected.

  5. Click Add/remove group 
    The ADD/REMOVE GROUPS dialog box appears. 

  6. To add the user to a group, click   and drag the corresponding group to the Associated Group(s) list.

  7. To remove the user from a group, click   and drag the corresponding group to the Available Group(s) list.

  8. Click Update to validate. 
    The user is added or removed from the groups.

Adding or Removing One or More Users from a Group

  1. Hover over your name.
    A drop-down menu appears.

  2. Click Users and Policies Management 

  3. In the EIM navigation panel, click Groups
    The Groups page appears. 

  4. Click the group whose users you want to modify. 
    The group is selected. 

  5. Click Add/remove users 
    The ADD/REMOVE USERS dialog box appears. 

  6. To add a user to the group, click   and drag the corresponding user to the Associated User(s) list.

  7. To remove a user from the group, click   and drag the corresponding user to the Available User(s) list.

  8. Click Update to validate. 
    The users are added or removed from the group.

Adding or Removing a User Using AWS CLI

Adding a User to a Group

  • To add a user to a group, use the add-user-to-group command following this syntax:

    Request sample
    $> aws iam add-user-to-group \
        --profile YOUR_PROFILE \
        --group-name GROUP_NAME \
        --user-name USER_NAME \
        --endpoint https://eim.eu-west-2.outscale.com

    This command contains the following attributes that you need to specify:

    • (optional) profile: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI.

    • group-name: The name of the group you want to add a user to.
    • user-name: The name of the user you want to add to the group.
    • endpoint: The endpoint corresponding to the Region you want to send the request to.


    The specified user is added to the specified group.

Removing a User from a Group

  • To remove a user from a group, use the remove-user-from-group command following this syntax:

    Request sample
    $> aws iam remove-user-from-group \
        --profile YOUR_PROFILE \
        --group-name GROUP_NAME \
        --user-name USER_NAME \
        --endpoint https://eim.eu-west-2.outscale.com

    This command contains the following attributes that you need to specify:

    • (optional) profile: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI.

    • group-name: The name of the group you want to remove a user from.
    • user-name: The name of the user you want to remove from the group.
    • endpoint: The endpoint corresponding to the Region you want to send the request to.


    The user is removed from the specified group.


AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.