How to do it...

First of all, you need to set your AWS Access Key ID and AWS Secret Access Key for awscli. We've already acquired chap6 for the IAM user. We will use this user's Access Key ID and Secret Access Key.

  1. Launch terminal (Command Prompt for Windows), and then use the aws command to set Access Key ID and Secret Access Key. Also, set the default region as us-east-1:
$ aws configure
AWS Access Key ID [None]: <Your Access KeyID>
AWS Secret Access Key [None]: <Your Secret Access Key>
Default region name [None]: us-east-1
Default output format [None]:
  1. Check chap6 IAM user using the following command:
$ aws iam get-user
{
"User": {
"Path": "/",
"UserName": "chap6",
"UserId": "*********************",
"Arn": "arn:aws:iam::***************:user/chap6",
"CreateDate": "2018-04-14T04:22:21Z"
}
}

That's it! Now you can start using AWS to launch your own network and instances.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.222.31.109