SPL-66 - version 3.1.23
© 2026 Amazon Web Services, Inc. or its affiliates. All rights reserved. This work may not be reproduced or redistributed, in whole or in part, without prior written permission from Amazon Web Services, Inc. Commercial copying, lending, or selling is prohibited. All trademarks are the property of their owners.
Note: Do not include any personal, identifying, or confidential information into the lab environment. Information entered may be visible to others.
Corrections, feedback, or other questions? Contact us at AWS Training and Certification.
In this task, you will explore the Users and Groups that have already been created for you in IAM.
The following IAM Users have been created for you:
This will bring to a summary page for user-1. The Permissions tab will be displayed.
Note: You should see an Unexpected error message. This is normal.
user-1 also is not a member of any groups.
user-1 is assigned a Console password
The following groups have already been created for you:
This will bring you to the summary page for the EC2-Support group.
This group has a Managed Policy associated with it, called AmazonEC2ReadOnlyAccess. Managed Policies are pre-built policies (built either by AWS or by your administrators) that can be attached to IAM Users and Groups. When the policy is updated, the changes to the policy immediately apply against all Users and Groups to which the policy is attached.
A policy defines what actions are allowed or denied for specific AWS resources. This policy is granting permission to List and Describe information about EC2, Elastic Load Balancing, CloudWatch and Auto Scaling. This ability to view resources, but not modify them, is ideal for assigning to a Support role.
The basic structure of the statements in an IAM Policy is:
cloudwatch:ListMetrics).* which means any resource).The S3-Support group has the AmazonS3ReadOnlyAccess policy attached.
This policy has permissions to Get and List resources in Amazon S3.
This Group is slightly different from the other two. Instead of a Managed Policy, it has an Inline Policy, which is a policy assigned to just one User or Group. Inline Policies are typically used to apply permissions for one-off situations.
This policy grants permission to view (Describe) information about Amazon EC2 and also the ability to Start and Stop instances.
For the remainder of this lab, you will work with these Users and Groups to enable permissions supporting the following business scenario:
Your company is growing its use of Amazon Web Services, and is using many Amazon EC2 instances and a great deal of Amazon S3 storage. You wish to give access to new staff depending upon their job function:
| User | In Group | Permissions |
|---|---|---|
| user-1 | S3-Support | Read-Only access to Amazon S3 |
| user-2 | EC2-Support | Read-Only access to Amazon EC2 |
| user-3 | EC2-Admin | View, Start and Stop Amazon EC2 instances |
You have recently hired user-1 into a role where they will provide support for Amazon S3. You will add them to the S3-Support group so that they inherit the necessary permissions via the attached AmazonS3ReadOnlyAccess policy.
In the Users tab you will see that user-1 has been added to the group.
You have hired user-2 into a role where they will provide support for Amazon EC2.
user-2 should now be part of the EC2-Support group.
You have hired user-3 as your Amazon EC2 administrator, who manage your EC2 instances.
user-3 should now be part of the EC2-Admin group.
Each Group should have a 1 in the Users column for the number of Users in each Group.
In this task, you will test the permissions of each IAM User.
An IAM users Sign-in URL is displayed. It will look similar to: https://123456789012.signin.aws.amazon.com/console
This link can be used to sign-in to the AWS Account you are currently using.
You will now sign-in as user-1, who has been hired as your Amazon S3 storage support staff.
Since your user is part of the S3-Support Group in IAM, they have permission to view a list of Amazon S3 buckets and the contents.
You cannot see any instances. This is because your user has not been assigned any permissions to use Amazon EC2.
You are now able to see an Amazon EC2 instance because you have Read Only permissions. However, you will not be able to make any changes to Amazon EC2 resources.
You will receive an error stating You are not authorized to perform this operation. This demonstrates that the policy only allows you to view information, without making changes.
You will receive an Error Access Denied because user-2 does not have permission to use Amazon S3.
As an EC2 Administrator, you should now have permissions to Stop the Amazon EC2 instance.
The instance will enter the stopping state and will shutdown.
Congratulations! You now have successfully:
For more information about AWS IAM, see the AWS IAM documentation.
For more information about AWS Training and Certification, see https://aws.amazon.com/training/.