Deploying KopiCloud AD API in AWS»
Explore options for running KopiCloud AD API in Amazon Web Services (AWS). You can deploy KopiCloud AD API using AWS MarketPlace, installing manually on an EC2 instance or using Terraform.
How to Set Up KopiCloud AD API in AWS»
Get a License - Generate a free trial license (no credit card required) or purchase a license here
Deploy a KopiCloud AD API using the information listed below
Join the machine to the AD Domain to manage using the API
Create a Service Account with Domain Administrators permissions for the KopiCloud AD API.
Run the KopiCloud AD API Config tool located in the folder C:\KopiCloud-AD-API-Config
Deploying in AWS from the AWS Marketplace»
Please check the document Deploying KopiCloud AD API from AWS Marketplace
Manual Deployment in AWS»
To deploy an AWS EC2 Instance with KopiCloud AD API, follow the procedure below:
Create a Windows Server 2019 or Windows Server 2022 EC2 Instance from the AWS Portal, AWS PowerShell, or AWS CLI.
Login into the EC2 Instance and then open the PowerShell console.
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 AWS 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
- The code will create a network (VPC and Subnet); if you want to deploy to existing VPC and Subnet, edit the api-vm-main.tf file.
in the aws_security_group section, comment the vpc_id = aws_vpc.vpc.id line and add the existing vpc id reference, following the example below:
1 2 3 4 5
and then in aws_instance section, comment the subnet_id = aws_subnet.public-subnet.id line and add the existing subnet id reference, following the example below:
1 2 3 4 5
By default, the code adds a public IP address to the EC2 instance.
If you don't want to publish the API using an external IP, remove the resource "aws_eip" and resource "aws_eip_association" sections.
And set the variable api_associate_public_ip_address to false.
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 Administrator, and get the password from the AWS Console.
Configuring AWS Credentials for Terraform»
Please read How to create an IAM account and configure Terraform to use AWS static credentials to configure your AWS credentials.