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.

demandé il y a 3 ans335 vues
2 réponses
0
Réponse acceptée

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
répondu il y a 3 ans
0

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

répondu il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions