Install & Configure the AWS Amplify CLI

nader dabit
Instructornader dabit
Share this video with your friends

Social Share Links

Send Tweet
Published 6 years ago
Updated 4 years ago

In this lesson we’ll show how to install the AWS Amplify CLI & then configure it with an IAM user so we can begin creating new Amplify projects.

Instructor: [00:01] To get started, we'll install the CLI by running npm install -g @aws-amplify/cli. Now that the CLI has been installed, we'll run amplify-configure to configure the CLI with the user from our AWS account. This should open up the AWS console. Once you're logged into the console, jump back to the command-line.

[00:33] We're next prompted to specify an AWS region. For me, that's us-east-1. Now we can give a username for the new user that we're about to create. I'll give mine the username of amplify-egghead-cli-user. This should open up the IAM dashboard in our AWS account.

[00:53] This IAM user has some preconfigured settings that we can accept by clicking Next Permissions, Next Review, and Create User. Once the user's been created, we're given an access key ID and a secret access key.

[01:16] Copy the access key ID to your clipboard, jump back to the command-line and paste it into the prompt. Do the same with the secret access key.

[01:29] Here we can set a profile name. I'll give the profile name a name of amplify-egghead-cli-user. Now the CLI has been configured and we're ready to begin initializing new AWS Amplify projects.

Constantin Onu
Constantin Onu
~ 6 years ago

trouble with the cli, can this course be followed using AWS's AppSync web interface?

babu
babu
~ 5 years ago

How to communicate to an existing API (created by using AWS console API Gateway) from my amplify client code project

piotrsereda90
piotrsereda90
~ 4 years ago

I try add aplify/cli using yarn. By amplify configure i took this issue: amplify : The term 'amplify' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that included, verify that the path is correct and try again.

Markdown supported.
Become a member to join the discussionEnroll Today