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
As Mentioned Above, I’M Poking Around The Self-Hosted Version On Aws. Have Question About This Part Of The Documentation

As mentioned above, i’m poking around the self-hosted version on AWS. Have question about this part of the documentation https://allegro.ai/clearml/docs/docs/deploying_clearml/clearml_server_config.html#clearml-server-deployment-configuration

does the files suppose to be present inside /opt/clearml/config ?
apiserver.conf hosts.conf logging.conf secure.conf services.confI’ve launch the ami a few times however, it seems to blank. Should i be creating them myself ?

  
  
Posted 3 years ago
Votes Newest

Answers 17


ic, when you say shutting down the server, you’re refering to the dockers
clearml-webserver clearml-apiserver clearml-fileserver?
I’ll just stop them and create those *.conf files accordingly and start the dockers again ?

  
  
Posted 3 years ago

Yeah, you can just do sudo docker-compose down to shut down the server

  
  
Posted 3 years ago

The AMI is simply a pre-built instance, with the docker compose deployed in it - you're probably not looking in the right place.. 🙂

  
  
Posted 3 years ago

seems like i had to restart the entire instance instead

  
  
Posted 3 years ago

OK, and than? Up to this point this is the normal behaviour

  
  
Posted 3 years ago

OH, I see 🙂
Well, by default (as you can see in the docker.compose.yml file, in the services.apiserver.volumes section), the server will look for extra configuration files in the host's file system under /opt/clearml/config . If it's not there, no harm is done.
You can simply shut down the server, create the /opt/cleaml/config folder (make sure it has the same permissions as the rest of the /opt/clearml folder where the server is currently deployed), add the required apiserver.conf file, and start the server up again.
By the way, which server version are you using?

  
  
Posted 3 years ago

Hi ComfortableHorse5 ,
No, unless you need to override any settings, these default settings are already part of the built-in server.

I’ve launch the ami a few times however, it seems to blank.

Can you provide more info? What do you see when you surf to http://<server-public-address>:8080 ? Note it might take a few mins for the server to finish booting up (especially due to the load time of ElasticSearch)

  
  
Posted 3 years ago

But of course you're right in that restarting the instance is much easier and an easy solution 😄

  
  
Posted 3 years ago

ComfortableHorse5 just to make sure, I just spun up an AWS instance with the ClearML Server 1.0.1 AMI Community AMI, and:
` > cd /opt/clearml

ll
total 0
drwxr-xr-x 8 root root 153 May 14 09:46 agent
drwxr-xr-x 2 root root 6 May 11 10:21 config
drwxr-xr-x 6 root root 67 May 11 10:21 data
drwxr-xr-x 2 root root 49 May 11 10:22 logs
So I'm not sure why you didn't see an /opt/cleaml/config directory... Also, the docker-compose.yml file is located in the home direcotry: > cd ~
ll
total 8
-rw-r--r-- 1 ec2-user ec2-user 4646 May 11 10:21 docker-compose.yml
`

  
  
Posted 3 years ago

sudo docker-compose down sudo docker-compose up -ddon’t think it works that way with this AWS EC2 AMI image, there is no docker.compose.yml file to begin with.

  
  
Posted 3 years ago

sorry for not being clear. Let me detailed that as much as i can:

  1. Refering to https://allegro.ai/clearml/docs/docs/deploying_clearml/clearml_server_aws_ec2_ami.html . I launch my own EC2 using this “ap-northeast-2 : ami-049f5d9fc4f64d0a8” as my AMI
  2. After EC2 is launched, browsing to it directly via IPADDRESS:8080 is alright for my end.
  3. I then wanted to customize/configure the ClearML Server to use sub-domains instead of ip address. Hence, i’m following this instructions here https://allegro.ai/clearml/docs/docs/deploying_clearml/clearml_server_config.html?highlight=domain#sub-domains-and-load-balancers
  4. With that, i SSH into the ClearML Server box, and browsed to /opt/clearml/config
  5. However, i didn’t find any files listed in /opt/clearml/config
  6. I thought, somethign might be wrong in how i launch the AMI or configuration. Therefore, i terminated the ClearML Server, and try again repeating step1.
  7. Tried a few times, and waiting for a while before i SSH again into the box to check again, however browsing to /opt/clearml/config still didn’t give me any listing of apiserver.conf, and the other expected *.conf files.
  
  
Posted 3 years ago

http://server-ip:8080 browse me into ClearML login page asking me for my name.

  
  
Posted 3 years ago

oh yeah, you’re right, i didn’t even check the home directory … my bad..

  
  
Posted 3 years ago

version 1.0.1-104

  
  
Posted 3 years ago

yes UI is normal i can browse around without problem

  
  
Posted 3 years ago

So what did you mean by "I’ve launch the ami a few times however, it seems to blank"?

  
  
Posted 3 years ago

And sudo docker-compose up -d to start it up again

  
  
Posted 3 years ago
1K Views
17 Answers
3 years ago
one year ago
Tags