Skip to content

Deploying KopiCloud AD API in OCI»

KopiCloud_AD_API

Explore options for running KopiCloud AD API in Oracle Cloud Infrastructure (OCI)


How to Set Up KopiCloud AD API in OCI»

  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 OCI»

To deploy a OCI Virtual Machine with KopiCloud AD API, follow the procedure below:

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

  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 the API in OCI using Terraform»

To deploy an AWS EC2 Instance 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 (VCN, Subnet, Internet Gateway, Routes).

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 is opc, and get the password from the Terraform output.

1
2
3
api_admin_password = "B21AqTpHlai[5"
api_admin_user = "opc"
api_public_ip = "xxx.xxx.xxx.xxx"

Configuring OCI Credentials for Terraform»

Please read How to Configure the Terraform Provider for OCI (Oracle Cloud Infrastructure) with API Key Authentication to configure your OCI credentials.