Creating an IAM (Identity and Access Management) group in AWS (Amazon Web Services) is a straightforward process. Here are the steps to create an IAM group:
1. Sign in to the AWS Management Console using your AWS account.
2. Navigate to the IAM console. You can find this by typing ‘IAM’ into the search bar at the top of the page and selecting ‘IAM’ from the dropdown list.
3. In the IAM dashboard, select ‘Groups’ from the navigation pane on the left side of the page.
4. Click the ‘Create New Group’ button.
5. Enter a name for your group. Group names must be unique within your AWS account, can have a maximum of 128 characters, and can contain letters, digits, and the following characters: plus (+), equal (=), comma (,), period (.), at (@), underscore (_), and hyphen (-).
6. Attach a policy to the group. You can either select one of the existing AWS managed policies or create a new policy with custom permissions.
7. Review the group name and the policies you have attached to it. If everything looks good, click the ‘Create Group’ button.
That’s it! You have successfully created an IAM group in AWS. You can now add users to this group and they will inherit the permissions of the policies attached to the group.
To delete an IAM group in AWS, follow these steps:
1. Select the checkbox next to the name of the group that you want to delete.
2. Click the ‘Group Actions’ button and then select ‘Delete Group’.
3. A confirmation window will appear, confirming that you want to delete the group. If you are sure, click the ‘Yes, Delete’ button.
Note: Before you can delete a group, you must remove all users from the group. Also, you cannot delete a group that has policies attached to it. You must detach all policies from the group before you can delete it.
That’s it! You have successfully deleted an IAM group in AWS.