Connecting to AWS Services from Command Line | Scribe

    Connecting to AWS Services from Command Line

    • Hafeez Baig |
    • 44 steps |
    • 4 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 IAM Dashboard
    information ordinal icon
    **What is IAM in AWS?** IAM (Identity and Access Management) in AWS is a web service that enables you to manage access to AWS resources securely. It allows you to control who is authenticated (signed in) and authorized (has permissions) to use resources within your AWS account.
    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
    **Operations** wizard will open, scroll the page and click on the **Permissions** tab
    6
    On the right side click on the **Add permissions** button and select the **Attach policies** option
    7
    **Attach permission policies to Operations** wizard will open, select the Policy name **AdministratorAccess** from the list
    information ordinal icon
    **What is AdministratorAccess policy?** The AdministratorAccess policy in AWS grants unrestricted access to all AWS services and resources within an account. It should be used cautiously and only assigned to trusted users who require full control over all resources.
    8
    Scroll the page and click on the **Attach policies** button
    9
    Policies attached to this user group
    information ordinal icon
    Congratulations on attaching the AdministratorAccsess policy to the Operations user group!
    10
    On the IAM dashboard, click on the **Users** from the left bar
    11
    **Users** wizard will open, click on the User name **in28minutes-ops-user**
    12
    **in28minutes-ops-user** wizard will open, scroll to the **Summary** section and click on the **Create access key** link
    13
    **Access key best practices & alternatives** wizard will open, select the option **Command line Interface (CLI)**
    information ordinal icon
    **What is Command Line Interface CLI?** The Command Line Interface (CLI) is a text-based interface for interacting with a computer program or operating system through typed commands, offering efficiency and automation capabilities compared to graphical interfaces.
    14
    Scroll the page and tick the **Confirmation** section