Skip to main content

arianet cloud

This reference is generated from the CLI's own help on every release, so it always matches the latest arianet. The command help is the same text arianet <command> --help prints. For installation, configuration and a guided start, see the CLI page.

The global flags work with every command on this page.

arianet cloud​

Manage Arianet Cloud resources (servers, volumes, networks, firewalls...)

Manage Arianet Cloud: servers, volumes, private networks, firewalls, floating IPs, load balancers, images and actions.

The commands call the cloud API at <api-url>/cloud/v1 with your API token. The cloud commands need a token with the scopes cloud:servers:read (reads) and cloud:servers:write (changes).

Lists accept --label-selector (Kubernetes style, e.g. "env=prod,tier!=db") and --page/--per-page; without a page every item is fetched. Commands that start an operation print its action; --wait follows it to the end.

Token scopes: cloud:servers:read (reads), cloud:servers:write (changes)

Usage

arianet cloud <command>

Subcommands

  • actions: Follow asynchronous operations (actions)
  • datacenters: List datacenters (locations) you can create resources in
  • firewalls: Manage firewalls, their rules and what they apply to
  • floating-ips: Manage floating IPs
  • images: List installable images, snapshots and backups
  • limits: Show the account's limits and usage per datacenter
  • load-balancers: Manage load balancers, their services and targets
  • networks: Manage private networks, subnets and routes
  • plans: List server plans (server types)
  • pricing: Show the public price list (no token needed)
  • servers: Manage cloud servers
  • ssh-keys: Manage the account's SSH keys (same as: arianet ssh)
  • volumes: Manage block storage volumes

arianet cloud actions​

Follow asynchronous operations (actions)

Usage

arianet cloud actions <command>

Aliases: action

Subcommands

  • get: Show one action
  • list: List the account's actions, newest first
  • wait: Wait until actions finish; exits non-zero if one fails or the timeout passes

arianet cloud actions get​

Show one action

Usage

arianet cloud actions get <id> [flags]

Aliases: describe, show

Examples

arianet cloud actions get 4711
arianet cloud actions get 4711 -o json

arianet cloud actions list​

List the account's actions, newest first

Usage

arianet cloud actions list [flags]

Examples

arianet cloud actions list
arianet cloud actions list --resource-type server --resource-id 12
arianet cloud actions list --status running -o json

Flags

FlagTypeDefaultDescription
--limitintat most this many actions
--pageintpage number
--per-pageintitems per page, at most 100
--resource-idint64only actions on this resource
--resource-typestringonly actions on this kind (server, volume, firewall, network...)
--sincestringonly actions started after this RFC 3339 time
--statusstringrunning, success or error

arianet cloud actions wait​

Wait until actions finish; exits non-zero if one fails or the timeout passes

Usage

arianet cloud actions wait <id> [<id>...] [flags]

Examples

arianet cloud actions wait 812
arianet cloud actions wait 812 813 --timeout 30m

Flags

FlagTypeDefaultDescription
--timeoutduration15m0show long to wait

arianet cloud datacenters​

List datacenters (locations) you can create resources in

Usage

arianet cloud datacenters [flags]

Aliases: datacenter, locations, regions

Examples

arianet cloud datacenters

arianet cloud firewalls​

Manage firewalls, their rules and what they apply to

Usage

arianet cloud firewalls <command>

Aliases: firewall, fw

Subcommands

  • apply-to: Apply a firewall to servers or label selectors
  • create: Create a firewall
  • delete: Delete a firewall
  • get: Show one firewall
  • list: List firewalls
  • remove-from: Remove a firewall from servers or label selectors
  • rules: Replace a firewall's rules
  • set-servers: Replace the servers a firewall is applied to directly
  • update: Change a firewall's name, labels, protection or project

arianet cloud firewalls apply-to​

Apply a firewall to servers or label selectors

Apply a firewall to servers or label selectors.

A label selector target follows the labels: servers that gain matching labels later get the firewall too, servers that lose them lose it.

Usage

arianet cloud firewalls apply-to <firewall-id> [flags]

Examples

arianet cloud firewalls apply-to 2 --server 12 --server 13
arianet cloud firewalls apply-to 2 --label-selector env=prod
arianet cloud firewalls apply-to 2 --label-selector "env=prod,tier!=db" --wait

Flags

FlagTypeDefaultDescription
--label-selectorstringArraylabel selector, e.g. "env=prod" (repeatable)
--serverstringArrayserver ID (repeatable, or comma separated)
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud firewalls create​

Create a firewall

Usage

arianet cloud firewalls create [flags]

Examples

arianet cloud firewalls create --name web \
--rule direction=in,protocol=tcp,port=443,source=0.0.0.0/0,source=::/0 \
--rule direction=in,protocol=tcp,port=22,source=203.0.113.4/32 --server 12
arianet cloud firewalls create --name web --rules-file rules.json

Flags

FlagTypeDefaultDescription
--labelsstringArraylabel key=value (repeatable, or comma separated)
--namestringrequired. firewall name
--project-idint64project to create it in (default: the account's default project)
--rulestringArrayrule "direction=in,protocol=tcp,port=22,source=0.0.0.0/0[,source=::/0][,description=ssh]" (repeatable)
--rules-filestringJSON file with an array of rules (as the API takes them)
--serverstringArrayserver ID to apply it to (repeatable)
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud firewalls delete​

Delete a firewall

Usage

arianet cloud firewalls delete <id> [flags]

Aliases: rm

Examples

arianet cloud firewalls delete 4711 --yes --wait

Flags

FlagTypeDefaultDescription
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes
-y, --yesboolskip the confirmation prompt

arianet cloud firewalls get​

Show one firewall

Usage

arianet cloud firewalls get <id> [flags]

Aliases: describe, show

Examples

arianet cloud firewalls get 4711
arianet cloud firewalls get 4711 -o json

arianet cloud firewalls list​

List firewalls

Usage

arianet cloud firewalls list [flags]

Aliases: ls

Examples

arianet cloud firewalls list
arianet cloud firewalls list --label-selector env=prod

Flags

FlagTypeDefaultDescription
--label-selectorstringfilter by labels, e.g. "env=prod,tier!=db"
--pageintpage number (default: fetch every page)
--per-pageintitems per page, at most 100
--project-idint64only resources in this project

arianet cloud firewalls remove-from​

Remove a firewall from servers or label selectors

Remove a firewall from servers or label selectors.

A label selector target follows the labels: servers that gain matching labels later get the firewall too, servers that lose them lose it.

Usage

arianet cloud firewalls remove-from <firewall-id> [flags]

Examples

arianet cloud firewalls remove-from 2 --server 12 --server 13
arianet cloud firewalls remove-from 2 --label-selector env=prod
arianet cloud firewalls remove-from 2 --label-selector "env=prod,tier!=db" --wait

Flags

FlagTypeDefaultDescription
--label-selectorstringArraylabel selector, e.g. "env=prod" (repeatable)
--serverstringArrayserver ID (repeatable, or comma separated)
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud firewalls rules​

Replace a firewall's rules

Usage

arianet cloud firewalls rules <command>

Aliases: rule

Subcommands

  • set: Replace every rule of a firewall

arianet cloud firewalls rules set​

Replace every rule of a firewall

Usage

arianet cloud firewalls rules set <firewall-id> [flags]

Examples

arianet cloud firewalls rules set 2 --rule direction=in,protocol=tcp,port=80,source=0.0.0.0/0
arianet cloud firewalls rules set 2 --rules-file rules.json --wait
arianet cloud firewalls rules set 2 --clear

Flags

FlagTypeDefaultDescription
--clearboolremove every rule
--rulestringArrayrule "direction=in,protocol=tcp,port=22,source=0.0.0.0/0[,source=::/0][,description=ssh]" (repeatable)
--rules-filestringJSON file with an array of rules (as the API takes them)
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud firewalls set-servers​

Replace the servers a firewall is applied to directly

Usage

arianet cloud firewalls set-servers <firewall-id> [flags]

Examples

arianet cloud firewalls set-servers 2 --server 12,13
arianet cloud firewalls set-servers 2 --none

Flags

FlagTypeDefaultDescription
--noneboolapply it to no server directly
--serverstringArrayserver ID (repeatable, or comma separated)
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud firewalls update​

Change a firewall's name, labels, protection or project

Usage

arianet cloud firewalls update <id> [flags]

Examples

arianet cloud firewalls update 2 --name web-2 --labels env=prod

Flags

FlagTypeDefaultDescription
--clear-labelsboolremove every label
--descriptionstringdescription
--labelsstringArraylabel key=value (repeatable, or comma separated)
--namestringnew name
--project-idint64move it to this project
--protection-deleteboolprotect against deletion (true/false)

arianet cloud floating-ips​

Manage floating IPs

Usage

arianet cloud floating-ips <command>

Aliases: fip, floating-ip

Subcommands

  • assign: Assign a floating IP to a server
  • create: Create a floating IP
  • delete: Delete a floating IP
  • dns-ptr: Set or reset a floating IP's reverse DNS
  • get: Show one floating IP
  • list: List floating-ips
  • unassign: Unassign a floating IP from its server
  • update: Change a floating IP's name, labels, protection or project

arianet cloud floating-ips assign​

Assign a floating IP to a server

Usage

arianet cloud floating-ips assign <id> [flags]

Examples

arianet cloud floating-ips assign 5 --server 12 --wait

Flags

FlagTypeDefaultDescription
--serverint64required. server ID
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud floating-ips create​

Create a floating IP

Usage

arianet cloud floating-ips create [flags]

Examples

arianet cloud floating-ips create --type ipv4 --datacenter eu-central-1 --name vip
arianet cloud floating-ips create --type ipv4 --server 12 --wait

Flags

FlagTypeDefaultDescription
--datacenterstringdatacenter code (not needed with --server)
--descriptionstringdescription
--labelsstringArraylabel key=value (repeatable, or comma separated)
--namestringname
--project-idint64project to create it in (default: the account's default project)
--serverint64assign it to this server
--timeoutduration15m0show long --wait waits
--typestringipv4ipv4 or ipv6
--waitboolwait until the operation finishes

arianet cloud floating-ips delete​

Delete a floating IP

Usage

arianet cloud floating-ips delete <id> [flags]

Aliases: rm

Examples

arianet cloud floating-ips delete 4711 --yes --wait

Flags

FlagTypeDefaultDescription
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes
-y, --yesboolskip the confirmation prompt

arianet cloud floating-ips dns-ptr​

Set or reset a floating IP's reverse DNS

Usage

arianet cloud floating-ips dns-ptr <id> [flags]

Examples

arianet cloud floating-ips dns-ptr 5 --ptr web.example.com
arianet cloud floating-ips dns-ptr 5 --reset

Flags

FlagTypeDefaultDescription
--ptrstringhostname for the reverse DNS record
--resetboolreset to the default record
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud floating-ips get​

Show one floating IP

Usage

arianet cloud floating-ips get <id> [flags]

Aliases: describe, show

Examples

arianet cloud floating-ips get 4711
arianet cloud floating-ips get 4711 -o json

arianet cloud floating-ips list​

List floating-ips

Usage

arianet cloud floating-ips list [flags]

Aliases: ls

Examples

arianet cloud floating-ips list

Flags

FlagTypeDefaultDescription
--label-selectorstringfilter by labels, e.g. "env=prod,tier!=db"
--pageintpage number (default: fetch every page)
--per-pageintitems per page, at most 100
--project-idint64only resources in this project

arianet cloud floating-ips unassign​

Unassign a floating IP from its server

Usage

arianet cloud floating-ips unassign <id> [flags]

Examples

arianet cloud floating-ips unassign 5

Flags

FlagTypeDefaultDescription
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud floating-ips update​

Change a floating IP's name, labels, protection or project

Usage

arianet cloud floating-ips update <id> [flags]

Examples

arianet cloud floating-ips update 5 --name vip --description "web VIP"

Flags

FlagTypeDefaultDescription
--clear-labelsboolremove every label
--descriptionstringdescription
--labelsstringArraylabel key=value (repeatable, or comma separated)
--namestringnew name
--project-idint64move it to this project
--protection-deleteboolprotect against deletion (true/false)

arianet cloud images​

List installable images, snapshots and backups

Usage

arianet cloud images <command>

Aliases: image

Subcommands

  • get: Show one image, by its ID or its image name
  • list: List images

arianet cloud images get​

Show one image, by its ID or its image name

Show one image. The cloud API has no single-image endpoint, so this reads the image list and picks the entry whose id or image field matches.

Usage

arianet cloud images get <id-or-image> [flags]

Examples

arianet cloud images get ubuntu-24.04
arianet cloud images get 41

arianet cloud images list​

List images

Usage

arianet cloud images list [flags]

Aliases: ls

Examples

arianet cloud images list
arianet cloud images list --type system --datacenter eu-central-1
arianet cloud images list --type snapshot --label-selector env=prod

Flags

FlagTypeDefaultDescription
--datacenterstringonly images available in this datacenter
--label-selectorstringfilter by labels, e.g. "env=prod,tier!=db"
--locationstringalias of --datacenter
--pageintpage number (default: fetch every page)
--per-pageintitems per page, at most 100
--project-idint64only resources in this project
--typestringsystem, app, snapshot or backup

arianet cloud limits​

Show the account's limits and usage per datacenter

Usage

arianet cloud limits [flags]

Aliases: quotas

Examples

arianet cloud limits
arianet cloud limits --datacenter eu-central-1

Flags

FlagTypeDefaultDescription
--datacenterstringonly this datacenter

arianet cloud load-balancers​

Manage load balancers, their services and targets

Usage

arianet cloud load-balancers <command>

Aliases: lb, load-balancer

Subcommands

arianet cloud load-balancers add-service​

Add a service (listener)

Usage

arianet cloud load-balancers add-service <id> [flags]

Examples

arianet cloud load-balancers add-service 3 --protocol tcp --listen-port 443 --destination-port 8443
arianet cloud load-balancers add-service 3 --protocol http --listen-port 80 --health-protocol http --health-path /healthz
arianet cloud load-balancers add-service 3 --file service.json

Flags

FlagTypeDefaultDescription
--cookie-namestringhttp: stick on this application cookie
--destination-portintport on the targets (default: --listen-port)
--filestringJSON file with the service (as the API takes it) instead of the flags
--health-domainstringhttp health check Host header
--health-intervalintseconds between checks (default 15)
--health-pathstringhttp health check path, e.g. /healthz
--health-portinthealth check port (default: the destination port)
--health-protocolstringtcp or http (default: tcp)
--health-retriesintfailed checks before a target is unhealthy (default 3)
--health-status-codestringArrayaccepted status code, e.g. 200 or "2??" (repeatable)
--health-timeoutintseconds a check may take (default 10)
--listen-portintport the load balancer listens on
--protocolstringtcptcp, http or https (TLS passthrough)
--proxyprotocolboolsend the PROXY protocol header
--sticky-sessionsboolkeep a client on one target (http, https)
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud load-balancers add-target​

Add a target (server, IP or label selector)

Usage

arianet cloud load-balancers add-target <id> [flags]

Examples

arianet cloud load-balancers add-target 3 --server 12
arianet cloud load-balancers add-target 3 --label-selector role=web --use-private-ip

Flags

FlagTypeDefaultDescription
--ipstringtarget an IP address
--label-selectorstringtarget every server matching a label selector, e.g. "role=web"
--serverint64target a server
--timeoutduration15m0show long --wait waits
--use-private-ipboolreach the target over the private network
--waitboolwait until the operation finishes

arianet cloud load-balancers attach-network​

Attach a load balancer to a private network

Usage

arianet cloud load-balancers attach-network <id> [flags]

Examples

arianet cloud load-balancers attach-network 3 --network 4

Flags

FlagTypeDefaultDescription
--networkint64required. network ID
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud load-balancers change-algorithm​

Change the balancing algorithm

Usage

arianet cloud load-balancers change-algorithm <id> [flags]

Examples

arianet cloud load-balancers change-algorithm 3 --algorithm least_connections

Flags

FlagTypeDefaultDescription
--algorithmstringrequired. round_robin or least_connections
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud load-balancers change-type​

Change a load balancer's type

Usage

arianet cloud load-balancers change-type <id> [flags]

Examples

arianet cloud load-balancers change-type 3 --type lb21

Flags

FlagTypeDefaultDescription
--timeoutduration15m0show long --wait waits
--typestringrequired. new type
--waitboolwait until the operation finishes

arianet cloud load-balancers create​

Create a load balancer

Usage

arianet cloud load-balancers create [flags]

Examples

arianet cloud load-balancers create --name web --datacenter eu-central-1 --type lb11 \
--service tcp:80 --service tcp:443 --target label_selector:role=web --wait
arianet cloud load-balancers create --name api --datacenter eu-central-1 --network 4 --no-public-interface \
--services-file services.json --target server:12 --target server:13

Flags

FlagTypeDefaultDescription
--algorithmstringround_robin or least_connections
--datacenterstringrequired. datacenter code
--labelsstringArraylabel key=value (repeatable, or comma separated)
--namestringrequired. load balancer name
--networkint64private network to attach
--no-public-interfaceboolno public address (private network only)
--project-idint64project to create it in (default: the account's default project)
--servicestringArrayservice protocol:listen[:destination], e.g. tcp:80:8080 (repeatable)
--services-filestringJSON file with an array of services
--targetstringArraytarget server:<id>, ip:<address> or label_selector:<selector> (repeatable)
--timeoutduration15m0show long --wait waits
--typestringtype (see: arianet cloud load-balancers types)
--waitboolwait until the operation finishes

arianet cloud load-balancers delete​

Delete a load balancer

Usage

arianet cloud load-balancers delete <id> [flags]

Aliases: rm

Examples

arianet cloud load-balancers delete 4711 --yes --wait

Flags

FlagTypeDefaultDescription
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes
-y, --yesboolskip the confirmation prompt

arianet cloud load-balancers delete-service​

Delete the service listening on a port

Usage

arianet cloud load-balancers delete-service <id> [flags]

Examples

arianet cloud load-balancers delete-service 3 --listen-port 443

Flags

FlagTypeDefaultDescription
--listen-portintrequired. listen port of the service
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud load-balancers detach-network​

Detach a load balancer from its private network

Usage

arianet cloud load-balancers detach-network <id> [flags]

Examples

arianet cloud load-balancers detach-network 3

Flags

FlagTypeDefaultDescription
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud load-balancers get​

Show one load balancer

Usage

arianet cloud load-balancers get <id> [flags]

Aliases: describe, show

Examples

arianet cloud load-balancers get 4711
arianet cloud load-balancers get 4711 -o json

arianet cloud load-balancers health​

Refresh and show the health of a load balancer's targets

Usage

arianet cloud load-balancers health <id> [flags]

Examples

arianet cloud load-balancers health 3

arianet cloud load-balancers list​

List load-balancers

Usage

arianet cloud load-balancers list [flags]

Aliases: ls

Examples

arianet cloud load-balancers list

Flags

FlagTypeDefaultDescription
--label-selectorstringfilter by labels, e.g. "env=prod,tier!=db"
--pageintpage number (default: fetch every page)
--per-pageintitems per page, at most 100
--project-idint64only resources in this project

arianet cloud load-balancers remove-target​

Remove a target

Usage

arianet cloud load-balancers remove-target <id> [flags]

Examples

arianet cloud load-balancers remove-target 3 --target-id 17

Flags

FlagTypeDefaultDescription
--target-idint64required. target ID (see: arianet cloud load-balancers get <id>)
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud load-balancers set-services​

Replace every service at once (from a JSON file)

Usage

arianet cloud load-balancers set-services <id> [flags]

Examples

arianet cloud load-balancers set-services 3 --services-file services.json --algorithm least_connections

Flags

FlagTypeDefaultDescription
--algorithmstringalso change the algorithm
--services-filestringrequired. JSON file with an array of services
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud load-balancers types​

List load balancer types

Usage

arianet cloud load-balancers types [flags]

Examples

arianet cloud load-balancers types

arianet cloud load-balancers update​

Change a load balancer's name, labels, protection or project

Usage

arianet cloud load-balancers update <id> [flags]

Examples

arianet cloud load-balancers update 3 --name web-2 --labels env=prod

Flags

FlagTypeDefaultDescription
--clear-labelsboolremove every label
--labelsstringArraylabel key=value (repeatable, or comma separated)
--namestringnew name
--project-idint64move it to this project
--protection-deleteboolprotect against deletion (true/false)

arianet cloud load-balancers update-service​

Replace the service listening on a port

Usage

arianet cloud load-balancers update-service <id> [flags]

Examples

arianet cloud load-balancers update-service 3 --port 80 --protocol tcp --listen-port 80 --destination-port 8081

Flags

FlagTypeDefaultDescription
--cookie-namestringhttp: stick on this application cookie
--destination-portintport on the targets (default: --listen-port)
--filestringJSON file with the service (as the API takes it) instead of the flags
--health-domainstringhttp health check Host header
--health-intervalintseconds between checks (default 15)
--health-pathstringhttp health check path, e.g. /healthz
--health-portinthealth check port (default: the destination port)
--health-protocolstringtcp or http (default: tcp)
--health-retriesintfailed checks before a target is unhealthy (default 3)
--health-status-codestringArrayaccepted status code, e.g. 200 or "2??" (repeatable)
--health-timeoutintseconds a check may take (default 10)
--listen-portintport the load balancer listens on
--portintrequired. listen port of the service to change
--protocolstringtcptcp, http or https (TLS passthrough)
--proxyprotocolboolsend the PROXY protocol header
--sticky-sessionsboolkeep a client on one target (http, https)
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud networks​

Manage private networks, subnets and routes

Usage

arianet cloud networks <command>

Aliases: net, network

Subcommands

  • create: Create a network
  • delete: Delete a network
  • get: Show one network
  • list: List networks
  • routes: Set a network's static routes
  • subnets: Add or remove a network's subnets
  • update: Change a network's name, labels, protection or project

arianet cloud networks create​

Create a network

Usage

arianet cloud networks create [flags]

Examples

arianet cloud networks create --name backend --datacenter eu-central-1 --ip-range 10.0.0.0/16
arianet cloud networks create --name backend --datacenter eu-central-1 --ip-range 10.0.0.0/16 --subnet-ip-range 10.0.1.0/24 --wait

Flags

FlagTypeDefaultDescription
--datacenterstringrequired. datacenter code
--ip-rangestringthe network's range (CIDR)
--labelsstringArraylabel key=value (repeatable, or comma separated)
--namestringrequired. network name
--project-idint64project to create it in (default: the account's default project)
--subnet-ip-rangestringfirst subnet's range (default: chosen for you)
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud networks delete​

Delete a network

Usage

arianet cloud networks delete <id> [flags]

Aliases: rm

Examples

arianet cloud networks delete 4711 --yes --wait

Flags

FlagTypeDefaultDescription
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes
-y, --yesboolskip the confirmation prompt

arianet cloud networks get​

Show one network

Usage

arianet cloud networks get <id> [flags]

Aliases: describe, show

Examples

arianet cloud networks get 4711
arianet cloud networks get 4711 -o json

arianet cloud networks list​

List networks

Usage

arianet cloud networks list [flags]

Aliases: ls

Examples

arianet cloud networks list

Flags

FlagTypeDefaultDescription
--label-selectorstringfilter by labels, e.g. "env=prod,tier!=db"
--pageintpage number (default: fetch every page)
--per-pageintitems per page, at most 100
--project-idint64only resources in this project

arianet cloud networks routes​

Set a network's static routes

Usage

arianet cloud networks routes <command>

Aliases: route

Subcommands

  • set: Replace every route of a network

arianet cloud networks routes set​

Replace every route of a network

Usage

arianet cloud networks routes set <network-id> [flags]

Examples

arianet cloud networks routes set 4 --route 10.100.0.0/16=10.0.1.5
arianet cloud networks routes set 4 --clear

Flags

FlagTypeDefaultDescription
--clearboolremove every route
--routestringArraydestination=gateway (repeatable)
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud networks subnets​

Add or remove a network's subnets

Usage

arianet cloud networks subnets <command>

Aliases: subnet

Subcommands

arianet cloud networks subnets add​

Add a subnet

Usage

arianet cloud networks subnets add <network-id> [flags]

Examples

arianet cloud networks subnets add 4 --ip-range 10.0.2.0/24

Flags

FlagTypeDefaultDescription
--ip-rangestringrequired. subnet range (CIDR) inside the network's range
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud networks subnets delete​

Delete a subnet

Usage

arianet cloud networks subnets delete <network-id> <subnet-id> [flags]

Aliases: rm

Examples

arianet cloud networks subnets delete 4 9

Flags

FlagTypeDefaultDescription
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud networks update​

Change a network's name, labels, protection or project

Usage

arianet cloud networks update <id> [flags]

Examples

arianet cloud networks update 4 --name backend-2 --labels env=prod

Flags

FlagTypeDefaultDescription
--clear-labelsboolremove every label
--labelsstringArraylabel key=value (repeatable, or comma separated)
--namestringnew name
--project-idint64move it to this project
--protection-deleteboolprotect against deletion (true/false)

arianet cloud plans​

List server plans (server types)

Usage

arianet cloud plans [flags]

Aliases: plan, server-types

Examples

arianet cloud plans --datacenter eu-central-1

Flags

FlagTypeDefaultDescription
--datacenterstringonly this datacenter

arianet cloud pricing​

Show the public price list (no token needed)

Show every server type per location and every other price on sale (IPs, volumes, snapshots, backups, load balancers, NAT gateways), VAT excluded. No API token is needed. --account shows your account's own price rows instead.

Usage

arianet cloud pricing [flags]

Aliases: prices

Examples

arianet cloud pricing
arianet cloud pricing --datacenter ovh
arianet cloud pricing -o json
arianet cloud pricing --account

Flags

FlagTypeDefaultDescription
--accountboolyour account's price rows (GET /pricing; needs a token)
--datacenterstringonly this datacenter (location code)
--locationstringalias of --datacenter

arianet cloud servers​

Manage cloud servers

Usage

arianet cloud servers <command>

Aliases: server

Subcommands

arianet cloud servers actions​

List a server's actions

Usage

arianet cloud servers actions <id> [flags]

Examples

arianet cloud servers actions 12

arianet cloud servers attach-network​

Attach a server to a private network

Usage

arianet cloud servers attach-network <id> [flags]

Examples

arianet cloud servers attach-network 12 --network 4
arianet cloud servers attach-network 12 --network 4 --ip 10.0.1.5

Flags

FlagTypeDefaultDescription
--ipstringprivate IP to use (default: the next free one)
--networkint64required. network ID
--subnetint64subnet ID (default: the network's first)
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud servers change-backup-window​

Move the daily backup to another hour

Usage

arianet cloud servers change-backup-window <id> [flags]

Examples

arianet cloud servers change-backup-window 12 --window-hour 4

Flags

FlagTypeDefaultDescription
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes
--window-hourintrequired. hour of the day (UTC, 0-23)

arianet cloud servers change-ipv4​

Give a server a new public IPv4 address

Usage

arianet cloud servers change-ipv4 <id> [flags]

Examples

arianet cloud servers change-ipv4 12
arianet cloud servers change-ipv4 12 --confirm-paid

Flags

FlagTypeDefaultDescription
--confirm-paidboolaccept the fee of a paid change
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud servers change-type​

Resize a server to another plan

Usage

arianet cloud servers change-type <id> [flags]

Aliases: change-plan, resize

Examples

arianet cloud servers change-type 12 --plan 7 --wait

Flags

FlagTypeDefaultDescription
--planint64required. plan ID (see: arianet cloud plans)
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud servers costs​

Show what a server costs per hour and month, piece by piece

Show a server's current hourly and monthly rate per billed piece (plan, primary IPv4, floating and elastic IPs, attached volumes, backup add-on), the totals, and what its snapshots and kept backups would cost after a delete.

Usage

arianet cloud servers costs <id> [flags]

Examples

arianet cloud servers costs 12
arianet cloud servers costs 12 -o json

arianet cloud servers create​

Create a server

Usage

arianet cloud servers create [flags]

Examples

arianet cloud servers create --name web-1 --datacenter eu-central-1 --plan 3 --image ubuntu-24.04 --ssh-key-id 5 --wait
arianet cloud servers create --name web --count 3 --datacenter eu-central-1 --plan 3 --image ubuntu-24.04 \
--labels env=prod --firewall 2 --network 4 --no-ipv6
arianet cloud servers create --name db-1 --datacenter eu-central-1 --plan 5 --image debian-12 \
--user-data-file cloud-init.yaml --backups --project-id 2 -o json

Flags

FlagTypeDefaultDescription
--backupsboolturn on daily backups
--countintcreate this many servers at once
--datacenterstringrequired. datacenter code (see: arianet cloud datacenters)
--firewallstringArrayfirewall ID to apply (repeatable)
--imagestringrequired. image (see: arianet cloud images list)
--labelsstringArraylabel key=value (repeatable, or comma separated)
--namestringrequired. server name (with --count: name, name-2, ...)
--networkstringArrayprivate network ID to attach (repeatable)
--no-ipv4boolno public IPv4 address
--no-ipv6boolno public IPv6 address
--no-startbooldo not start the server after creating it
--planint64required. plan ID (see: arianet cloud plans)
--project-idint64project to create it in (default: the account's default project)
--ssh-keystringArraypublic key to install (repeatable)
--ssh-key-idstringArraysaved SSH key ID (repeatable; see: arianet cloud ssh-keys list)
--timeoutduration15m0show long --wait waits
--user-data-filestringcloud-init user data file
--volumestringArrayvolume ID to attach (repeatable)
--waitboolwait until the operation finishes

arianet cloud servers create-backup​

Take a backup now

Usage

arianet cloud servers create-backup <id> [flags]

Examples

arianet cloud servers create-backup 12 --wait

Flags

FlagTypeDefaultDescription
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud servers create-image​

Take a snapshot image of a server

Usage

arianet cloud servers create-image <id> [flags]

Examples

arianet cloud servers create-image 12 --name before-upgrade --wait

Flags

FlagTypeDefaultDescription
--descriptionstringsnapshot description
--labelsstringArraylabel key=value (repeatable, or comma separated)
--namestringsnapshot name
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud servers delete​

Delete a server

Usage

arianet cloud servers delete <id> [flags]

Aliases: rm

Examples

arianet cloud servers delete 12
arianet cloud servers delete 12 --yes --wait
arianet cloud servers delete 12 --reason price --keep-backups --delete-snapshots

Flags

FlagTypeDefaultDescription
--delete-snapshotsboolalso delete its snapshots (protected ones stay)
--keep-backupsboolkeep its finished backups as snapshots (billed per GB until deleted)
--notestringa few words why (required with --reason other)
--reasonstringwhy: price, performance, ip_filtered, no_longer_needed, migrating, support or other
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes
-y, --yesboolskip the confirmation prompt

arianet cloud servers detach-network​

Detach a server from a private network

Usage

arianet cloud servers detach-network <id> [flags]

Examples

arianet cloud servers detach-network 12 --network 4

Flags

FlagTypeDefaultDescription
--networkint64required. network ID
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud servers disable-backup​

Turn off daily backups

Usage

arianet cloud servers disable-backup <id> [flags]

Examples

arianet cloud servers disable-backup 12

Flags

FlagTypeDefaultDescription
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud servers disable-rescue​

Leave rescue mode

Usage

arianet cloud servers disable-rescue <id> [flags]

Examples

arianet cloud servers disable-rescue 12

Flags

FlagTypeDefaultDescription
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud servers enable-backup​

Turn on daily backups

Usage

arianet cloud servers enable-backup <id> [flags]

Examples

arianet cloud servers enable-backup 12 --window-hour 3

Flags

FlagTypeDefaultDescription
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes
--window-hourinthour of the day (UTC, 0-23) the backup runs

arianet cloud servers enable-rescue​

Boot a server into rescue mode (prints the rescue password once)

Usage

arianet cloud servers enable-rescue <id> [flags]

Examples

arianet cloud servers enable-rescue 12

Flags

FlagTypeDefaultDescription
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud servers get​

Show one server

Usage

arianet cloud servers get <id> [flags]

Aliases: describe, show

Examples

arianet cloud servers get 4711
arianet cloud servers get 4711 -o json

arianet cloud servers list​

List servers

Usage

arianet cloud servers list [flags]

Aliases: ls

Examples

arianet cloud servers list
arianet cloud servers list --label-selector env=prod
arianet cloud servers list --page 1 --per-page 50 -o json

Flags

FlagTypeDefaultDescription
--label-selectorstringfilter by labels, e.g. "env=prod,tier!=db"
--pageintpage number (default: fetch every page)
--per-pageintitems per page, at most 100
--project-idint64only resources in this project

arianet cloud servers power-off​

Cut a server's power (hard stop)

Usage

arianet cloud servers power-off <id> [flags]

Examples

arianet cloud servers power-off 12

Flags

FlagTypeDefaultDescription
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud servers power-on​

Power a server on

Usage

arianet cloud servers power-on <id> [flags]

Examples

arianet cloud servers power-on 12 --wait

Flags

FlagTypeDefaultDescription
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud servers reboot​

Reboot a server gracefully

Usage

arianet cloud servers reboot <id> [flags]

Examples

arianet cloud servers reboot 12

Flags

FlagTypeDefaultDescription
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud servers rebuild​

Reinstall a server from an image (erases its disk)

Usage

arianet cloud servers rebuild <id> [flags]

Examples

arianet cloud servers rebuild 12 --image ubuntu-24.04 --wait

Flags

FlagTypeDefaultDescription
--imagestringrequired. image to install (see: arianet cloud images list)
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud servers reset​

Hard-reset a server

Usage

arianet cloud servers reset <id> [flags]

Examples

arianet cloud servers reset 12

Flags

FlagTypeDefaultDescription
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud servers reset-password​

Set a new root password (printed once)

Usage

arianet cloud servers reset-password <id> [flags]

Examples

arianet cloud servers reset-password 12

Flags

FlagTypeDefaultDescription
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud servers restore-backup​

Restore a server from one of its backups (erases its disk)

Usage

arianet cloud servers restore-backup <id> [flags]

Examples

arianet cloud servers restore-backup 12 --backup 33 --wait

Flags

FlagTypeDefaultDescription
--backupint64required. backup ID (see: arianet cloud images list --type backup)
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud servers shutdown​

Shut a server down gracefully (ACPI)

Usage

arianet cloud servers shutdown <id> [flags]

Examples

arianet cloud servers shutdown 12 --wait

Flags

FlagTypeDefaultDescription
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud servers update​

Change a server's name, labels, protection or project

Usage

arianet cloud servers update <id> [flags]

Examples

arianet cloud servers update 12 --name web-2
arianet cloud servers update 12 --labels env=prod --labels tier=web
arianet cloud servers update 12 --protection-delete=true

Flags

FlagTypeDefaultDescription
--clear-labelsboolremove every label
--labelsstringArraylabel key=value (repeatable, or comma separated)
--namestringnew name
--project-idint64move it to this project
--protection-deleteboolprotect against deletion (true/false)
--protection-rebuildboolprotect against rebuild (true/false)

arianet cloud ssh-keys​

Manage the account's SSH keys (same as: arianet ssh)

Usage

arianet cloud ssh-keys <command>

Aliases: ssh, ssh-key

Subcommands

  • add: Add an SSH key
  • delete: Delete an SSH key
  • get: Get details of an SSH key
  • list: List your SSH keys
  • update: Update an SSH key

arianet cloud ssh-keys add​

Add an SSH key

Usage

arianet cloud ssh-keys add [flags]

Aliases: create

Examples

arianet ssh add --name my-laptop --key-file ~/.ssh/id_ed25519.pub --region 1
arianet ssh add --name my-laptop --key "ssh-ed25519 AAAA..." --region 1

Flags

FlagTypeDefaultDescription
--keystringpublic key content (ssh-ed25519 AAAA...)
--key-filestringpath to public key file (e.g. ~/.ssh/id_ed25519.pub)
--namestringrequired. label for this SSH key
--regionintrequired. region ID the key belongs to (see: arianet region list)

arianet cloud ssh-keys delete​

Delete an SSH key

Usage

arianet cloud ssh-keys delete <id> [flags]

Examples

arianet ssh delete 3
arianet ssh delete 3 --yes

Flags

FlagTypeDefaultDescription
-y, --yesboolskip confirmation prompt

arianet cloud ssh-keys get​

Get details of an SSH key

Usage

arianet cloud ssh-keys get <id> [flags]

Examples

arianet ssh get 3
arianet ssh get 3 --output json

arianet cloud ssh-keys list​

List your SSH keys

Usage

arianet cloud ssh-keys list [flags]

Examples

arianet ssh list
arianet ssh list --page 2 --limit 20
arianet ssh list --output json

Flags

FlagTypeDefaultDescription
-l, --limitint15results per page (max 100)
-p, --pageint1page number

arianet cloud ssh-keys update​

Update an SSH key

Usage

arianet cloud ssh-keys update <id> [flags]

Examples

arianet ssh update 3 --name new-label

Flags

FlagTypeDefaultDescription
--namestringrequired. new label for the SSH key

arianet cloud volumes​

Manage block storage volumes

Usage

arianet cloud volumes <command>

Aliases: volume

Subcommands

  • attach: Attach a volume to a server
  • create: Create a volume
  • delete: Delete a volume
  • detach: Detach a volume from its server
  • get: Show one volume
  • list: List volumes
  • resize: Grow a volume
  • update: Change a volume's name, labels, protection or project

arianet cloud volumes attach​

Attach a volume to a server

Usage

arianet cloud volumes attach <id> [flags]

Examples

arianet cloud volumes attach 7 --server 12 --wait

Flags

FlagTypeDefaultDescription
--serverint64required. server ID
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud volumes create​

Create a volume

Usage

arianet cloud volumes create [flags]

Examples

arianet cloud volumes create --name data --size 50 --datacenter eu-central-1
arianet cloud volumes create --name data --size 50 --server 12 --filesystem ext4 --wait

Flags

FlagTypeDefaultDescription
--datacenterstringdatacenter code (not needed with --server)
--filesystemstringext4 or xfs (what the volume is meant for)
--labelsstringArraylabel key=value (repeatable, or comma separated)
--namestringrequired. volume name
--project-idint64project to create it in (default: the account's default project)
--serverint64attach to this server once created
--sizeintrequired. size in GB
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud volumes delete​

Delete a volume

Usage

arianet cloud volumes delete <id> [flags]

Aliases: rm

Examples

arianet cloud volumes delete 4711 --yes --wait

Flags

FlagTypeDefaultDescription
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes
-y, --yesboolskip the confirmation prompt

arianet cloud volumes detach​

Detach a volume from its server

Usage

arianet cloud volumes detach <id> [flags]

Examples

arianet cloud volumes detach 7

Flags

FlagTypeDefaultDescription
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud volumes get​

Show one volume

Usage

arianet cloud volumes get <id> [flags]

Aliases: describe, show

Examples

arianet cloud volumes get 4711
arianet cloud volumes get 4711 -o json

arianet cloud volumes list​

List volumes

Usage

arianet cloud volumes list [flags]

Aliases: ls

Examples

arianet cloud volumes list
arianet cloud volumes list --label-selector env=prod -o json

Flags

FlagTypeDefaultDescription
--label-selectorstringfilter by labels, e.g. "env=prod,tier!=db"
--pageintpage number (default: fetch every page)
--per-pageintitems per page, at most 100
--project-idint64only resources in this project

arianet cloud volumes resize​

Grow a volume

Usage

arianet cloud volumes resize <id> [flags]

Examples

arianet cloud volumes resize 7 --size 100 --wait

Flags

FlagTypeDefaultDescription
--sizeintrequired. new size in GB (larger than now)
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

arianet cloud volumes update​

Change a volume's name, labels, protection or project

Usage

arianet cloud volumes update <id> [flags]

Examples

arianet cloud volumes update 7 --name logs --labels env=prod

Flags

FlagTypeDefaultDescription
--clear-labelsboolremove every label
--filesystemstringext4, xfs or ""
--labelsstringArraylabel key=value (repeatable, or comma separated)
--namestringnew name
--project-idint64move it to this project
--protection-deleteboolprotect against deletion (true/false)