You should have aws-cli
installed on your computer.
Start by creating an AWS access key in your console. Then run the following command to configure your access key id, access key secret and AWS region.
aws configure
For the guide here to setup your ECR repository and push your image.
cp .env.example .env
After creating your .env
file, next update the REPOSITORY_NAME
with the repository name you used in ECR
npm install -g aws-cdk
npm install
cdk deploy
For a detailed explanation please watch the video on YouTube to understand how it works https://youtu.be/ETZfp3yuXww