Back to: AWS Tutorials For Beginners and Professionals
AWS IAM Roles for Services
In this article, I am going to discuss AWS IAM Roles for Services. Please read our previous article where we discussed AWS Cloud Shell.
AWS IAM Roles for Services
We have to talk about the last component of IAM, which is called IAM Roles. Some AWS services that we will be launching throughout this course will need to perform actions on our behalf, on our account, okay? For to do these actions they are just like users, they will need some kind of permission. We need to assign permissions to AWS services and to do so we are going to create what is called an IAM Role. This IAM role will be just like a user, but they are intended to be used not by physical people, instead, they will be used by AWS services. What does that mean?
For example, we are going to create throughout this course, an EC2 Instance. An EC2 Instance is just like a virtual server, and we will see this in the next section. But so, this EC2 Instance may want to perform some actions on AWS and to do so, we need to give permissions to our EC2 Instance. To do so, we are going to create an IAM Role and together they are going to make one entity. And together, once the EC2 Instance is trying to access some information from AWS, then it will use the IAM Role. If the permission assigned to the IAM Role is correct, then we are going to get access to the call we are trying to make. Some common roles include what I just showed you, EC2 Instance roles, but also other things that perform actions against AWS we will see in this course. For example, Lambda Function Roles or Cloud Formation. So, I know this is a high level of review. In the next lecture, we will be creating a role, but we won’t be using it yet until the next section, but let’s go ahead and create a role.
In the next article, I am going to discuss AWS IAM Roles Hands-On. Here, in this article, I try to explain AWS IAM Roles for Services and I hope you enjoy this AWS IAM Roles for Services article.