⚡ Compute
cloudnexus instance create
Provisions a new virtual machine with specified resources, region, and OS template.
cloudnexus instance create \
--name "web-prod-01" \
--plan standard-8x32 \
--region us-east-1 \
--image ubuntu-22.04-lts
Parameters: --name (required), --plan, --region, --image, --ssh-key
⚡ Compute
cloudnexus instance stop
Gracefully shuts down a running instance. Data persists on attached storage.
cloudnexus instance stop \
--id inst_8f3k29a \
--timeout 60s
Parameters: --id or --name, --timeout, --force
🌐 Networking
cloudnexus network create
Creates a isolated VPC with customizable CIDR block and subnet configuration.
cloudnexus network create \
--name "app-vpc" \
--cidr 10.0.0.0/16 \
--region eu-west-2
Parameters: --name, --cidr, --region, --dns-enabled
🌐 Networking
cloudnexus lb create
Deploys a global load balancer with SSL termination and health checks.
cloudnexus lb create \
--name "frontend-lb" \
--protocol tcp \
--ports 80,443 \
--targets inst_*,inst_*
Parameters: --name, --protocol, --ports, --targets, --health-check
💾 Storage
cloudnexus volume attach
Attaches a persistent NVMe block storage volume to a running instance.
cloudnexus volume attach \
--volume-id vol_29f8x \
--instance-id inst_8f3k29a \
--device /dev/vdb
Parameters: --volume-id, --instance-id, --device, --encrypted
💾 Storage
cloudnexus snapshot create
Creates an incremental, consistent snapshot of a volume for backup or cloning.
cloudnexus snapshot create \
--volume-id vol_29f8x \
--name "db-backup-2025" \
--tag environment=production
Parameters: --volume-id, --name, --tag, --retention-days
🐳 Kubernetes
cloudnexus k8s create
Provisions a managed Kubernetes cluster with auto-scaling node pools.
cloudnexus k8s create \
--name "app-cluster" \
--version 1.29 \
--nodes 3 \
--plan k8s-prod
Parameters: --name, --version, --nodes, --plan, --network-policy
🐳 Kubernetes
cloudnexus k8s deploy
Applies Kubernetes manifests or Helm charts directly to the managed cluster.
cloudnexus k8s deploy \
--cluster app-cluster \
--manifest ./deploy/frontend.yaml \
--namespace production
Parameters: --cluster, --manifest, --helm-chart, --namespace
🛡️ Security
cloudnexus firewall rule create
Adds a stateful firewall rule to allow or deny traffic based on protocol, port, and IP.
cloudnexus firewall rule create \
--name "allow-ssh" \
--action allow \
--protocol tcp \
--ports 22 \
--source 0.0.0.0/0
Parameters: --name, --action, --protocol, --ports, --source, --priority
🛡️ Security
cloudnexus ssh-key add
Registers a public SSH key for secure instance access without passwords.
cloudnexus ssh-key add \
--name "dev-laptop" \
--public-key "ssh-ed25519 AAAA... user@host"
Parameters: --name, --public-key, --file, --comment