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,
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.
Click on Add user to create a user. here I have already created one user.
At this step you have to configure your user like name, permissions etc.
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.
In above step use your Access key, Secret Access key for login and don't forgot to write region name.
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.
In this picture I have created EBS volume of 1 GB. In this command you have to write availability zone and size of storage.
Here you will see that EBS volume of size 1 GB has been created.
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!!!!
Software Developer @NielsenIQ VIIT, Pune'23
4 年????????