Cloudstack integration with AzureAD

Navigate to Azure portal > Services > Azure Entra ID Click on Enterprise Applications > Create a New Application Click on Create your own Application and provide a name. Select Integrate any other application you don’t find in the gallery (Non-gallery) > Create Once in the Application, click on Set up Single Sign-on and choose SAML Make sure SSL is enabled on the Cloudstack management server. Login to Cloudstack UI > Global settings > Access > Saml and set the following: saml2.enabled=true saml2.redirect.url=http://<mgmtip>:8080/client saml2.sp.slo.url=http://<mgmtip>:8080/client saml2.sp.sso.url=http://<mgmtip>:8080/client/api?command=samlSso Restart the Cloudstack Management service and execute the API to get the SP Metadata for Cloudstack https://cloudstack.apache.org/api/apidocs-4.19/apis/getSPMetadata.html > curl > [http://\<mgmt\>:8080/client/api?command=getSpMetadata](http://10.0.32.234:8080/client/api?command=getSpMetadata) \> > metadata.xml Upload the generated metadata XML into Azure Entra ...

August 18, 2025 · 2 min · Kiran Chavala

Building Cloudstack on Ubuntu 22.04

Building cloudstack on Ubuntu 22.0.4 Apache CloudStack is open source software designed to deploy and manage large networks of virtual machines, as a highly available, highly scalable Infrastructure as a Service (IaaS) cloud computing platform. CloudStack is used by a number of service providers to offer public cloud services, and by many companies to provide an on-premises (private) cloud offering, or as part of a hybrid cloud solution. https://cloudstack.apache.org/ http://docs.cloudstack.apache.org/en/latest/ Install the following packages sudo add-apt-repository universe sudo apt-get update sudo apt-get dist-upgrade sudo apt-get install cpu-checker build-essential zlib1g-dev libffi-dev libssl-dev libbz2-dev libreadline-dev libsqlite3-dev liblzma-dev vim git subversion mercurial patch rsync curl wget sed openssh-client gpg gnupg2 gzip bzip2 zip unzip p7zip-full p7zip-rar python-is-python3 openjdk-11-jdk maven mysql-server mysql-client bzip2 nfs-common uuid uuid-runtime python-setuptools python3-setuptools ipmitool genisoimage nfs-kernel-server quota python3-dev python3-openssl jq Install git apt install git Install Python and pyenv ( in order to manage multiple python versions) brew install python brew install pyenv Pouplate the .zshrc to ...

May 1, 2023 · 3 min · Kiran Chavala

Building Cloudstack on Mac Os

Building cloudstack on Mac os Apache CloudStack is open source software designed to deploy and manage large networks of virtual machines, as a highly available, highly scalable Infrastructure as a Service (IaaS) cloud computing platform. CloudStack is used by a number of service providers to offer public cloud services, and by many companies to provide an on-premises (private) cloud offering, or as part of a hybrid cloud solution. https://cloudstack.apache.org/ http://docs.cloudstack.apache.org/en/latest/ Install Brew ( package manager) /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" Install git brew install git Install Python and pyenv ( in order to manage multiple python versions) brew install python brew install pyenv Pouplate the .zshrc to ...

May 1, 2023 · 3 min · Kiran Chavala

Logstash Cloudstack

Using Elastic search is a great tool to analysze logs generated by your application Elastic search is made up of 3 parts Elastic search –> the core search engine Logstah –> to parse the logs Kibana –> visualization Here i have imported the cloudstack management server logs to the ELK and I can perform various analytics Follow the below link to set up your elk infrstructure https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-elastic-stack-on-ubuntu-18-04 Once done make sure your elastic, logstash, and kibana process are able to communicate with each other ...

June 13, 2021 · 1 min · Kiran Chavala

Terraformcloudstack

Terraform is a tool to deploy resources on cloud It is an infrastructure as code tool Generally the plugins are available at https://registry.terraform.io/ To use the plugins which are archived and not available in the terraform registry Follow the steps a small tweak is necessary Currently the cloudstack plugin is archived https://github.com/hashicorp/terraform-provider-cloudstack https://github.com/hashicorp/terraform-provider-cloudstack/blob/stable-website/website/docs/index.html.markdown Download the terrform provider for cloudstack based on the os you are running https://releases.hashicorp.com/terraform-provider-cloudstack/0.3.0/ On linux and mac Move it ...

May 31, 2021 · 1 min · Kiran Chavala