Lighsail container from private ECR

1

Hi all,

I've tried setting up my first Lightsail container application and have a built container uploaded to a private ECR (Elastic Container Registry). Each time I try to deploy the container it fails without giving me any information on why, all I'm seeing is that "Deployment Failed", and the details on the container is not much more insightful:
[deployment:5] Creating your deployment
[deployment:5] Started 1 new node
[deployment:5] Started 1 new node
[deployment:5] Started 1 new node
[deployment:5] Canceled

I did find another thread with a user who mentioned this issue, and noted that when on a public registry they're able to push.

My questions are then:

  • Am I not able to use lightsail with a private repo (e.g. ECR)?
  • How would I setup an IAM profile to allow this, if possible?

Thank you in advance.

已提问 3 年前353 查看次数
2 回答
0
已接受的回答

Hi macolsson,

You'll have to push your container images directly to Lightsail where they will be kept private. Here are some instructions:

https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-pushing-container-images#push-container-images

AWS
Alex
已回答 3 年前
0

Hi Alex, thanks for your response. This is the route I took and as I figured.

已回答 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则