CMP Docs

Manage the virtual machines of an account in any Apache CloudStack cloud here, next to your other servers:

  • see them in one list;
  • start, stop, power off, reboot, resize and reinstall them;
  • create new ones and delete them;
  • add extra disks;
  • open the console.

The cloud can be your own, your hosting provider's, or a public CloudStack cloud.

Your users see the name you choose. You give the cloud a name, such as PC Cloud. Everyone in your organization sees that name and a plain cloud icon, never "CloudStack".

1. Generate API keys#

  1. Sign in to the cloud's web console.
  2. Open your user: the profile menu, or Accounts › your account › Users › your user.
  3. Click Generate keys, then copy the API key and the Secret key.

The keys act as that user. Use a user of the account whose machines you want to manage.

2. Connect it#

  1. Go to Clouds › Connect a cloud and choose CloudStack private cloud.
  2. Fill in:
Field What to enter
Account name A name for this connection, e.g. Noida account.
Cloud name shown to users What your users see, e.g. PC Cloud.
API URL The management server's API, usually ending in /client/api, e.g. https://cloud.example.com/client/api.
API key and secret key From step 1.
Zone Leave empty to use every zone. Each zone appears as a location.
Accept a self-signed certificate Only for a private cloud whose certificate isn't from a public authority.
  1. Click Connect. The keys are checked before they're saved, and the account's machines appear under Instances within a minute.

Cloud on a private network#

If the cloud can only be reached from inside your network, the portal reaches it through a connector:

  1. Install a connector on a machine inside that network.
  2. In the connect form, enter the cloud's internal API URL, for example http://10.0.0.20:8080/client/api, and the API key and secret key as usual. Under Reach it, choose the connector.

You never open a port: the portal hands each request to the connector, and the connector calls the cloud from inside. The keys are kept encrypted in the portal and only used to sign each request.

The connector's allow list needs only the API address, with scheme, host and port: for example "allow": ["http://10.0.0.20:8080"].

What you can do#

Action How it works
Start, stop, power off, reboot Stop asks the operating system to shut down; power off forces it.
Create a server Choose a zone, a size (service offering), an image (template) and optionally the networks to join. Without a choice, the machine joins the first network the account can use. Your SSH keys and root password are set by cloud-init, so use templates with cloud-init. The plain password never leaves the portal. See Create in your own cloud.
Resize Scales the machine to the new size. If the cloud doesn't allow live scaling, stop the machine first.
Reinstall Restores the machine from a template with a new root password and key. Its root disk is replaced.
Volumes Add disks with a custom-size disk offering, then grow, detach, re-attach or delete them. Snapshot any disk, make a new volume from a snapshot, and set automatic daily or weekly snapshots per disk. See Volumes.
Networks and public IPs Create isolated networks, attach and detach them, and add public IPs with static NAT, then detach or release them, in the Networks and public IPs card. Open ports in the network's firewall. See Networks and public IPs.
Firewall Incoming rules on the server's public IPs, from the Firewall card. See Firewall.
Images and ISOs Save a stopped server as a template, register templates or ISOs from a URL, insert and eject ISOs, delete your own. See Images and ISOs.
Backups Back up now, restore and delete (VM snapshots), and automatic daily or weekly backups that keep the newest few. See Backups.
Load balancers From Clouds › Load balancers: load balancer rules on the network's public address, with the port opened in the firewall. See Load balancers.
Kubernetes From Kubernetes in the menu: clusters with a choice of version, node size and 1 or 3 control nodes, automatic scaling switched on a running cluster, and a kubeconfig download, where the cloud's Kubernetes service is turned on. See Kubernetes.
Auto-scaling From Cloud accounts › Auto-scaling: groups of servers behind a load balancer that grow and shrink with their CPU use, using the cloud's own auto-scaling. See Auto-scaling.
Console Opens the cloud's own console in a new tab, through a one-time link. This needs CloudStack 4.18 or later, and your browser must be able to reach the console proxy.
Delete Destroys and expunges the machine.

Sizes are shown without prices, because the cloud's own prices aren't known.

When something goes wrong#

Message What to do
The cloud refused the API key Check that both keys were copied whole and are still active, or generate new ones.
The cloud has no zone "…" The message lists the zones. Use one of them, or leave Zone empty.
The cloud offers no disk type whose size can be chosen Ask the cloud's administrator for a custom-size disk offering.
points to a private or reserved address Use a connector.

Last updated 2 December 2026