Create IAM Role for EC2 with Full IAM Access
Beginner Mode

Start your terminal to use beginner mode.

Scenario

Your team needs an EC2 instance to manage IAM resources programmatically. To follow AWS security best practices, you should use an IAM role instead of embedding credentials.

Task

Create an IAM role named IAMFullAccessEC2 that:

  • Allows the EC2 service to assume the role
  • Has the IAMFullAccess AWS managed policy attached

Note: You can use either the AWS Management Console or AWS CLI to complete this task.

Terminal requires a larger screen

Open this page on a desktop or tablet (≥ 768px) to launch the terminal and practice hands-on.

AWS Console Environment

Launch an AWS environment to solve this challenge.

Sign In

Track

Question Difficulty Company Access
Need more practice in this area? Explore more questions →