-
Book Overview & Buying
-
Table Of Contents
Rapid Application Development with AWS Amplify
By :
In this section, we will go through Amplify Console in order to learn how to set up an Amplify project properly. Let's enter the amplify configure command in the terminal, as illustrated in the following code snippet, and this will open up the default browser of your machine and take you to the AWS Management Console:
amplify configure
Follow these steps to set up access to your AWS account: Sign in to your AWS administrator account: https://console.aws.amazon.com/ Press Enter to continue
Specify the AWS Region? region: (Use arrow keys)us-east-1 us-east-2 us-west-2 eu-west-1 eu-west-2 eu-central-1 ap-northeast-1 (Move up and down to reveal more choices)
amplify username will help you identify and remember the specific IAM user on the IAM Management Console, so call it something that's relevant to your project name, such as amplify-project-name:Specify the AWS Region ? region: us-east-1 Specify the username of the new IAM user: ? user name: (amplify-XXXXX)

Figure 1.1 – Amplify Console: Add user
AdministratorAccess policy. You could customize your own policy for a specific project as well. By default, it has selected the right policy for you, so click Next: Tags to continue, as illustrated in the following screenshot:
Figure 1.2 – Amplify Console: Set permissions
amplify as the value, in order to remember that this IAM user is created for your specific Amplify project. You can always come back to the IAM console through the AWS console to add or remove IAM users or edit its access policies if you make any mistakes throughout this process. After you have created several tags, you can click Next: Review to continue, as illustrated in the following screenshot:
Figure 1.3 – Amplify Console: Add tags

Figure 1.4 – Amplify Console: Review and Create user
.csv file that contains the access key ID and the secret key as a backup first by clicking the Download .csv button, as illustrated in the following screenshot. Then, you can copy and paste both the access key ID and secret key from here and return back to the terminal for the next step. Leave the browser open and return back to the terminal:
Figure 1.5 – Amplify Console: Downloading user credentials
Complete the user creation using the AWS console https://console.aws.amazon.com/iam/home?region=undefined#/users$new?step=final&accessKey&userNames=amplify-XXXXX&permissionType=policies&policies=arn:aws:iam:: aws:policy%2FAdministratorAccess Press Enter to continue
.csv file to copy and paste them in the terminal, as follows:Enter the access key of the newly created user: ? accessKeyId: (<YOUR_ACCESS_KEY_ID>) ? secretAccessKey: (<YOUR_SECRET_ACCESS_KEY>)
default, as illustrated in the following snippet; otherwise, type your desired memorable profile name that is related to the IAM user and hit Enter to continue:This would update/create the AWS Profile in your local machine ? Profile Name: (default)
This would update/create the AWS Profile in your local machine ? Profile Name: default Successfully set up the new user.
Important note
If you want to learn more about how AWS Amplify CLI and Amplify Console work, you can visit the Amplify Console website at the following link:
Now that you have become familiar with the AWS Amplify CLI and Amplify Console in this section, we will discover AWS Amplify hosting in the next section.
us-east-1
us-east-2
us-west-2
eu-west-1
eu-west-2
eu-central-1
ap-northeast-1
(Move up and down to reveal more choices)