Quick and Easy Apache CloudStack deployments using cldstk-deploy.

Quick and Easy Apache CloudStack deployments using cldstk-deploy.


CloudStack Deploy is a utility for making Apache CloudStack (ACS) and KVM installations quick, easy and painless whether you’re deploying to a single server or many. Meant to be reusable so you can deploy Apache CloudStack more than once after you’ve downloaded the RPMS and systemtemplates locally with cldstk-deploy.

What’s new with cldstk-deploy

The main focus has been on improving the installation and making it easier to get a Apache Cloudstack environment up and running.

  • Apache CloudStack 4.4 Deployment Support
  • Fixed bugs here and there
  • ACS 4.4 Systemtemplate preseed uses systemvm64template-4.4.0-6-kvm.qcow2.bz2

Now you can deploy 4.2, 4.3 and 4.4 versions of Apache CloudStack using cldstk-deploy in minutes.
Quickly setup environments for:

  • Testing Apache Cloudstack upgrades
  • Training
  • Demos
  • Labs
  • And more…

Let’s get into a bit more detail


It seemed that the all-in-one type deployment could be made easier so now it’s the first question your prompted to answer. If you choose ‘y’ then you only need to input the server name once for the installation portion. No more providing the same server name multiple times. Example below:

Cloudstack Deployment: Answer the questions below....
Install all-in-one?[Y/n]: y
All-in-one Server[dns/ip]: cldstkkvm01
Install System Templates?[Y/n]: y
NFS Server[dns/ip]:
NFS Path[/nfsdirpath]: /mnt/volume1/secondary
Change install type to "Internet"?[Y/n]: n
Which version to install[4.2, 4.3, 4.4]?: 4.4
Add ssh rsa keys to ~/.ssh/known_hosts?[Y/n]: y
ansible hosts file successfully writing to disk.....
vars_file successfully writing to disk.....
Create Basic Zone?[Y/n]: n
Start installation now?[Y/n]: y

Basic Zone Configuration:

Now you can have cldstk-deploy setup a basic zone. Just provide the needed information for your basic zone then after cldstk-deploy has finished deploying Cloudstack it will setup the basic zone for you as well. This way you do not have to login into the management portal and manually create the zone.

Create Basic Zone?[Y/n]: y
Basic Zone Name: MyZone
External DNS:
Internal DNS:
Hypervisor type only support KVM at this time.
Pod Name: MyPod
Pod Start IP:
Pod End IP:
Guest Start IP:
Guest End IP:
Cluster Name: MyCluster
Host DNS/IP (separated by comma): cldstkkvm01
Host User: root
Host Password: 
Enter the secondary and primary storage mount points.
Example: nfs://
Secondary Storage: nfs://
Primary Storage: nfs://  
Start installation now?[Y/n]: y

Changed Web Server Port to 8080

I’ve done a lot of testing but I love to get feedback, good or bad. I hope people like the tool and what it does. It is the quickest way that I’ve seen to get a Cloudstack environment up and running. Now with the core things in place and working that I wanted, I can focus on cleaning up the code now.

Get it at Github. cldstk-deploy

+ There are no comments

Add yours

Leave a Reply