Skip to content

Deploying KopiCloud AD API in Azure»

KopiCloud_AD_API

Explore options for running KopiCloud AD API in Microsoft Azure


How to Set Up KopiCloud AD API in Azure»

  1. Get a License - Generate a free trial license (no credit card required) or purchase a license here

  2. Deploy a KopiCloud AD API using the information listed below

  3. Join the machine to the AD Domain to manage using the API

  4. Create a Service Account with Domain Administrators permissions for the KopiCloud AD API.

  5. Run the KopiCloud AD API Config tool located in the folder C:\KopiCloud-AD-API-Config


Manual Deployment in Azure»

To deploy an Azure Virtual Machine with KopiCloud AD API, follow the procedure below:

  1. Create a Windows Server 2019 or Windows Server 2022 virtual machine from the Azure Portal or PowerShell.

  2. Login into the virtual machine and then open the PowerShell console.

  3. Paste the PowerShell script located on this repo in the PowerShell console, depending on the operating system.

Scripts to setting up the KopiCloud AD API:

  • setup-win2019.ps1 = Script to install and Configure KopiCloud AD API in Windows Server 2019/SQL Server 2019 Express

  • setup-win2022.ps1 = Script to install and Configure KopiCloud AD API in Windows Server 2022/SQL Server 2022 Express

  • After the script deployment is completed, restart the machine.


Deploying in Azure using Terraform»

To deploy an Azure Virtual Machine with KopiCloud AD API using Terraform, check the repos listed below:

Windows Server 2019/SQL Server 2019 Express, use this repo

Windows Server 2022/SQL Server 2022 Express, use this repo

Network Configuration»

The code will create the network resources (Resource Group, VNET, Subnet).

Notes»

  • By default, the download and installation of SQL Server Management Studio is disabled because it will take lots of time.

  • The default Windows username and password are managed by the terraform.tfvars file.


Configuring Azure Credentials for Terraform»

Please read Getting Started with Terraform and Microsoft Azure - Section #6 to configure your Azure credentials.