AWS Configuration
Description
Front end requires Web API connection to properly function.
Developer can point front end code to deployed remote API or run Web API Locally.
To run local API, AWS and Serverless must be configured locally.
Install AWS
Follow instructions below:
Serverless:
https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-sam-cli.html
Install Serverless
Follow instructions below:
AWS CLI:
https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
AWS Local Configuration
User must configure AWS CLI locally with IAM User credentials (Access Key and Key ID)
Login to AWS IAM > Users
Create and save Access Key for user.
Example:
Access Key: “AKIA1234JZABCDJGH2F6”
Key ID: “kp123456wB11234blmabcdef4gTNqhAxwoQq8RJj”
Region will be: us-east-1Use just created Access Key, Key ID and Region to configure local AWS CLI.
aws configure --profile gehan
- Enter your values from created key above.
Verify AWS configuration:
Verify config and credentials files in root ~/.aws folder.
Optionally, verify aws and serverless installation by checking location.
which aws
which serverless
Install JQ for macOS:
brew install jq
Install Serverless for macOS:
brew install serverless