Exploring IAM Inline Policies | Scribe

    Exploring IAM Inline Policies

    • Hafeez Baig |
    • 22 steps |
    • 2 minutes
    information ordinal icon

    Refer to the following guide to learn how to use IAM in the cloud\ <https://scribehow.com/shared/Creating_an_IAM_User_and_User_Group_in_AWS_Management_Console__hWNiiXlcRJKFqYZZEJD-cg>

    1

    Sign in to **AWS Management Console** as an **IAM User** **Pre-requisite** - Ensure you have selected the AWS region closest to your location\ For this guide, we will be using us-east-2 (Ohio) as a preferred choice

    2

    Type **IAM** in the search bar and click on **IAM** to view the EC2 Dashboard

    information ordinal icon

    **What is IAM in AWS?** IAM stands for Identity and Access Management. It is a service provided by Amazon Web Services (AWS) that allows you to manage access to AWS services and resources securely. IAM enables you to control who can access your AWS resources and what actions they can perform.

    3

    On the IAM Dashboard, click on the **User groups** on the left bar

    4

    **User groups** wizard will open, click on the Group name **Operations**

    information ordinal icon

    Refer to this guide to learn how to create an Operations User group\ <https://scribehow.com/shared/Creating_an_Operations_IAM_User__5JyMzA1rRUmvp81UmVh3gA>

    5

    **Operation** wizard open, scroll the horizontal section and click on the **Permissions** tab

    6

    On the **Permissions policies** section, on the right side click on the **Add permissions** dropdown button and select the option **Create inline policy**

    information ordinal icon

    **What is Inline policy?** An inline policy in AWS IAM (Identity and Access Management) is a policy that is directly attached to a single IAM user, group, or role, as opposed to being managed separately and attached separately like managed policies. Inline policies are defined directly within the configuration of the user, group, or role they are intended to govern.

    7

    **Specify permissions** wizard will open, scroll to the **Select a service** section, then search for the ELB service in the dropdown and select the option **ELB**

    8

    Scroll to the **ELB** section, under **Manual actions** tick the checkbox **All ELB actions**

    information ordinal icon

    By clicking the checkbox all actions for the ELB will be allowed

    9

    On the right side select the option **Allow** under **Effect**

    10

    Scroll to the **Resources** section and select the option **All**

    11

    Scroll the page and click on **Next** button

    12

    **Review and create** wizard will open, scroll to the **Policy details** section and enter the **Policy name** as "**ELDinlinepolicy"**

    13

    Scroll to the **Permission defined in this policy** section and review the Allowed policies

    14

    On the right side click on the **Create policy** button

    15

    Policy **ELDinlinepolicy** has successfully created