Install prerequisites

1.1. Install the Amazon ECS CLI, will be used to push the image docker to an Amazon ECR repository with the ecs-cli push command.

sudo curl -o /usr/local/bin/ecs-cli https://amazon-ecs-cli.s3.amazonaws.com/ecs-cli-linux-amd64-latest
sudo chmod +x /usr/local/bin/ecs-cli
ecs-cli --version

Reference: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_CLI_installation.html

1.2. Install the latest version of CDK and check the version.

npm install -g aws-cdk --force
cdk --version

If is not installed, you can find the instructions to install here: https://docs.aws.amazon.com/cdk/latest/guide/getting_started.html#getting_started_install

1.3. Install the JQ command.

sudo yum install jq -y

1.4. Install the latest Boto3 SDK release via pip.

python -m pip install --user boto3

1.5. Inside your environment folder clone the repository project from GitHub.

cd ~/environment/
git clone https://github.com/aurbac/msg-app-backend.git