Skip to content


Repository files navigation

Deploy an Azure Virtual Machine with KopiCloud AD API in Windows Server 2019

Terraform KopiCloud-AD

The Terraform code in this repo will deploy an Azure Virtual Machine for KopiCloud AD API with Windows Server 2019 and SQL Server 2019 Express.

Network Configuration

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


  • 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

Read the document Getting Started with Terraform and Microsoft Azure - Section 6 to configure credentials.

How to Set Up KopiCloud AD API

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

  2. Install KopiCloud AD API using the code in this repo.

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

  4. Create a Service Account in Active Directory 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 to finish the setup of API.

Note: You cannot log in to the KopiCloud AD API Portal using the Service Account for security reasons.


KopiCloud AD API Official Web Site:

KopiCloud AD API Documentation:


No releases published


No packages published