DevOps, Day - 42

IAM Programmatic access

To access your AWS account from a terminal or system, you can use AWS Access keys and AWS Secret Access keys Watch this video for more details.

AWS CLI

The AWS Command Line Interface (AWS CLI) is a unified tool to manage your AWS services. With just one tool to download and configure, you can control multiple AWS services from the command line and automate them through scripts.

The AWS CLI v2 offers several new features including improved installers, new configuration options such as AWS IAM Identity Center (successor to AWS SSO), and various interactive features.


Create AWS Access Keys

  1. Log in to the AWS Management Console.

  2. Navigate to the IAM (Identity and Access Management) service.

  3. In the left-hand navigation pane, click on "Users."

  4. Select the user for whom you want to create access keys or create a new user if needed.

    • click create user

  • fill in the required fields and click next

  1. Once the user is created, In the "User details" tab, scroll down to the "Security credentials" section and click on the "Create access key" button.

  2. Fill in the details as required --> Download.CSV file --> Click "Done"


  1. Install AWS CLI: If you haven't already installed the AWS CLI, you can do so by following the installation instructions for your specific operating system. You can download the AWS CLI from the official AWS CLI page: https://aws.amazon.com/cli/

  2. Configure AWS CLI: Open a terminal or command prompt and run the following command to configure the AWS CLI with your access keys:

     aws configure
    

    You will be prompted to enter the following information:

    • AWS Access Key ID

    • AWS Secret Access Key

    • Default region (e.g., us-east-1)

    • Default output format (e.g., json)

Enter the AWS Access Key ID and AWS Secret Access Key that you obtained in Task-01.

  1. Once you've entered the required information, the AWS CLI is now configured with your AWS account credentials.


Thank you so much for reading

Follow me on LinkedIn to see interesting posts like this : )

Linkedin

0
Subscribe to my newsletter

Read articles from Vrishni Shree V B directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Vrishni Shree V B
Vrishni Shree V B

๐Ÿ’ป Python | Docker | Jenkins | Networking | Git | Linux ๐Ÿ’ป Passionate about leveraging technology to drive efficiency and deliver innovative solutions. Proficient in Python development, Docker containerization, Jenkins automation, computer networking, Git version control, and Linux administration. Skilled in collaborating with diverse teams to deliver high-quality software products. Proficient in AWS EC2 instance management and deployment. Seeking new opportunities to apply my expertise and contribute to impactful projects. Let's connect and explore how we can work together! Inter-personal Skills: Communication, Adaptability, Emotional intelligence, Active listening, Collaboration. Happy To Connect๐Ÿ”—๐Ÿ˜Š Feel free to reach me out๐Ÿ˜ƒ@ --> vrishnishreevb531@gmail.com ๐Ÿ“ฌ