AWS Cloud Foundations & IAM
AWS Cloud Foundations & IAM
Module 1
What are availability zones (AZs)?
Cloud service providers (CSPs) host their resources and data centers
in multiple locations worldwide. The locations that are isolated from
each other but close enough to have low-latency connections with
each other are known as availability zones. AZs represent parts of
regions, and each AZ includes one or more data center.
AWS Cloud Availability Zones
• Having them apart reduces the risk of them all going down if a
disaster happens in the region.
https://aws.amazon.com/about-aws/global-infrastructure/
AWS Shared Responsibility Model
IAM Identities
IAM Identities assists us in controlling which users can access
which services and resources in the AWS Console and also we can
assign policies to the users, groups, and roles. The IAM Identities
can be created by using the Root user
IAM Users
IAM Groups
IAM Roles
What Does IAM Do?
Root user
The root user will automatically be created and granted unrestricted
rights. We can create an admin user with fewer powers to control
the entire Amazon account.
IAM Users
We can utilize IAM users to access the AWS Console and their
administrative permissions differ from those of the Root user and if
we can keep track of their login information.
Example
With the aid of IAM users, we can accomplish our goal of giving a
specific person access to every service available in the Amazon
dashboard with only a limited set of permissions, such as read-only
access. Let’s say user-1 is a user that I want to have read-only
access to the EC2 instance and no additional permissions, such as
create, delete, or update.
What Does IAM Do?
IAM Groups
A group is a collection of users, and a single person can be a
member of several groups. With the aid of groups, we can manage
permissions for many users quickly and efficiently.
Example
Consider two users named user-1 and user-2. If we want to grant
user-1 specific permissions, such as the ability to delete, create, and
update the auto-calling group only, and if we want to grant user-2
all the necessary permissions to maintain the auto-scaling group as
well as the ability to maintain EC2, we can create groups and add
this user to them. If a new user is added, we can add that user to the
required group with the necessary permissions.
What Does IAM Do?
IAM Roles
While policies cannot be directly given to any of the services
accessible through the Amazon dashboard, IAM roles are similar to
IAM users in that they may be assumed by anybody who requires
them. By using roles, we can provide AWS Services access rights to
other AWS Services.
Example
Consider Amazon EKS. In order to maintain an autoscaling group,
AWS eks needs access to EC2 instances. Since we can’t attach
policies directly to the eks in this situation, we must build a role
and then attach the necessary policies to that specific role and
attach that particular role to EKS.
What Does IAM Do?
IAM Policies
IAM Policies can manage access for AWS by attaching them to the
IAM Identities or resources IAM policies defines permissions of
AWS identities and AWS resources when a user or any resource
makes a request to AWS will validate these policies and confirms
whether the request to be allowed or to be denied.
AWS policies are stored in the form of Jason format the number of
policies to be attached to particular IAM identities depends upon
no.of permissions required for one IAM identity.