Hi @<1566959349153140736:profile|ShinyChicken29> , when you try to access the image on your browser, the browser tries access the S3 bucket directly - This is why you get the popup. Data never goes through ClearML backend. Makes sense?
Hi! I started clearml server on EC2 using prebuilt image.
Everything works fine, except one small thing:
When web app shows image that stored on S3, it asked me for aws key/secret key. Then it uses these credentials to provide me with signed image url, that browses can load and show.
However, I have no aws credentials. EC2 instance has a role, and this role allowed to access s3 bucket.
Please help me to convenience clearml server to use role rather then credentials.
I added to /opt/clearml/config/services.conf the following, but it did not help.
aws {
s3 {
region: "eu-west-1"
use_credentials_chain: true
role_arn: "arn:aws:iam::xxxxxxxxxxxxxxxx:role/clearml-server-role"
}
}
Also I added he same to /opt/clearml/config/apiserver.conf (without success).
I added ~/.aws/config to apiserver's container. Now aws cli works, boto3 works, but images from web server still want aws credentials.