xjinx
xjinx

Reputation: 195

Deploy image from aws ecr to aws elastic beanstalk

I am trying to deploy an docker image that I pushed to AWS ECR successfully. However, when I try to deploy this image using Elastic Beanstalk, I am running into these issues.

My Dockerrun.aws.json:

{
  "AWSEBDockerrunVersion": 1,
  "Image": [{
    "Name": "############.dkr.ecr.us-east-1.amazonaws.com/repo-name:latest",
    "Update": "true"
  }],
  "Ports": [{
    "ContainerPort": "3030",
    "HostPort": "3030"
  }]
} 

I believe I added the correct permissions but not sure. I am noticing that the aws documentation is extensive but information is all over the place. If anyone could help point me in the right direction I would greatly appreciate it.

Upvotes: 3

Views: 1991

Answers (1)

xjinx
xjinx

Reputation: 195

So... make sure you don't set Image equal to an array... -_-

Upvotes: 3

Related Questions