#4 My Whizlabs Lab Journey - Security
Lab 4: Accessing S3 with AWS IAM Roles
Lab Outcomes
I learned how to create an IAM Role and attach a policy to it for EC2 Instance to access an S3 bucket
Creating text files from the EC2 Instance and uploading to S3 using the AWS CLI
Confirmation that the files have been uploaded to the S3 bucket.
- From the S3 Console
- From the EC2 Instance
I learned how to launch an EC2 Instance and assign an IAM Instance Profile of the EC2Role I created.
Lab passed the validation check
Do you know ?
AWS IAM Access Analyzer helps you validate your IAM roles' access policies for S3 buckets and other resources. It identifies any potential unintended access and provides recommendations for resolving the issues, ensuring that your S3 access controls are configured correctly.
Lab Link: https://www.whizlabs.com/labs/accessing-s3-with-aws-iam-roles