in AWS Access Management by
Can I change the IAM role on a running EC2 instance?

1 Answer

0 votes
by
Yes. Although a role is usually assigned to an EC2 instance when you launch it, a role can also be assigned to an EC2 instance that is already running. To learn how to assign a role to a running instance, see IAM Roles for Amazon EC2. You can also change the permissions on the IAM role associated with a running instance, and the updated permissions take effect almost immediately.

Related questions

0 votes
asked Aug 9, 2021 in AWS Access Management by rajeshsharma
0 votes
asked Aug 3, 2021 in AWS Access Management by rajeshsharma
0 votes
asked Aug 3, 2021 in AWS Access Management by rajeshsharma
...