Terminal: AWS-CLI-Intro
Objective
Recover the Cloud Ring
Task 1: AWS CLI Intro
Difficulty: 1/5 Christmas Trees Description: Try out some basic AWS command line skills in this terminal. Talk to Jill Underpole in the Cloud Ring for hints.
Terminal Details
You may not know this, but AWS CLI help messages are very easy to access. First, try typing:
$ aws help
Solution
Type aws help
in the bottom terminal pane.
Great! When you're done, you can quit with `q`.
Next, please configure the default aws cli credentials with the access key `AKQAAYRKO7A5Q5XUY2IY`, the secret key `qzTscgNdcdwIo/soPKPoJn9sBrl5eMQQL19iO5uf`, and teh region `us-east-1`.
https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-quickstart.html#cli-configure-quickstart-config
The aws configure
command will prompt you for this information.
elf@2dd5ca680fe3:~$ aws configure
AWS Access Key ID [None]: AKQAAYRKO7A5Q5XUY2IY
AWS Secret Access Key [None]: qzTscgNdcdwIo/soPKPoJn9sBrl5eMQQL19iO5uf
Default region name [None]: us-east-1
Default output format [None]:
Excellent! To finish, please get your caller identity using the AWS command line. For more details please reference:
$ aws sts help
or reference:
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sts/index.html
elf@2dd5ca680fe3:~$ aws sts get-caller-identity
{
"UserId": "AKQAAYRKO7A5Q5XUY2IY",
"Account": "602143214321",
"Arn": "arn:aws:iam::602143214321:user/elf_helpdesk"
}
elf@2dd5ca680fe3:~$
Head back to the Cloud Ring Area to continue.