Introduction
As you all know, AWS is a cloud used for many purposes. We are not going to talk in detail about the cloud. Today, we are talking about security in the cloud. As the cloud is vastly used in IT projects for infrastructure, AWS is a pioneer in this area.
The way use of cloud getting increased many questions and challenges also getting arises. One of the most important questions is that of security. Almost every client meeting discusses the decision of choosing infrastructure, and the biggest discussion is security. Obviously, a decade ago everyone had their own infrastructure and everything was in their control. However, everyone agrees that this option is very costly as compared to today’s cloud infrastructure and services offered by the cloud providers.
So let’s see what AWS provides in terms of security. There are many types of AWS security services, but IAM is the most widely used service.
IAM
Identity and Access Management.
We are going to find answers to few questions in this article:
- What is IAM?
- Why IAM?
- How does IAM works?
Let’s address these one by one:
What is IAM?
Identity and Access Management (IAM) is a web service provided by AWS for securely controlling access to resources. IAM enables to create and control services for authenticating a user or limit access to a certain set of users who use resources. So if the admin wants to give access to a particular resource to a particular user, he can provide or restrict using IAM service.
Why IAM?
When we use traditional or noncloud infrastructure only way to handle authentication and authorization is through
How does IAM works?
The IAM workflow basically consists of six elements as below,
- Principal – Principal can be a User or Role or an application. A principal is an entity that will perform an action on Resource (AWS resource)
- Request – Principal sends a request to AWS, which tells AWS clearly the action and which resource should perform that action
- Authentication – basically authentication is the process to identify the user which is trying to access the actions of resources. Here, authentication is also the process of confirming the identity of the principal (it can be user, role or application) trying to access the AWS service or product. For successful authentication, principal must provide credentials or key sets that get used for authentication
- Authorization – In AWS access to all resources is denied by default. IAM gives authorization to a request only if the request matches all the matching policies. After proper authentication and authorization of the request, AWS approve the action to execute and access the resources through that action to the principal.
- Actions are used to create, edit, view, or delete resources.
- Resources – resources are the services or products or set of activities that can be performed related to the AWS account.


Join the conversation! Your thoughts help the community grow.