Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 838 Bytes

File metadata and controls

28 lines (16 loc) · 838 Bytes

Microservice AWS Elastic Beanstalk Deployment

Deployment

Containerized Microservice

Pre-requisities

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:

  1. go to containerized directory of this repo and update the docker image in the Dockerrun.aws.json file

  2. Run the following deployment command of the eb cli:

eb deploy

Non-Containerized Microservice

  1. go to non-containerized folder of this project and run following script:
deploy.sh