Set up Cloud9

We recommend you to run this workshop on local environment. If you have difficulty setting up Node.js or npm in your local environment, you can use AWS Cloud9; the cloud-based integrated development environment (IDE) provided by AWS . For more information, see 10.1. Set up Cloud9. However, for Amplify Mocking, port 20002 must be available and may not be available in some Cloud IDEs. Please understand in advance.

Setting Up Cloud9

AWS Cloud9 is a cloud-based integrated development environment (IDE) Log in to the AWS Management Console and launch an instance of Cloud9 that you use to develop in this workshop.

  1. Choose Cloud9 from the AWS Management Console.
  2. Click on the “Create environment” button. create iam user
  3. In Name, enter a name for the environment. (e.g. amplify-handson-{date}, etc.) "Description” is optional. Please enter a descriptive text that is easy to understand. create iam user
  4. For Instance Type, choose t3.small. For t2.micro, choose an instance that is one size larger than t2.micro, because it may run out of memory during build. Leave the default for the other items and click “Next step”. create iam user
  5. Confirm the settings and click “Create Environment”. create iam user
  6. Wait a while and if the following screen appears, it is successful. create iam user

Disable AWS Managed Temporary Credentials

AWS Cloud9 creates managed temporary AWS credentials the first time you open the console.

In the following steps, you disable the AWS Cloud9 temporary credentials in order to use another credential at after steps.

AWS Cloud9 > Preferences > AWS SETTINGS > Toggle “AWS managed temporary credentials:” Off to the default. create iam user