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.
As of today, you can use ECR private repositories! https://aws.amazon.com/about-aws/whats-new/2022/05/amazon-lightsail-containers-deploying-images-amazon-ecr-private-repositories/