AWS Assignment 1
AWS Assignment 1
AWS Assignment 1
IAM (Identity and Access Management) users and IAM roles are both entities within
AWS (Amazon Web Services) IAM service, but they serve different purposes.
IAM User:
An IAM user represents a person or entity who interacts with AWS services.
IAM users are associated with long-term credentials such as a username and
password, or access keys.
Typically, IAM users are used to grant access permissions to individuals or
entities who need to interact with AWS resources on a regular basis, such as
employees or contractors.
IAM users are ideal for scenarios where you need to maintain distinct identities
for each individual or entity accessing your AWS resources.
IAM Role:
IAM Policy and Service Control Policy (SCP) are both mechanisms used in AWS IAM
(Identity and Access Management) to manage permissions, but they operate at
different levels within the AWS account hierarchy.
IAM Policy:
An IAM policy is a JSON document that defines permissions for an individual IAM
user, group, or role.
IAM policies specify what actions are allowed or denied on which AWS resources.
These policies can be attached directly to IAM users, groups, or roles, or they can
be attached at the resource level (such as S3 bucket policies).
IAM policies are used to grant permissions within a single AWS account. They are
scoped to IAM entities and resources within that account.
IAM policies can be granular, allowing fine-grained control over permissions, and
they can be tailored to specific use cases or roles within an organization.
Service Control Policy (SCP):