Skip to main content

arianet vps

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 vps​

Manage virtual private servers (VPS)

Usage

arianet vps <command>

Aliases: server, servers, srv

Subcommands

arianet vps actions​

Show the operation history of a VPS

Show the operations performed on a VPS (create, restart, reinstall, ...), newest first, with their outcome.

Usage

arianet vps actions <id> [flags]

Examples

arianet vps actions 42
arianet vps actions 42 --limit 50 --output json

Flags

FlagTypeDefaultDescription
-l, --limitint20number of operations to show

arianet vps create​

Create a new VPS

Create a new VPS.

If --plan, --region or --os is omitted, an interactive wizard guides you through the choice.

Authentication: pass --ssh-key <id> to log in with a stored SSH key, or --password to set the root password yourself. With neither, a strong random root password is generated and printed once - save it.

The command waits until the VPS is active (up to --timeout). Use --no-wait to return as soon as the order is accepted.

Every order carries an idempotency key, so a retry after a network failure can never buy a second VPS. If the command is interrupted before it can tell you the outcome, re-run it with the same --idempotency-key it printed.

Usage

arianet vps create [flags]

Examples

arianet vps create                                   # interactive wizard
arianet vps create --plan 5 --region 1 --os 3 --hostname web-01
arianet vps create --plan 5 --region 1 --os 3 --hostname web-01 --ssh-key 2
arianet vps create --plan 5 --region 1 --os 3 --no-wait --yes --output json

Flags

FlagTypeDefaultDescription
--currencyintcurrency ID to pay with (default: your default wallet)
--hostnamestringhostname for the server
--idempotency-keystringreuse a key to retry an order safely
--no-waitboolreturn as soon as the order is accepted
--osintOS template ID (see: arianet os list)
--passwordstringroot password (default: a random one is generated and shown once)
--planintplan ID (see: arianet plan list)
--regionintregion ID (see: arianet region list)
--ssh-keyintlog in with this SSH key ID instead of a password (see: arianet ssh list)
--timeoutduration15m0slongest time to wait for the server to become active
-y, --yesboolskip confirmation prompt

arianet vps delete​

Delete a VPS

Usage

arianet vps delete <id> [flags]

Examples

arianet vps delete 42
arianet vps delete 42 --yes --wait

Flags

FlagTypeDefaultDescription
--timeoutduration15m0slongest time to wait with --wait
--waitboolwait until the operation has finished
-y, --yesboolskip confirmation prompt

arianet vps get​

Get details of a VPS

Usage

arianet vps get <id> [flags]

Examples

arianet vps get 42
arianet vps get 42 --output json

arianet vps list​

List your VPS

List your VPS.

Without --status, active and suspended VPS are shown. Other statuses include creating, pending, failed, terminated, powering_on, powering_off, restarting and reinstalling_os.

Usage

arianet vps list [flags]

Examples

arianet vps list
arianet vps list --status active
arianet vps list --status terminated
arianet vps list --page 2 --limit 20
arianet vps list --output json

Flags

FlagTypeDefaultDescription
-l, --limitint15results per page (max 100)
-p, --pageint1page number
-s, --statusstringfilter by status (default: active and suspended)

arianet vps power-off​

Power off a VPS

Usage

arianet vps power-off <id> [flags]

Examples

arianet vps power-off 42 --yes --wait

Flags

FlagTypeDefaultDescription
--timeoutduration15m0slongest time to wait with --wait
--waitboolwait until the operation has finished
-y, --yesboolskip confirmation prompt

arianet vps power-on​

Power on a VPS

Usage

arianet vps power-on <id> [flags]

Examples

arianet vps power-on 42 --wait

Flags

FlagTypeDefaultDescription
--timeoutduration15m0slongest time to wait with --wait
--waitboolwait until the operation has finished

arianet vps regional​

Manage regional VPS servers (e.g. iran-1) through /vps/v1

Manage VPS servers of the regional VPS product (iran-1): order, power, reinstall, resize, console and traffic.

The commands call /vps/v1 on the API host with your API token. Token scopes: vps:servers:read (reads), vps:servers:write (changes) (a token without scopes may do everything). --region picks a regional install (default: the product's default region). Add -o json to print the service's answer as is.

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

Usage

arianet vps regional <command>

Aliases: region-vps

Flags

FlagTypeDefaultDescription
--regionstringregional install to call, e.g. iran-1 (default: the product's default region)

Subcommands

  • actions: Follow asynchronous operations (actions)
  • api: Send any request to the /vps/v1 API and print the answer as JSON
  • datacenters: List the region's datacenters
  • images: List operating system images
  • plans: List plans for sale
  • servers: Order and manage servers

arianet vps regional actions​

Follow asynchronous operations (actions)

Usage

arianet vps regional actions <command>

Aliases: action

Inherited flags: --region (from arianet vps regional)

Subcommands

  • get: Show one operation
  • list: List your latest operations
  • wait: Wait until operations finish; exits non-zero if one fails or the timeout passes

arianet vps regional actions get​

Show one operation

Usage

arianet vps regional actions get <action-id> [flags]

Examples

arianet vps regional actions get 812

Inherited flags: --region (from arianet vps regional)

arianet vps regional actions list​

List your latest operations

Usage

arianet vps regional actions list [flags]

Aliases: ls

Examples

arianet vps regional actions list --limit 20

Flags

FlagTypeDefaultDescription
--limitstringat most this many

Inherited flags: --region (from arianet vps regional)

arianet vps regional actions wait​

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

Usage

arianet vps regional actions wait <action-id> [<action-id>...] [flags]

Examples

arianet vps regional actions wait 812 813 --timeout 10m

Flags

FlagTypeDefaultDescription
--timeoutduration15m0show long to wait

Inherited flags: --region (from arianet vps regional)

arianet vps regional api​

Send any request to the /vps/v1 API and print the answer as JSON

Usage

arianet vps regional api <method> <path> [flags]

Examples

arianet vps regional api GET /openapi.json
arianet vps regional api POST /some/path --data '{"key":"value"}'

Flags

FlagTypeDefaultDescription
--datastringthe JSON request body
--filestringread the JSON request body from this file

Inherited flags: --region (from arianet vps regional)

arianet vps regional datacenters​

List the region's datacenters

Usage

arianet vps regional datacenters [flags]

Examples

arianet vps regional datacenters

Inherited flags: --region (from arianet vps regional)

arianet vps regional images​

List operating system images

Usage

arianet vps regional images [flags]

Examples

arianet vps regional images --datacenter 2

Flags

FlagTypeDefaultDescription
--datacenterstringonly images of this datacenter

Inherited flags: --region (from arianet vps regional)

arianet vps regional plans​

List plans for sale

Usage

arianet vps regional plans [flags]

Examples

arianet vps regional plans --datacenter 2

Flags

FlagTypeDefaultDescription
--datacenterstringonly plans of this datacenter

Inherited flags: --region (from arianet vps regional)

arianet vps regional servers​

Order and manage servers

Usage

arianet vps regional servers <command>

Aliases: server

Inherited flags: --region (from arianet vps regional)

Subcommands

  • actions: List the server's operations
  • console: Get a one-time browser console URL
  • create: Order a server (charged to your wallet)
  • delete: Delete a server and its disk
  • get: Show one server
  • kill: Hard power-off (like pulling the plug)
  • list: List your servers
  • reinstall: Reinstall from an image (the disk is wiped)
  • reset-password: Set the root password (generated when not given)
  • resize: Move to another plan (disks only grow)
  • restart: Restart a server
  • start: Power a server on
  • stop: Shut a server down gracefully
  • traffic: Show network traffic and the period's quota

arianet vps regional servers actions​

List the server's operations

Usage

arianet vps regional servers actions <server-id> [flags]

Examples

arianet vps regional servers actions 501 --limit 10

Flags

FlagTypeDefaultDescription
--limitstringat most this many

Inherited flags: --region (from arianet vps regional)

arianet vps regional servers console​

Get a one-time browser console URL

Usage

arianet vps regional servers console <server-id> [flags]

Examples

arianet vps regional servers console 501 --wait

Flags

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

Inherited flags: --region (from arianet vps regional)

arianet vps regional servers create​

Order a server (charged to your wallet)

Usage

arianet vps regional servers create [flags]

Examples

arianet vps regional servers create --datacenter thr-1 --plan-id 4 --image ubuntu-24.04 --hostname web-1 --billing-mode hourly --wait

Flags

FlagTypeDefaultDescription
--billing-modestringhourly or monthly (required)
--datastringthe JSON request body; flags given as well override its fields
--datacenterstringdatacenter code (arianet vps regional datacenters) (required)
--filestringread the JSON request body from this file
--hostnamestringserver hostname (required)
--imagestringimage (arianet vps regional images) (required)
--passwordstringroot password (default: generated and shown once)
--plan-idint64plan ID (arianet vps regional plans) (required)
--project-idint64project to put it in
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

Inherited flags: --region (from arianet vps regional)

arianet vps regional servers delete​

Delete a server and its disk

Usage

arianet vps regional servers delete <server-id> [flags]

Aliases: rm

Examples

arianet vps regional servers delete 501 --reason 'no longer needed' --yes

Flags

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

Inherited flags: --region (from arianet vps regional)

arianet vps regional servers get​

Show one server

Usage

arianet vps regional servers get <server-id> [flags]

Aliases: show

Examples

arianet vps regional servers get 501

Inherited flags: --region (from arianet vps regional)

arianet vps regional servers kill​

Hard power-off (like pulling the plug)

Usage

arianet vps regional servers kill <server-id> [flags]

Examples

arianet vps regional servers kill 501 --yes

Flags

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

Inherited flags: --region (from arianet vps regional)

arianet vps regional servers list​

List your servers

Usage

arianet vps regional servers list [flags]

Aliases: ls

Examples

arianet vps regional servers list
arianet vps regional servers list -o json

Inherited flags: --region (from arianet vps regional)

arianet vps regional servers reinstall​

Reinstall from an image (the disk is wiped)

Usage

arianet vps regional servers reinstall <server-id> [flags]

Examples

arianet vps regional servers reinstall 501 --image 7 --yes --wait

Flags

FlagTypeDefaultDescription
--imagestringthe image (required)
--passwordstringroot password (default: generated and shown once)
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes
-y, --yesboolskip the confirmation prompt

Inherited flags: --region (from arianet vps regional)

arianet vps regional servers reset-password​

Set the root password (generated when not given)

Usage

arianet vps regional servers reset-password <server-id> [flags]

Examples

arianet vps regional servers reset-password 501 --wait

Flags

FlagTypeDefaultDescription
--passwordstringthe new root password
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

Inherited flags: --region (from arianet vps regional)

arianet vps regional servers resize​

Move to another plan (disks only grow)

Usage

arianet vps regional servers resize <server-id> [flags]

Examples

arianet vps regional servers resize 501 --plan-id 9 --wait

Flags

FlagTypeDefaultDescription
--plan-idint64the new plan ID (required)
--timeoutduration15m0show long --wait waits
--waitboolwait until the operation finishes

Inherited flags: --region (from arianet vps regional)

arianet vps regional servers restart​

Restart a server

Usage

arianet vps regional servers restart <server-id> [flags]

Examples

arianet vps regional servers restart 501 --wait

Flags

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

Inherited flags: --region (from arianet vps regional)

arianet vps regional servers start​

Power a server on

Usage

arianet vps regional servers start <server-id> [flags]

Examples

arianet vps regional servers start 501 --wait

Flags

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

Inherited flags: --region (from arianet vps regional)

arianet vps regional servers stop​

Shut a server down gracefully

Usage

arianet vps regional servers stop <server-id> [flags]

Examples

arianet vps regional servers stop 501 --wait

Flags

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

Inherited flags: --region (from arianet vps regional)

arianet vps regional servers traffic​

Show network traffic and the period's quota

Usage

arianet vps regional servers traffic <server-id> [flags]

Examples

arianet vps regional servers traffic 501 --granularity day --from 2026-11-01T00:00:00Z

Flags

FlagTypeDefaultDescription
--fromstringstart (RFC 3339)
--granularitystringhour or day
--tostringend (RFC 3339)

Inherited flags: --region (from arianet vps regional)

arianet vps reinstall​

Reinstall the OS on a VPS

Usage

arianet vps reinstall <id> [flags]

Examples

arianet vps reinstall 42 --os 3
arianet vps reinstall 42 --os 3 --yes --wait

Flags

FlagTypeDefaultDescription
--osintrequired. OS template ID (see: arianet os list)
--timeoutduration15m0slongest time to wait with --wait
--waitboolwait until the operation has finished
-y, --yesboolskip confirmation prompt

arianet vps rename​

Rename a VPS

Usage

arianet vps rename <id> [flags]

Examples

arianet vps rename 42 --name new-hostname

Flags

FlagTypeDefaultDescription
--namestringrequired. new name (1-30 characters)

arianet vps restart​

Restart a VPS

Usage

arianet vps restart <id> [flags]

Examples

arianet vps restart 42
arianet vps restart 42 --yes --wait

Flags

FlagTypeDefaultDescription
--timeoutduration15m0slongest time to wait with --wait
--waitboolwait until the operation has finished
-y, --yesboolskip confirmation prompt

arianet vps status​

Get the current status of a VPS

Usage

arianet vps status <id> [flags]

Examples

arianet vps status 42
arianet vps status 42 --output json

arianet vps toggle-protection​

Turn deletion protection on or off

Turn deletion protection on or off.

With --enable or --disable the state is set explicitly (safe to repeat in scripts). With neither, the current state is flipped.

Usage

arianet vps toggle-protection <id> [flags]

Examples

arianet vps toggle-protection 42 --enable
arianet vps toggle-protection 42 --disable
arianet vps toggle-protection 42

Flags

FlagTypeDefaultDescription
--disableboolturn protection off
--enableboolturn protection on