This is the CLI interface for Eureka, written in Node.js.
Eureka is a platform for deploying CPU heavy tasks quickly and painlessly on the cloud. It is currently in early Beta stages. If you wish to try it out, don't hesitate to [contact us](alon+andrea [ at ] eureka.guru).
When joining Eureka, you are given control over a cloud virtual machine (through SSH). You can install your code on it, compile it, and test it.
Once you are happy with your environment, you may run the eureka-run command. This will create a beefier version of your machine, run your command, backup the results, and terminate the new machine when done. For full documentation, please start here.
There are currently 4 supported commands:
-
eureka tasks: List your tasks. -
eureka machines: List your machines, along with their SSH information. -
eureka run [--tier <tier>] <machine> <command>This command will duplicate the requested
<machine>and run the given<command>on it.You may also provide a
<tier>arguments, to specify the size of the machine to clone. For available options see tiers. -
eureka kill <task-name>This command will kill a running or initializing task.
Unless specified otherwise in the command issued to eureka run, Eureka will redirect the output and errors streams of each task to a dedicated file under /keep/eureka-logs.
Log files are flushed at every 10 seconds.
eureka run --tier n1-standard-4 my_python_machine "python /bin/run_sim.py > /keep/output1.txt"
This will clone my_python_machine into a new machine of tier n1-standard-4, run the command /bin/run_sim.py, and terminate the new machine.
When you eureka run, a whole new machine is started, and killed at the end of the task. All your output files should be stored in a special directory called /keep, as this is the only directory that is not deleted when the task finishes.
The /keep folder is shared among all machines you own. It will be visible in your SSH session, which is how you can access your output.
Eureka charges by the minute for eureka run usage. The machine your are given SSH access to is free to use, but is not very powerful, and is meant for development purposes.
See a list of supported tiers here.
See the Contribute page for information on setting up development environment and code policy.