Skip to content

mw cloudvps compute create

Releasev0.35.0 · cfeceb67

mw cloudvps compute create <name> [flags]

Create a Cloud VPS instance using image, flavor, and network IDs

--availability-zone <string>
Availability zone (optional)
-f, --filter <strings>
Filter output based on conditions provided
--flavor <string>
Flavor ID (required; see cloudvps flavor list)
--format <string>
Format the specified output
--image <string>
Image ID (required; see cloudvps image list)
--key-name <string>
Existing OpenStack SSH key pair name (optional)
--network <string>
Network ID (required; see cloudvps network list)
-o, --output <string>
Output format (jq|json) Default: json.
--project <string>
Project name (otherwise uses cloud_vps.default_project or the selected profile)
--security-group <strings>
Security group names (repeatable or comma-separated; defaults to OpenStack default)
--timeout <duration>
Maximum time to wait for ACTIVE Default: 10m0s.
--user-data <string>
Path to a cloud-init user-data file (optional)
--wait
Wait for the instance to become ACTIVE (does not wait for cloud-init or SSH)
--help
Help for this command
--no-interaction
Do not ask any interactive questions
--profile <string>
Saved Cloud VPS credential profile (login defaults to the project name)
-v, --verbose <count>
Increase output verbosity. Example: --verbose=2 or -vv
Terminal window
mw cloudvps compute create ci-runner --project mwcli --image <image-id> --flavor <flavor-id> --network <network-id> --wait
Report an issue with this page

Report a documentation issue

The report includes this page’s link, section and documentation version.

Review and submit on Phabricator, or run the command using your saved CLI profile. The command asks before creating the task.