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 infirewalls: Manage firewalls, their rules and what they apply tofloating-ips: Manage floating IPsimages: List installable images, snapshots and backupslimits: Show the account's limits and usage per datacenterload-balancers: Manage load balancers, their services and targetsnetworks: Manage private networks, subnets and routesplans: List server plans (server types)pricing: Show the public price list (no token needed)servers: Manage cloud serversssh-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 actionlist: List the account's actions, newest firstwait: 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
| Flag | Type | Default | Description |
|---|---|---|---|
--limit | int | at most this many actions | |
--page | int | page number | |
--per-page | int | items per page, at most 100 | |
--resource-id | int64 | only actions on this resource | |
--resource-type | string | only actions on this kind (server, volume, firewall, network...) | |
--since | string | only actions started after this RFC 3339 time | |
--status | string | running, 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
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how 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 selectorscreate: Create a firewalldelete: Delete a firewallget: Show one firewalllist: List firewallsremove-from: Remove a firewall from servers or label selectorsrules: Replace a firewall's rulesset-servers: Replace the servers a firewall is applied to directlyupdate: 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
| Flag | Type | Default | Description |
|---|---|---|---|
--label-selector | stringArray | label selector, e.g. "env=prod" (repeatable) | |
--server | stringArray | server ID (repeatable, or comma separated) | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--labels | stringArray | label key=value (repeatable, or comma separated) | |
--name | string | required. firewall name | |
--project-id | int64 | project to create it in (default: the account's default project) | |
--rule | stringArray | rule "direction=in,protocol=tcp,port=22,source=0.0.0.0/0[,source=::/0][,description=ssh]" (repeatable) | |
--rules-file | string | JSON file with an array of rules (as the API takes them) | |
--server | stringArray | server ID to apply it to (repeatable) | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait until the operation finishes | |
-y, --yes | bool | skip 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
| Flag | Type | Default | Description |
|---|---|---|---|
--label-selector | string | filter by labels, e.g. "env=prod,tier!=db" | |
--page | int | page number (default: fetch every page) | |
--per-page | int | items per page, at most 100 | |
--project-id | int64 | only 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
| Flag | Type | Default | Description |
|---|---|---|---|
--label-selector | stringArray | label selector, e.g. "env=prod" (repeatable) | |
--server | stringArray | server ID (repeatable, or comma separated) | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--clear | bool | remove every rule | |
--rule | stringArray | rule "direction=in,protocol=tcp,port=22,source=0.0.0.0/0[,source=::/0][,description=ssh]" (repeatable) | |
--rules-file | string | JSON file with an array of rules (as the API takes them) | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--none | bool | apply it to no server directly | |
--server | stringArray | server ID (repeatable, or comma separated) | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--clear-labels | bool | remove every label | |
--description | string | description | |
--labels | stringArray | label key=value (repeatable, or comma separated) | |
--name | string | new name | |
--project-id | int64 | move it to this project | |
--protection-delete | bool | protect 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 servercreate: Create a floating IPdelete: Delete a floating IPdns-ptr: Set or reset a floating IP's reverse DNSget: Show one floating IPlist: List floating-ipsunassign: Unassign a floating IP from its serverupdate: 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
| Flag | Type | Default | Description |
|---|---|---|---|
--server | int64 | required. server ID | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--datacenter | string | datacenter code (not needed with --server) | |
--description | string | description | |
--labels | stringArray | label key=value (repeatable, or comma separated) | |
--name | string | name | |
--project-id | int64 | project to create it in (default: the account's default project) | |
--server | int64 | assign it to this server | |
--timeout | duration | 15m0s | how long --wait waits |
--type | string | ipv4 | ipv4 or ipv6 |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait until the operation finishes | |
-y, --yes | bool | skip 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
| Flag | Type | Default | Description |
|---|---|---|---|
--ptr | string | hostname for the reverse DNS record | |
--reset | bool | reset to the default record | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--label-selector | string | filter by labels, e.g. "env=prod,tier!=db" | |
--page | int | page number (default: fetch every page) | |
--per-page | int | items per page, at most 100 | |
--project-id | int64 | only 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
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--clear-labels | bool | remove every label | |
--description | string | description | |
--labels | stringArray | label key=value (repeatable, or comma separated) | |
--name | string | new name | |
--project-id | int64 | move it to this project | |
--protection-delete | bool | protect against deletion (true/false) |
arianet cloud images
List installable images, snapshots and backups
Usage
arianet cloud images <command>
Aliases: image
Subcommands
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
| Flag | Type | Default | Description |
|---|---|---|---|
--datacenter | string | only images available in this datacenter | |
--label-selector | string | filter by labels, e.g. "env=prod,tier!=db" | |
--location | string | alias of --datacenter | |
--page | int | page number (default: fetch every page) | |
--per-page | int | items per page, at most 100 | |
--project-id | int64 | only resources in this project | |
--type | string | system, 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
| Flag | Type | Default | Description |
|---|---|---|---|
--datacenter | string | only this datacenter |
arianet cloud load-balancers
Manage load balancers, their services and targets
Usage
arianet cloud load-balancers <command>
Aliases: lb, load-balancer
Subcommands
add-service: Add a service (listener)add-target: Add a target (server, IP or label selector)attach-network: Attach a load balancer to a private networkchange-algorithm: Change the balancing algorithmchange-type: Change a load balancer's typecreate: Create a load balancerdelete: Delete a load balancerdelete-service: Delete the service listening on a portdetach-network: Detach a load balancer from its private networkget: Show one load balancerhealth: Refresh and show the health of a load balancer's targetslist: List load-balancersremove-target: Remove a targetset-services: Replace every service at once (from a JSON file)types: List load balancer typesupdate: Change a load balancer's name, labels, protection or projectupdate-service: Replace the service listening on a port
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
| Flag | Type | Default | Description |
|---|---|---|---|
--cookie-name | string | http: stick on this application cookie | |
--destination-port | int | port on the targets (default: --listen-port) | |
--file | string | JSON file with the service (as the API takes it) instead of the flags | |
--health-domain | string | http health check Host header | |
--health-interval | int | seconds between checks (default 15) | |
--health-path | string | http health check path, e.g. /healthz | |
--health-port | int | health check port (default: the destination port) | |
--health-protocol | string | tcp or http (default: tcp) | |
--health-retries | int | failed checks before a target is unhealthy (default 3) | |
--health-status-code | stringArray | accepted status code, e.g. 200 or "2??" (repeatable) | |
--health-timeout | int | seconds a check may take (default 10) | |
--listen-port | int | port the load balancer listens on | |
--protocol | string | tcp | tcp, http or https (TLS passthrough) |
--proxyprotocol | bool | send the PROXY protocol header | |
--sticky-sessions | bool | keep a client on one target (http, https) | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--ip | string | target an IP address | |
--label-selector | string | target every server matching a label selector, e.g. "role=web" | |
--server | int64 | target a server | |
--timeout | duration | 15m0s | how long --wait waits |
--use-private-ip | bool | reach the target over the private network | |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--network | int64 | required. network ID | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--algorithm | string | required. round_robin or least_connections | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long --wait waits |
--type | string | required. new type | |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--algorithm | string | round_robin or least_connections | |
--datacenter | string | required. datacenter code | |
--labels | stringArray | label key=value (repeatable, or comma separated) | |
--name | string | required. load balancer name | |
--network | int64 | private network to attach | |
--no-public-interface | bool | no public address (private network only) | |
--project-id | int64 | project to create it in (default: the account's default project) | |
--service | stringArray | service protocol:listen[:destination], e.g. tcp:80:8080 (repeatable) | |
--services-file | string | JSON file with an array of services | |
--target | stringArray | target server:<id>, ip:<address> or label_selector:<selector> (repeatable) | |
--timeout | duration | 15m0s | how long --wait waits |
--type | string | type (see: arianet cloud load-balancers types) | |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait until the operation finishes | |
-y, --yes | bool | skip 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
| Flag | Type | Default | Description |
|---|---|---|---|
--listen-port | int | required. listen port of the service | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--label-selector | string | filter by labels, e.g. "env=prod,tier!=db" | |
--page | int | page number (default: fetch every page) | |
--per-page | int | items per page, at most 100 | |
--project-id | int64 | only 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
| Flag | Type | Default | Description |
|---|---|---|---|
--target-id | int64 | required. target ID (see: arianet cloud load-balancers get <id>) | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--algorithm | string | also change the algorithm | |
--services-file | string | required. JSON file with an array of services | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--clear-labels | bool | remove every label | |
--labels | stringArray | label key=value (repeatable, or comma separated) | |
--name | string | new name | |
--project-id | int64 | move it to this project | |
--protection-delete | bool | protect 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
| Flag | Type | Default | Description |
|---|---|---|---|
--cookie-name | string | http: stick on this application cookie | |
--destination-port | int | port on the targets (default: --listen-port) | |
--file | string | JSON file with the service (as the API takes it) instead of the flags | |
--health-domain | string | http health check Host header | |
--health-interval | int | seconds between checks (default 15) | |
--health-path | string | http health check path, e.g. /healthz | |
--health-port | int | health check port (default: the destination port) | |
--health-protocol | string | tcp or http (default: tcp) | |
--health-retries | int | failed checks before a target is unhealthy (default 3) | |
--health-status-code | stringArray | accepted status code, e.g. 200 or "2??" (repeatable) | |
--health-timeout | int | seconds a check may take (default 10) | |
--listen-port | int | port the load balancer listens on | |
--port | int | required. listen port of the service to change | |
--protocol | string | tcp | tcp, http or https (TLS passthrough) |
--proxyprotocol | bool | send the PROXY protocol header | |
--sticky-sessions | bool | keep a client on one target (http, https) | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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 networkdelete: Delete a networkget: Show one networklist: List networksroutes: Set a network's static routessubnets: Add or remove a network's subnetsupdate: 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
| Flag | Type | Default | Description |
|---|---|---|---|
--datacenter | string | required. datacenter code | |
--ip-range | string | the network's range (CIDR) | |
--labels | stringArray | label key=value (repeatable, or comma separated) | |
--name | string | required. network name | |
--project-id | int64 | project to create it in (default: the account's default project) | |
--subnet-ip-range | string | first subnet's range (default: chosen for you) | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait until the operation finishes | |
-y, --yes | bool | skip 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
| Flag | Type | Default | Description |
|---|---|---|---|
--label-selector | string | filter by labels, e.g. "env=prod,tier!=db" | |
--page | int | page number (default: fetch every page) | |
--per-page | int | items per page, at most 100 | |
--project-id | int64 | only 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
| Flag | Type | Default | Description |
|---|---|---|---|
--clear | bool | remove every route | |
--route | stringArray | destination=gateway (repeatable) | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--ip-range | string | required. subnet range (CIDR) inside the network's range | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--clear-labels | bool | remove every label | |
--labels | stringArray | label key=value (repeatable, or comma separated) | |
--name | string | new name | |
--project-id | int64 | move it to this project | |
--protection-delete | bool | protect 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
| Flag | Type | Default | Description |
|---|---|---|---|
--datacenter | string | only 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
| Flag | Type | Default | Description |
|---|---|---|---|
--account | bool | your account's price rows (GET /pricing; needs a token) | |
--datacenter | string | only this datacenter (location code) | |
--location | string | alias of --datacenter |
arianet cloud servers
Manage cloud servers
Usage
arianet cloud servers <command>
Aliases: server
Subcommands
actions: List a server's actionsattach-network: Attach a server to a private networkchange-backup-window: Move the daily backup to another hourchange-ipv4: Give a server a new public IPv4 addresschange-type: Resize a server to another plancosts: Show what a server costs per hour and month, piece by piececreate: Create a servercreate-backup: Take a backup nowcreate-image: Take a snapshot image of a serverdelete: Delete a serverdetach-network: Detach a server from a private networkdisable-backup: Turn off daily backupsdisable-rescue: Leave rescue modeenable-backup: Turn on daily backupsenable-rescue: Boot a server into rescue mode (prints the rescue password once)get: Show one serverlist: List serverspower-off: Cut a server's power (hard stop)power-on: Power a server onreboot: Reboot a server gracefullyrebuild: Reinstall a server from an image (erases its disk)reset: Hard-reset a serverreset-password: Set a new root password (printed once)restore-backup: Restore a server from one of its backups (erases its disk)shutdown: Shut a server down gracefully (ACPI)update: Change a server's name, labels, protection or project
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
| Flag | Type | Default | Description |
|---|---|---|---|
--ip | string | private IP to use (default: the next free one) | |
--network | int64 | required. network ID | |
--subnet | int64 | subnet ID (default: the network's first) | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait until the operation finishes | |
--window-hour | int | required. 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
| Flag | Type | Default | Description |
|---|---|---|---|
--confirm-paid | bool | accept the fee of a paid change | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--plan | int64 | required. plan ID (see: arianet cloud plans) | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--backups | bool | turn on daily backups | |
--count | int | create this many servers at once | |
--datacenter | string | required. datacenter code (see: arianet cloud datacenters) | |
--firewall | stringArray | firewall ID to apply (repeatable) | |
--image | string | required. image (see: arianet cloud images list) | |
--labels | stringArray | label key=value (repeatable, or comma separated) | |
--name | string | required. server name (with --count: name, name-2, ...) | |
--network | stringArray | private network ID to attach (repeatable) | |
--no-ipv4 | bool | no public IPv4 address | |
--no-ipv6 | bool | no public IPv6 address | |
--no-start | bool | do not start the server after creating it | |
--plan | int64 | required. plan ID (see: arianet cloud plans) | |
--project-id | int64 | project to create it in (default: the account's default project) | |
--ssh-key | stringArray | public key to install (repeatable) | |
--ssh-key-id | stringArray | saved SSH key ID (repeatable; see: arianet cloud ssh-keys list) | |
--timeout | duration | 15m0s | how long --wait waits |
--user-data-file | string | cloud-init user data file | |
--volume | stringArray | volume ID to attach (repeatable) | |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--description | string | snapshot description | |
--labels | stringArray | label key=value (repeatable, or comma separated) | |
--name | string | snapshot name | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--delete-snapshots | bool | also delete its snapshots (protected ones stay) | |
--keep-backups | bool | keep its finished backups as snapshots (billed per GB until deleted) | |
--note | string | a few words why (required with --reason other) | |
--reason | string | why: price, performance, ip_filtered, no_longer_needed, migrating, support or other | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait until the operation finishes | |
-y, --yes | bool | skip 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
| Flag | Type | Default | Description |
|---|---|---|---|
--network | int64 | required. network ID | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait until the operation finishes | |
--window-hour | int | hour 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
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--label-selector | string | filter by labels, e.g. "env=prod,tier!=db" | |
--page | int | page number (default: fetch every page) | |
--per-page | int | items per page, at most 100 | |
--project-id | int64 | only 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
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--image | string | required. image to install (see: arianet cloud images list) | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--backup | int64 | required. backup ID (see: arianet cloud images list --type backup) | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--clear-labels | bool | remove every label | |
--labels | stringArray | label key=value (repeatable, or comma separated) | |
--name | string | new name | |
--project-id | int64 | move it to this project | |
--protection-delete | bool | protect against deletion (true/false) | |
--protection-rebuild | bool | protect 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 keydelete: Delete an SSH keyget: Get details of an SSH keylist: List your SSH keysupdate: 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
| Flag | Type | Default | Description |
|---|---|---|---|
--key | string | public key content (ssh-ed25519 AAAA...) | |
--key-file | string | path to public key file (e.g. ~/.ssh/id_ed25519.pub) | |
--name | string | required. label for this SSH key | |
--region | int | required. 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
| Flag | Type | Default | Description |
|---|---|---|---|
-y, --yes | bool | skip 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
| Flag | Type | Default | Description |
|---|---|---|---|
-l, --limit | int | 15 | results per page (max 100) |
-p, --page | int | 1 | page 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
| Flag | Type | Default | Description |
|---|---|---|---|
--name | string | required. 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 servercreate: Create a volumedelete: Delete a volumedetach: Detach a volume from its serverget: Show one volumelist: List volumesresize: Grow a volumeupdate: 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
| Flag | Type | Default | Description |
|---|---|---|---|
--server | int64 | required. server ID | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--datacenter | string | datacenter code (not needed with --server) | |
--filesystem | string | ext4 or xfs (what the volume is meant for) | |
--labels | stringArray | label key=value (repeatable, or comma separated) | |
--name | string | required. volume name | |
--project-id | int64 | project to create it in (default: the account's default project) | |
--server | int64 | attach to this server once created | |
--size | int | required. size in GB | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait until the operation finishes | |
-y, --yes | bool | skip 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
| Flag | Type | Default | Description |
|---|---|---|---|
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--label-selector | string | filter by labels, e.g. "env=prod,tier!=db" | |
--page | int | page number (default: fetch every page) | |
--per-page | int | items per page, at most 100 | |
--project-id | int64 | only 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
| Flag | Type | Default | Description |
|---|---|---|---|
--size | int | required. new size in GB (larger than now) | |
--timeout | duration | 15m0s | how long --wait waits |
--wait | bool | wait 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
| Flag | Type | Default | Description |
|---|---|---|---|
--clear-labels | bool | remove every label | |
--filesystem | string | ext4, xfs or "" | |
--labels | stringArray | label key=value (repeatable, or comma separated) | |
--name | string | new name | |
--project-id | int64 | move it to this project | |
--protection-delete | bool | protect against deletion (true/false) |