Home > OS >  Is it safe to delete IAM roles created automatically?
Is it safe to delete IAM roles created automatically?

Time:07-06

Amazon newbie here.

I am following along with a book on AWS and I am at the IAM chapter. I noticed that there are roles which got created automatically as I progressed through the book. I would like to ask how safe it is to delete all these roles and start fresh.

Iam roles

CodePudding user response:

Most of the roles that you're showing are enter image description here

In the example screenshot, you can see I have a service-linked role that was last used 81 days ago, which tells me it's probably an inactive service that I don't care about anymore and I'm safe to delete the role.

All that said, a role does not cost you any money, so if you have valuable resources running in your account and are unsure if a role is in use, err on the side of caution and just leave it.

  • Related