CLI
Servers
Create server

server create

Create a new server interactively by selecting its configuration.


Usage

redu server create

Description

This command walks you through server creation step by step.

You will be prompted to choose:

  • server name
  • image
  • flavor
  • optional security groups
  • optional private network

The final payload is printed before the server is created.


Arguments

This command does not accept positional arguments.


Flags

This command does not support flags.


Interactive prompts

  • Enter server name
  • Select image number
  • Select flavor number
  • Select security groups (comma separated numbers) (optional)
  • Select network number (optional)

Output

  • Prints the creation payload as JSON
  • On success: Server created: <name>
  • On failure: prints an error with status code

Notes

  • SSH is enabled by default
  • Key name is fixed to redu-cli-key
  • The payload is shown for transparency before creation

Exit codes

CodeMeaning
0Success
1Error

Related commands

  • redu server flavors
  • redu server list