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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠