A AETROS server is a training job scheduler you can run on every machine you want. You create in AETROS Trainer a new server and use our "server" cli command in aetros-cli to connect your machine to AETROS.
If you have own server infrastructure, you can simply connect all your servers with AETROS Trainer using aetros-cli. You can also use this little command to start a job scheduler on your local machine, so you can use hyperparameter optimizations and don't have to start jobs manually in your console.
The server itself checks out always the newest commit of your Git repository and executes your defined python script on each training/job. See Architecture Server Jobs to get more information.
To do so, open AETROS Trainer, click "Servers" on the left hand side and click at the bottom left "CREATE SERVER". Please enter now a unique name. After clicking on "CREATE" the newly created server is visible. You see right in the middle of the screen a command you need to enter on your actual server in order to connect your server with AETROS.
Make sure you have installed aetros-cli first.
It's important to keep your secret-key in
--secret-key=YOUR_KEY private. After creating the server you can simply execute following command on your server.
SERVER_KEY with your actual server key you see when you open the server in AETROS Trainer.
You should see now your server as online in AETROS Trainer.
/my/python2.7 -m aetros server --secure-key=SERVER_KEY.
To connect your server automatically to AETROS on bootstrap and to make sure the script restarts automatically when its crashes, you can
Here's a short introduction how to install and configure supervisord with aetros-cli.
First check which full path
aetros-cli has by running following command:
So, the command path is
/usr/local/bin/aetros. We need to use this full path in our supervisor configuration file.
SERVER_KEY with your actual server key you see when you open the server in AETROS Trainer. Make sure this key stays private.
Tell supervisor to reread all of its configurations.
aetros server should now immediately be executed.
You find more information in the article How To Install and Manage Supervisor on Ubuntu and Debian VPS.