Skip to main content

Apache CloudStack Requirements

This page covers the CloudStack-specific requirements needed before StackConsole can connect CMP to your Apache CloudStack environment. Complete the common prerequisites first.

info

CMP supports both full production deployments and POC/staging setups for CloudStack. The requirements below apply to both unless noted otherwise.


1. Access for StackConsole Team​

The StackConsole team needs access to your CloudStack Dashboard to configure and validate the integration. Choose one:

Option A — VPN Access (preferred)

Provide VPN access to:

NameEmail
Satish Londhesatish.londhe@stackconsole.io
Ganesh Kanadeganesh.kanade@stackconsole.io

Option B — IP Whitelist

Whitelist our jump server:

14.192.19.227

2. CloudStack Dashboard Credentials​

🔴 Minimum role: Domain Admin. CMP uses DomainAdmin-level credentials for all API operations. ROOT admin is not required, but DomainAdmin is the minimum.

FieldValue
CloudStack URL(e.g., http://cloudstack.yourcompany.com:8080/client)
Username(min. Domain Admin role)
Password
CloudStack User Domain(the domain this admin user belongs to)
warning

CMP does not use ROOT-level admin credentials. The DomainAdmin user must have full control over the domain it will manage — including creating users, VMs, networks, and quotas.


3. CMP VM → CloudStack Connectivity​

From all CMP VMs (staging or production), the CloudStack API endpoint must be reachable. Private access is recommended for production.

Verify from each CMP VM:

# Replace with your CloudStack API URL
curl http://cloudstack.yourcompany.com:8080/client/api

The response should be a JSON error (not a connection refused), confirming the API is reachable.


5. VM Templates​

Templates are how CMP provisions operating system images for customer VMs.

Requirements for all templates:

  • ✅ Marked as Featured in CloudStack
  • ✅ Marked as Public in CloudStack
  • ✅ Password-enabled (password-enabled = true)
  • ✅ SSH key injection enabled
  • ✅ Contains the CloudStack startup script (cloud-init or ACS native)
  • ✅ Scalable root disk (supports disk resize)
warning

CMP only fetches templates that are both Featured and Public. Templates that are not marked as both will not appear in the customer portal.

warning

L2 networks do not support UserData. Do not use password-enabled templates on L2 networks — password injection will silently fail.

Refer to the Preparing CMP-Compatible Templates page for the complete template preparation guide.


6. CloudStack Global Settings (Required Before Setup)​

Before connecting CMP, the following CloudStack global settings must be configured:

SettingRequired ValuePurpose
kvm.snapshot.enabledtrueEnable VM snapshots on KVM hypervisors
Quota limits (CPU, RAM, IP)Raise to appropriate valuesCloudStack defaults are very low and will cause provisioning failures
warning

CloudStack quota settings default to very low limits (e.g., 10 VMs per domain). These must be raised before customers start provisioning, or service creation will fail with quota errors.


7. Network Verification​

Verify the following before installation:

CheckCommand
Isolated network creationCreate a test isolated network from CloudStack UI
VPC creationCreate a test VPC
VM creationDeploy a test VM on an isolated network
Public IPAssign a public IP to the test VM and verify external access
VM consoleOpen VM console from CloudStack UI

8. CloudStack Setup Checkpoints​

The StackConsole team will verify the following during installation. Confirm these are working before scheduling the setup session:

  • At least one OS template is available, featured, public, and working
  • Isolated networks can be created and VMs deployed inside them
  • VPC networks are working
  • VM creation is functional (test by creating a VM manually)
  • Public IP can be associated with a VM and accessed from external networks
  • VM console access works from the CloudStack UI

9. Customer Registration Behavior​

info

CMP uses deferred customer registration on CloudStack. A customer account is not created in CloudStack at the time of CMP registration. The CloudStack account is created only when the customer provisions their first service (e.g., creates a VM).


POC / Staging Notes​

For a POC setup, a single VM with the staging URL is sufficient. The StackConsole team will configure the domain, SSL, and SMTP initially, so public internet access on the staging VM is recommended.

If you wish to configure your own domain for staging, provide:

  • Staging URL (e.g., staging.example.com)
  • Staging SSL certificates