This project will deploy Kasm Workspaces in a multi-server deployment in AWS within a single region of your choice. Each role is placed in a separate subnet and traffic from user sessions on the Agent egresses out of a Nat Gateway.
Consider creating a special sub account for the Kasm deployment.
In your AWS account create a DNS Public zone that matches the desired domain name for the deployment. e.g kasm.contoso.com
In the desired AWS region create an aws Key pair. This will be configured as the SSH key for the deployed EC2 machines
Create a user via the IAM console that will be used for the terraform deployment. Give the user Programatic Access and attach the existing policy AdministratorAccess. Save the key and key secret
-
Initialize the project
terraform init
-
Open
deployment.tf
and update the variables. The variable definitions and descriptions can be found inmodule/variables.tf
-
Verify the configuration
terraform plan
-
Deploy
terraform deploy
-
Login to the Deployment as an Admin via the domain defined e.g
https://kasm.contoso.com
-
Navigate to the Agents tab, and enable each Agent after it checks in. (May take a few minutes)