Skip to main content

Command Palette

Search for a command to run...

๐ŸŒ๐Ÿ’ป DevOps 7.5: Exploring AWS CLI ๐Ÿ”ง๐Ÿš€

"Unleashing the Power of AWS CLI: Navigate the Cloud with Command-Line Mastery"

Published
โ€ข2 min readโ€ขView as Markdown
๐ŸŒ๐Ÿ’ป DevOps 7.5: Exploring AWS CLI ๐Ÿ”ง๐Ÿš€
S

Hey, I am Saswat Samal and I have a strong passion for technology and the open-source community. My expertise lies in MERN stack development, cloud computing, DevOps, and Linux. I am constantly seeking new opportunities to expand my skill set and am actively working on various projects to improve my knowledge.

Introduction:

AWS CLI (Command Line Interface) is a powerful tool that allows users to interact with Amazon Web Services through a command-line interface. It provides a set of commands for controlling AWS services, managing resources, and automating tasks. With AWS CLI, users can efficiently navigate and manipulate various AWS functionalities directly from the command line, streamlining the management of cloud resources. Whether you're a developer, system administrator, or DevOps professional, AWS CLI offers a flexible and efficient way to work with AWS services in a text-based environment.

Installation:

First Install aws-cli in local computer using the installation documentation.
For e.g. - you can use brew - brew install awscli

Configuring aws-cli:

  1. First we have create an IAM user.

  2. Go to IAM dashboard. Then go "Users" present in the sidebar.

  3. Click on create user. And go to "Next"

  4. Now set the policies. And go to "Next". And click "Create User".

  5. So now click awscli user. Go to "security credentials"

  6. Click on "Create Access Key".

  7. Select Command Line Interface. And click next and next again.

  8. NOTE: Do not reveal your access key and secret access key to anyone.

  9. Go into your CLI and type "aws configure". And Enter access and secret access key.

  10. You can enter region as us-east-1 and output as json.

  11. All the information will be stored in this path ls ~/.aws/ .

  12. You can aws ec2 describe-instances.To show all the instances.

Do refer to awscli documentation for installation and commands - https://docs.aws.amazon.com/cli/

I trust you've mastered the art of crafting IAM users and configuring AWS CLI to seamlessly navigate the expansive world of Amazon Web Services.

DEVOPS 7.0 : All-in-AWS

Part 6 of 7

"Embark on a comprehensive AWS journey with DevOps 7.0! Explore the intricacies of deploying, managing, and optimizing your applications in the Amazon Web Services cloud environment. Uncover key strat

Up next

๐Ÿš€๐Ÿ’พ DevOps 7.6: Mastering EBS (Elastic Block Storage) ๐ŸŒ๐Ÿ”

"Unlock the Power of AWS EBS! Learn to Optimize Elastic Block Storage for Scalability and Reliability. Dive Deep into Storage Management with DevOps"