Compute & 42 Technical Guides
Comprehensive documentation for deploying, scaling, and optimizing workloads on CloudNexus. Master everything from VM lifecycle management to container orchestration with our structured 42-part guide series.
42 Compute Guides
Each guide is designed to be read sequentially, but can be consumed independently. Covers architecture patterns, CLI commands, Terraform modules, and production best practices.
Showing 8 of 42 guides. Use filters or scroll to explore the complete series.
CLI Quick Reference
Manage compute resources programmatically using the cnx compute command group. All commands support JSON output and pagination.
| Flag | Type | Description |
|---|---|---|
--type |
string | Compute family (c=compute, m=memory, g=GPU, b=baremetal) |
--storage |
string | Format: type:size (e.g., nvme:500gb, ssd:1tb) |
--auto-scale |
boolean | Enable intelligent horizontal/vertical scaling policies |
--tags |
string | Key-value pairs for billing, routing, and grouping |
Production Best Practices
Compute Sizing Strategy
- Start with baseline metrics from staging workloads before provisioning production capacity
- Use
cnx compute right-sizeto analyze 30-day utilization patterns - Implement burstable instance families for variable workloads (up to 4x baseline CPU)
- Separate stateless compute from stateful storage layers
Enable Compute Autoscaler v2 in your account settings. It uses ML-based demand forecasting to scale capacity 15 minutes before traffic spikes, reducing cold-start latency by up to 73%.
Networking & Isolation
Always deploy compute nodes within isolated VPC subnets. Use security groups for ingress/egress control and deploy load balancers in public subnets while keeping application tiers private. Enable VPC peering for cross-account resource access without public internet exposure.