Day42 ----> 90DaysOfDevOps Challenge @TWS

Day42 ----> 90DaysOfDevOps Challenge @TWS

Day 42: IAM Programmatic access and AWS CLI πŸš€ ☁

IAM Programmatic access

To access your AWS account from a terminal or system, you can use AWS Access keys and AWS Secret Access keys and this is called programmatic access. 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.

Task-01

  • Create AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY from AWS Console.

image

image

image

image

image

Task-02

  • Setup and install AWS CLI and configure your account credentials

sudo apt-get install awscli -y

image

image

aws ec2 describe-instances --region us-east-1

aws ec2 describe-instances --filters "Name=instance-type,Values=t2.micro" --query "Reservations[].Instances[].InstanceId" --region us-east-1

image

image

Happy Learning :)

Day 42 task is complete!

90DaysOfDevOps TasksπŸ‘‡

github.com/Chaitannyaa/90DaysOfDevOps.git

Chaitannyaa Gaikwad | LinkedIn

Β