Home
AWS Labs
Accessing S3 with AWS IAM Roles
Accessing S3 with AWS IAM Roles

Difficulty Level
Intermediate
Prerequisites
none
Lab Duration
45 Min
About Lab
Overview:
This lab walks you through the steps to create an AWS S3 bucket and demonstrates how to access the bucket using AWS CLI commands from the EC2 instance and IAM roles.
What Will You Learn?
Upon completion of this lab you will be able to:
- Create an IAM role.
- Attach S3 full access policy to the IAM Role.
- Create and Launch an EC2 instance with an IAM role attached.
- SSH into EC2 Instance
- Create an S3 Bucket
- Upload files to an S3 bucket via CLI from the EC2 instance.
Prerequisites:
No prior experience is required for performing this lab.
Lab Steps:
1. Starting a lab
- Every AWS lab on the QwikSkills platform has a uniform user interface. You will see the below screen whenever you open up any lab.
- The blue-colored “Start Lab” button will set up the temporary username and password and assign the required cloud permissions in the background. Click on the button to start the lab.
2. Opening AWS Portal
- After you have clicked the start button, the cloud environment is created for the lab and you can use your temporary AWS cloud interface using the provided username and password shown on t