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

Import Existing Resources into Terrafrorm

There could be scenarios where you want to import the already existing resources from cloud providers into terraform. Terraform has an import modude which does this job and using the module is a tedious process https://www.terraform.io/docs/cli/import/index.html There is tool called Terraformer which does the job of reverese terraforming https://github.com/GoogleCloudPlatform/terraformer Google cloud https://gist.github.com/kiranchavala/54a930c8da148cc2b637c053dc1ba8ba AWS https://gist.github.com/kiranchavala/c2a01a7a43ea15cb8921a710d6cf22ea Azure https://gist.github.com/kiranchavala/18a1c555c198eb0944cbad3791602dc7 Openstack https://gist.github.com/kiranchavala/c63243b0b76adcdafc7d06d87a304370 Cloudstack https://gist.github.com/kiranchavala/c1b81f1d629b0567e08e219891d4ed48

September 22, 2021 · 1 min · Kiran Chavala