Overview
Theopenstack server command group manages the full lifecycle of compute instances. Commands cover instance creation, power operations, resize, migration, console access, keypair management, and security group assignment.
Prerequisites
- CLI installed and authenticated — see CLI Setup
- Project membership with appropriate role (Member for user operations, Admin for host-level ops)
Instances
List and Inspect
Create
Power Operations
Resize and Migrate
Snapshots and Backups
Delete
Delete instance
Delete multiple instances
Keypairs
Flavors
Console Access
Server Groups (Anti-Affinity)
Common Options
| Option | Description |
|---|---|
--format json | Output as JSON |
--format yaml | Output as YAML |
--format value -c <col> | Extract a single field |
--os-project-name <proj> | Override project for this command |
--all-projects | Show resources across all projects (admin) |
--wait | Block until the operation completes |
Next Steps
Launch Instance Guide
Step-by-step walkthrough for launching your first instance
Block Storage CLI
Volume create, attach, and snapshot commands