Lab25 - Command Line Interface
Lab25 - Command Line Interface
Lab25
https://docs.aws.amazon.com/cli/latest/userguide/awscli-install-windows.html
Page 1 of 22
AWS Document Guide
We need to install in our local machine.
Click “Run”.
Click “Next”.
Page 2 of 22
AWS Document Guide
Click I accept and click “Next”.
Click “Next”.
Page 3 of 22
AWS Document Guide
Click “Install”.
Type aws and then press enter. You can able to see the commands in command prompt.
Page 4 of 22
AWS Document Guide
Before Login to CLI, we have required root keys for my account to login to CLI interface.
Page 5 of 22
AWS Document Guide
Page 6 of 22
AWS Document Guide
Page 7 of 22
AWS Document Guide
Page 8 of 22
AWS Document Guide
Click “Show access key” then copy the key into notepad. Because you would not be able to get the
password key after this mode / you skip copy from this mode.
Root keys will be like as below, I have masked Access key ID and Secret access key for security reasons.
Page 9 of 22
AWS Document Guide
Type
aws configure
Page 10 of 22
AWS Document Guide
Page 11 of 22
AWS Document Guide
Type region name as us-east-1/where you have connected and type output format json
Page 12 of 22
AWS Document Guide
Type
Type
Page 13 of 22
AWS Document Guide
In output you can able to see that instance is getting stop.
Page 14 of 22
AWS Document Guide
Type
Type
Aws s3 mb s://sansbound
Page 15 of 22
AWS Document Guide
Page 16 of 22
AWS Document Guide
Type
Aws s3 ls
Type
Aws s3 rb s3://sansbound
Page 17 of 22
AWS Document Guide
Type
Aws s3 mb s3://sansbound2
Type
Page 18 of 22
AWS Document Guide
Type
Page 19 of 22
AWS Document Guide
Page 20 of 22
AWS Document Guide
Type
Page 21 of 22
AWS Document Guide
Page 22 of 22