Book Image

Amazon Web Services Bootcamp

Book Image

Amazon Web Services Bootcamp

Overview of this book

AWS is at the forefront of Cloud Computing today. Businesses are adopting AWS Cloud because of its reliability, versatility, and flexible design. The main focus of this book is teaching you how to build and manage highly reliable and scalable applications and services on AWS. It will provide you with all the necessary skills to design, deploy, and manage your applications and services on the AWS cloud platform. We’ll start by exploring Amazon S3, EC2, and so on to get you well-versed with core Amazon services. Moving on, we’ll teach you how to design and deploy highly scalable and optimized workloads. You’ll also discover easy-to-follow, hands-on steps, tips, and recommendations throughout the book and get to know essential security and troubleshooting concepts. By the end of the book, you’ll be able to create a highly secure, fault tolerant, and scalable environment for your applications to run on.
Table of Contents (16 chapters)

Role


AWS IAM Role allows an entity to assume a role and get the permissions to access the AWS resources. The entity can be a federated user, a cross-account user, or an AWS resource. Consider we have an Amazon EC2 instance as an Entity and want to access Amazon S3. So to get access, we need to attach the IAM Role (having permissions to access S3) to our EC2 instance. So now, the EC2 instance can assume the role and get the permissions to access S3.

Let's look at different ways to create the AWS IAM Role.

AWS Management Console

The AWS Management Console allows us to create and manage the Role.

Creating a role

The following steps will guide you to create a role:

  1. Go to AWS IAM Management Console at https://console.aws.amazon.com/iam/home and click on Roles from the left navigation or directly go to https://console.aws.amazon.com/iam/home#/roles
  2. Under Roles, you can see a list of AWS IAM Roles created under your account (if any)
  3. Click on the Create role button:

Figure 2.4: Create new role

Here, we need...