Accessing AWS through CLI(Command Line Interface)

Accessing AWS through CLI(Command Line Interface)

For any account to log in into that account you need login ID and password same in case of AWS when you are accessing it through your command prompt. In AWS language login ID and password also called as "Access Key" and "Secret Access Key".

Then how to create these keys?

Let me show you,

No alt text provided for this image

In above picture or in AWS management console there is one service called IAM (Identity and Access Management) using this service you have to create one user for to create a user get help with following pictures.

No alt text provided for this image
Go to the Add user

Click on Add user to create a user. here I have already created one user.

No alt text provided for this image

At this step you have to configure your user like name, permissions etc.

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

so finally you have created your user now note down the Access Key ID and Secret Access key this will help you to login into AWS through CLI.

Now, open your Command Prompt.

No alt text provided for this image
No alt text provided for this image

In above step use your Access key, Secret Access key for login and don't forgot to write region name.

No alt text provided for this image

In above picture I have created one instance using commands. For that you need ami-id, subnet id, security group id your key. These things you have to find manually.

No alt text provided for this image

In this picture I have created EBS volume of 1 GB. In this command you have to write availability zone and size of storage.

No alt text provided for this image

Here you will see that EBS volume of size 1 GB has been created.

No alt text provided for this image

And finally I have attached that 1 GB storage to my instance that I have created previously. To attach this storage you need to provide root device name, instance id, and volume id.

I hope that above article will increase you knowledge.

Thank You!!!!

Sarvesh Bhalerao

Software Developer @NielsenIQ VIIT, Pune'23

4 年

????????

要查看或添加评论,请登录

Tejas Sanghai的更多文章

  • 7.2: Docker Task

    7.2: Docker Task

    What is Docker?? Docker is a set of platform as a service (PaaS) products that use OS-level virtualization to deliver…

  • What is Jenkins??

    What is Jenkins??

    History of Jenkins Just like we have so many interesting stories about the development of so many technologies and…

  • Benefits of Openshift to Industries

    Benefits of Openshift to Industries

    First of all what is openshift???? OpenShift is a family of containerization software products developed by Red Hat…

  • Use cases of Azure Kubernetes Service

    Use cases of Azure Kubernetes Service

    An Introduction to Azure Kubernetes Service (AKS) Microsoft Azure is one of the foremost players in the cloud computing…

    1 条评论
  • Use Cases of Neural Network

    Use Cases of Neural Network

    What are Neural Networks? Neural networks are a set of algorithms, they are designed to mimic the human brain, that is…

    1 条评论
  • Integration of LVM with Hadoop

    Integration of LVM with Hadoop

    In this article we will: Integrate LVM with Hadoop and Provide Elasticity to DataNode Storage. Increase or Decrease the…

  • What is Kubernetes??

    What is Kubernetes??

    What does Kubernetes actually do and why use it? Kubernetes is a vendor-agnostic cluster and container management tool,…

    6 条评论
  • ??Ansible : A Case Study how industries are solving challenges using Ansible??

    ??Ansible : A Case Study how industries are solving challenges using Ansible??

    In this blog first we will start with what is ansible, its history, its architecture, why do we need it?, what are the…

  • Benefits which MNCs are getting from AI/ML

    Benefits which MNCs are getting from AI/ML

    A lot of people have probably heard of ML. We interact with them on a daily basis, but do not really know what exactly…

    3 条评论
  • AWS(Amazon Web Services)

    AWS(Amazon Web Services)

    You all are heard about what is Cloud Computing if not let me tell you..

社区洞察