devops-exercises/exercises/aws/ec2_iam_roles.md
abregman 43d714fa12 Add a couple of AWS exercises
Questions as well were added.
2021-11-12 14:05:05 +02:00

12 lines
392 B
Markdown

## AWS EC2 - IAM Roles
### Requirements
1. Running EC2 instance without any IAM roles (so you if you connect the instance and try to run AWS commands, it fails)
2. IAM role with "IAMReadOnlyAccess" policy
### Objectives
1. Attach a role (and if such role doesn't exists, create it) with "IAMReadOnlyAccess" policy to the EC2 instance
2. Verify you can run AWS commands in the instance