Quickstart
Create an account, connect your cloud account, and start running your workflows in minutes.
1. Create an account
Before you get started, make sure to create an account at app.komodo.io.
2. Install Komodo CLI and authenticate
Install the CLI:
Head to the Settings page and copy your API key.
Now login and provide your API key when prompted:
3. Launch a machine
Let’s spin up a development machine
Copy the following YAML into a dev.yaml
file:
And then simply run:
Once the machine is launched, you can open the notebook from dashboard. You can also connect to the machine with SSH or open it in VSCode using the CLI.
3. Launch a job - Hello World!
Let’s define our very first job, a simple Hello World! program.
Copy the following YAML into a hello.yaml
file:
You’ll notice this is the exact same YAML config as the previous one above, with an
additional run
section. This section defines how to run your job.
To launch this job, simply run:
And that’s it! The logs from the job will be streamed by the CLI in real-time, and you can also access them from the web dashboard. Once the job finishes, the remote instance will be terminated.
4. Launch a service
Now let’s define our very first service, a simple python HTTP server.
Copy the follwing YAML into a http-service.yaml
file:
Again, you’ll notice this is the exact same YAML config as the previous one above, but this time,
in our run
section, we start our service on port 8000 (and expose port 8000 in the resources
section),
and the service
sections defines the parameters that are used to determine how to scale your service.
To launch this service, simply run: