Install below in computer:
- pyenv
- nvm
- nodejs
- jq
At the root directory level, run below to setup the deployment environment:
make setup
Create a user with administrator access and generate the access key.
$ aws configure
AWS Access Key ID [None]:
AWS Secret Access Key [None]:
Default region name [None]: us-east-1
Default output format [None]: json
- Define environment in the environment variable
- Go the component folder (eg. users)
- Build the component
- Package and upload the artifacts to AWS S3
- Deploy the stack in AWS CloudFormation
$ export ENVIRONMENT=prod
$ cd users
$ make build
$ make package
$ make deploy
To clean created resources and delete the stack in CloudFormation
$ make clean