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年前350ビュー
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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ