Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
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, T

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.

  
  
Posted 11 months ago
Votes Newest

Answers


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?

  
  
Posted 11 months ago
598 Views
1 Answer
11 months ago
11 months ago
Tags
aws