Attach the EC2 role to all EC2 instances
Attach the EC2 role to all EC2 instances
- Search and click on EC2 from AWS navigation menu.
- In the left navigation pane, click on Instances under Instances drop down menu.
- Click on a running instance, click Actions drop down menu > Instance Settings > Attach/Replace IAM role.
- Click on the IAM role drop down menu, and select the EC2 role created earlier.
- Click Apply to finish attaching the EC2 role.
- Repeat steps 3-5 above to attach the EC2 role to the rest of the running EC2 instances.
Attach the EC2 role to all EC2 instances
Attach the EC2 role to all EC2 instances
- Search and click on EC2 from AWS navigation menu.
- In the left navigation pane, click on Instances under Instances drop down menu.
- Click on a running instance, click Actions drop down menu > Instance Settings > Attach/Replace IAM role.
- Click on the IAM role drop down menu, and select the EC2 role created earlier.
- Click Apply to finish attaching the EC2 role.
- Repeat steps 3-5 above to attach the EC2 role to the rest of the running EC2 instances.