Need to give your instances with permission to access the docker images stored in Amazon ECR repository by adding permissions to your environment's instance profile. Can attach the AmazonEC2ContainerRegistryReadOnly managed policy to the instance profile to provide read-only access to all Amazon ECR repositories... as specified in the AWS Elastic Beanstalk Documentations.
Steps:
-
go to containerized directory of this repo and update the docker image in the
Dockerrun.aws.json
file -
Run the following deployment command of the eb cli:
eb deploy
- go to non-containerized folder of this project and run following script:
deploy.sh