Does shinyproxy knows how to read AWS ECR

Hi,

Does anyone have experience with creating docker image from AWS ECR and got shinyproxy working from that docker image?

1 Like

So I did get this to work.
On your EC2 instance you have to add an IAM role that includes access to ECR
Install AWSCLI on the ShinyProxy
Switch to the shinyproxy user “sudo su shinyproxy”
Then authenticate to ECR
/usr/local/bin/aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin ACCOUNTID.dkr.ecr.us-east-1.amazonaws.com

Now you can just reference the image in application.yml
container-image: ACCOUNTID.dkr.ecr.us-east-1.amazonaws.com/shinyproxy:sspt

1 Like