Skip to content
Infrastructure as code

Everything you do in the console, from your terminal and your code.

The cloudshard CLI and the Terraform and OpenTofu provider use the same APIs as the console: create, change and delete your resources from scripts and pipelines.

  • CLI for Linux, macOS and Windows
  • Terraform and OpenTofu provider
  • Tokens with scoped permissions
  • Free
Same APIs, two tools

One command to try it, one file to keep it.

With the CLI you create a VPS in one line and list it as a table or JSON. When your infrastructure grows, describe it in HCL and apply it with Terraform or OpenTofu, from your pipeline too.

Works with
  • Terraform
  • OpenTofu
  • GitHub Actions
  • GitLab CI
  • Linux
  • macOS
  • Windows
~/infra
$ cloudshard vps create --name web --plan vps-premium-2 \
--region it-mil --os debian-12 --ssh-key k-7f3a
ID vps-8k2d
STATUS running
IPV4 203.0.113.24
$ cloudshard vps list
ID NAME STATUS PLAN REGION IPV4
vps-8k2d web running vps-premium-2 it-mil 203.0.113.24
vps-3n9q worker running vps-budget-1 it-mil 203.0.113.31
$ cloudshard vps list -o json | jq '.[].ipv4'
"203.0.113.24"
"203.0.113.31"
main.tf
1terraform {
2 required_providers {
3 cloudshard = { source = "cloudshard/cloudshard" }
4 }
5}
6
7resource "cloudshard_vpc" "prod" {
8 name = "prod"
9 region = "it-mil"
10 cidr = "10.20.0.0/16"
11}
12
13resource "cloudshard_vps" "web" {
14 count = 2
15 name = "web-${count.index + 1}"
16 plan = "vps-premium-2"
17 region = "it-mil"
18 os_template = "debian-12"
19}
Pay as you go

Pay only for what you use

The tools are free: you only pay for the resources you create, just as in the console.

CLI

€0

open source

Terraform provider

€0

OpenTofu too

API

€0

you only pay for resources

Included

Everything you need, ready to go

cloudshard CLI

A single binary: VPS, volumes, networks, buckets, databases, DNS, keys and more, with table or JSON output.

Terraform and OpenTofu

Describe your infrastructure in HCL and apply it with one command; import the resources you already have.

Scoped tokens

Create a token for each pipeline with only the permissions it needs.

CI-ready

Works in GitHub Actions, GitLab CI and anywhere there's a shell.

Documented APIs

The same REST APIs as the console, to plug CloudShard into your own tools.

Automatic orders

Paid resources use your default payment method.

FAQ

Questions?

Do resources created with Terraform cost more?

No: they're the same resources, at the same prices, on the same invoice.

How do I authenticate?

With a personal token created on the console's Developers page.

Can't find your answer? Write to us and we'll get back to you as soon as we can.

Ready to launch your project?

One account, one console, every service. Plans start at €2.99 a month.

Create an account