OVHcloud CLI


OVHcloud CLI

Open Source


The official CLI for managing all your OVHcloud cloud services from your terminal. It offers quick installation and simple sign-in, and allows you to easily manage your OVHcloud services.

Installation

In one command

Uses

Testing, development, and production

Agentic-ready

Compatible with your CI/CD pipelines

Coverage

For most OVHcloud services and infrastructures

Benefits

Boost your speed, automate workflows, and maintain control over your OVHcloud services with a solution tailored for DevOps and SRE teams.

Speed and efficiency

A single command to list, create, edit, or delete resources. Spend less time on graphical interfaces by working directly from your terminal.

CI/CD and automation

Integrate the CLI into your scripts, pipelines, and orchestration tools. This is ideal for large-scale deployment and migration, as it allows you to easily replicate your workflows.

Control and transparency

Open-source code, clear commands, and outputs that can be structured into JSON, YAML, or table formats. Designed for development and DevOps teams focused on maintaining control.

OVHcloud specifications

A CLI built to meet market standards and fit within the OVHcloud ecosystem.

Icons/concept/scaleUpCreated with Sketch.

Scalability alongside OVHcloud services

The CLI’s roadmap is designed to support a broad range of OVHcloud services. It provides a single tool for managing OVHcloud services: Public Cloud, Private Cloud, Bare Metal, VPS, hosting, networking, databases, AI.

Full compatibility with the OpenStack platform

The OVHcloud CLI enhances the technologies provided by some of our services (e.g., kubectl, S3). It offers complete reversibility and tools tailored to your specific requirements.

Quick setup

Find several options to tailor your cloud environment. Recommended: a single command, with no need for multiple external tools.

A CLI for the entire OVHcloud portfolio

Increased support for OVHcloud products through service-specific commands.
“Yes” = full coverage, “Partial” = coverage is currently being enhanced.

CategoryCommand/productCoverage
Dedicated server/VPSbaremetal, vpsYes
Public Cloud/ComputeinstanceYes
Public Cloud/containerskube, rancher, container-registryYes
Public Cloud/databasesdatabase, managed-databasesPartial
Public Cloud/analyticsmanaged-analyticsPartial
Public Cloud/storagestorage-s3, storage-swift, storage-block, storageYes
Public Cloud/networkloadbalancer, gateway, private, network, region, cssh-key, user, quota, cloudYes
Public Cloud/Data Platformdata platformPartial
Public Cloud/AI and quantum solutionsai deploy, ai training, ai notebook, quantum emulator, quantum qpuPartial
Identity/accessiam, loginPartial
Private Cloud/hybriddedicated-cloud, dedicated-cluster, nutanixPartial
Networkip, vrack, iploadbalancing, ovhcloudconnect, cdn-dedicatedPartial
Domains/DNS/email/hostingdomain-name, domain-zone, email-mxplan, email-pro, webhosting, hosting-private-databasePartial
Backup/security/supportveeam*, ssl, okms, support-tickets, vmwareclouddirector-*Partial

Full list of commands: ovhcloud -h. Details: compatible products on GitHub.

Use cases and examples

Basic structure: ovhcloud [command] {sub-commands} {parameters}.
Output formats: table, JSON, YAML, or gval.

GoalCommand
Log in and save your credentialsovhcloud login
List the VPSs (table)ovhcloud vps list
VPS details in JSONovhcloud vps get -o json
Reinstall a Bare Metal server (interactive mode)ovhcloud baremetal reinstall --editor
List the instances and filter by region GRA9ovhcloud cloud instance list --filter 'region=="GRA9"'
Retrieve the ID of an MKS node pool by nameovhcloud cloud kube nodepool list --filter 'name=="nodepool_name"' --format 'id'

Useful global options: -o --output, -f, --format (gval expression), -h, --help. 

Use the terminal to manage all your cloud services

It’s easy to install (with a single command), open source, compatible with OpenStack, and fits right into the OVHcloud ecosystem. Try the CLI with no commitment.

Your questions answered

What can I do with the OVHcloud CLI?

The OVHcloud CLI allows you to manage your OVHcloud services via a terminal. You can, for example, list, create, edit, or delete services easily from the terminal. We’re still working on the CLI, so features and coverage will continue to expand over time.

What is the detailed list of services covered by the OVHcloud CLI?

The OVHcloud CLI is still in the works, so more features will be added. You can find out more by typing "ovhcloud -h" in the CLI.

How do I log in?

For more info on how to log in, refer to this documentation.

Is there any documentation available?

To get started with the OVHcloud CLI, go to our documentation centre. The Read me GitHub details the setup, login, and examples.

How do I easily log in?

The simplest way is "ovhcloud login", which interactively creates and saves your API credentials. You can also use a "~/.ovh.conf" file or environment variables for scripts and CI/CD.

Which products are fully supported by the CLI?

Products with full coverage (“Yes”) include Public Cloud instances, Kubernetes (MKS), Object Storage S3/Swift, Block Storage, Bare Metal, VPS, and IAM. Type "ovhcloud -h" for the up-to-date list of commands.