Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

Role with a trust policy

This revision card explains Role with a trust policy. It starts from the need that servers must not store access keys. On the card, the building blocks include create-role needs a trust policy that says who may assume it. The how-to section notes EC2 needs an instance profile holding the role. An example on the card is delete order: detach, remove, then delete.

Role with a trust policy Servers must not store access keys. create-role needs a trust policy that says who may assume it. EC2 needs an instance profile holding the role. Delete order: detach, remove, then delete.
Role with a trust policy · Download PNG
Read card text

What this card says

Why do we need it?

Servers must not store access keys.

What is it?

create-role needs a trust policy that says who may assume it.

--assume-role-policy-document

How to do it

EC2 needs an instance profile holding the role.

create-instance-profile

Example

Delete order: detach, remove, then delete.

See all AWS revision cards