Accessing S3 with AWS IAM Roles
This hands-on lab will focus on using EC2 roles to grant access to AWS resources. Specifically, an IAM role will be created and attached to an EC2 instance that will give the instance access to an S3 bucket. This process can be completed in the AWS Management Console. After a brief walkthrough of how that can be done in the Management Console, the lab will focus on using a CloudFormation Template to complete this task. Putting such tasks in a CloudFormation template promotes reuse, documentation, and efficiency of effort. After the CloudFormation Stack is created, which will attach the IAM role to the EC2 instance, the permissions will be verified.