Skip to content
Odinex Cloud

Automation

REST API, odx CLI and Terraform provider

Everything you can do in the Odinex console you can also do through the public REST API. On top of it sit the odx command-line tool and an open-source Terraform and OpenTofu provider, and a real-time event stream tells your tools the moment something changes.

At a glance

API
REST, JSON, OpenAPI
Auth
Project API tokens (read or read-write)
CLI
odx
IaC
Terraform and OpenTofu provider
Events
Server-Sent Events stream

Key features

  • REST API

    One API for every resource, described by OpenAPI, with project-scoped tokens.

  • odx CLI

    Create, resize and SSH into servers, manage networks and stacks from your terminal.

  • Terraform and OpenTofu

    An open-source provider for every resource, for Terraform and OpenTofu alike.

  • Actions you can follow

    Long-running operations return an action that reports progress until it completes.

  • Real-time events

    A Server-Sent Events stream of every change, so your tools do not have to poll.

  • Labels everywhere

    Tag resources with labels and select them in firewalls, load balancers and API queries.

What it is used for

  • Infrastructure as code

    Describe servers, networks and firewalls in Terraform and review every change before it happens.

  • CI/CD

    Create a test server in a pipeline, run the tests, and delete it again for a few cents.

  • Your own tooling

    Build dashboards and automations on the API and react to events as they happen.

Try it

Terraform
resource "odinex_server" "web" {
  name        = "web-1"
  server_type = "s2"
  image       = "ubuntu-24.04"
  location    = "fra1"
}

Documentation

Works well with

API, CLI and Terraform: questions and answers

Clear answers about location, infrastructure and billing.

Is every console feature in the API?
Yes. The console uses the same public API. Only account, billing and support endpoints require a console session instead of a token.
How do tools authenticate?
With a project API token. It sees only its project and has either read or read-write scope, with an optional expiry date.
Does the Terraform provider work with OpenTofu?
Yes. The provider works with both Terraform and OpenTofu.
Do I have to poll for changes?
No. Subscribe to the event stream and you are told when a resource changes; then read it through the API.

Build it in Frankfurt today

Create an account, top up from €5 and pay by the hour, never more than the monthly price.