kasm-terraform/aws/multi_region/agents
2024-02-14 14:08:36 +00:00
..
agent.tf AWS deployments validated with 1.14 2024-02-14 14:08:36 +00:00
cert.tf Simplified TF, added CPX, updated download URL 2024-02-12 22:45:26 +00:00
cpx.tf AWS deployments validated with 1.14 2024-02-14 14:08:36 +00:00
dependencies.tf AWS deployments validated with 1.14 2024-02-14 14:08:36 +00:00
elb.tf AWS deployments validated with 1.14 2024-02-14 14:08:36 +00:00
provider.tf Simplified TF, added CPX, updated download URL 2024-02-12 22:45:26 +00:00
proxy.tf AWS deployments validated with 1.14 2024-02-14 14:08:36 +00:00
README.md AWS deployments validated with 1.14 2024-02-14 14:08:36 +00:00
routes.tf AWS deployments validated with 1.14 2024-02-14 14:08:36 +00:00
security_group.tf AWS deployments validated with 1.14 2024-02-14 14:08:36 +00:00
subnet.tf AWS deployments validated with 1.14 2024-02-14 14:08:36 +00:00
variables.tf AWS deployments validated with 1.14 2024-02-14 14:08:36 +00:00
vpc.tf Simplified TF, added CPX, updated download URL 2024-02-12 22:45:26 +00:00

agents

Requirements

Name Version
terraform ~> 1.0
aws ~> 5.0

Providers

Name Version
aws 5.36.0

Modules

No modules.

Resources

Name Type
aws_acm_certificate.this resource
aws_acm_certificate_validation.this resource
aws_eip.this resource
aws_instance.agent resource
aws_instance.cpx resource
aws_instance.proxy resource
aws_internet_gateway.this resource
aws_lb.this resource
aws_lb_listener.this resource
aws_lb_target_group.this resource
aws_lb_target_group_attachment.this resource
aws_nat_gateway.this resource
aws_route53_record.alb resource
aws_route53_record.certificate resource
aws_route_table.internet_gateway resource
aws_route_table.nat_gateway resource
aws_route_table_association.agent resource
aws_route_table_association.alb resource
aws_route_table_association.cpx resource
aws_route_table_association.proxy resource
aws_route_table_association.windows resource
aws_security_group.agent resource
aws_security_group.cpx resource
aws_security_group.proxy resource
aws_security_group.public_lb resource
aws_security_group.windows resource
aws_security_group_rule.agent resource
aws_security_group_rule.agent_egress resource
aws_security_group_rule.cpx resource
aws_security_group_rule.cpx_egress resource
aws_security_group_rule.proxy_agent resource
aws_security_group_rule.proxy_egress resource
aws_security_group_rule.proxy_public_lb resource
aws_security_group_rule.public_lb resource
aws_security_group_rule.public_lb_egress resource
aws_security_group_rule.windows_cpx resource
aws_security_group_rule.windows_egress resource
aws_security_group_rule.windows_webapp resource
aws_subnet.agent resource
aws_subnet.alb resource
aws_subnet.cpx resource
aws_subnet.proxy resource
aws_subnet.windows resource
aws_vpc.this resource
aws_availability_zones.available data source
aws_route53_zone.this data source

Inputs

Name Description Type Default Required
agent_hdd_size_gb The HDD size for agents number n/a yes
agent_instance_type The instance type for the agents string n/a yes
agent_security_rules A map of objects of security rules to apply to the Kasm WebApp server
map(object({
from_port = number
to_port = number
protocol = string
}))
{
"https": {
"from_port": 443,
"protocol": "tcp",
"to_port": 443
}
}
no
agent_vpc_cidr Subnet CIDR range for Agent VPC string n/a yes
anywhere Anywhere subnet for routing and load ingress from all IPs string "0.0.0.0/0" no
aws_domain_name The Route53 Zone used for the dns entries. This must already exist in the AWS account. (e.g dev.kasm.contoso.com). The deployment will be accessed via this zone name via https string n/a yes
aws_key_pair The name of an aws keypair to use. string n/a yes
aws_region The AWS region for the deployment. (e.g us-east-1) string n/a yes
aws_ssm_instance_profile_name The name of the SSM EC2 Instance Profile to associate with Kasm VMs for SSH access string "" no
cpx_hdd_size_gb The HDD size for Kasm Guac RDP nodes number n/a yes
cpx_instance_type The instance type for the cpx RDP nodes string n/a yes
cpx_security_rules A map of objects of security rules to apply to the Kasm Connection Proxy server
map(object({
from_port = number
to_port = number
protocol = string
}))
{
"https": {
"from_port": 443,
"protocol": "tcp",
"to_port": 443
}
}
no
default_egress Default egress security rule for all security groups
map(object({
from_port = number
to_port = number
protocol = string
cidr_subnets = list(string)
}))
{
"all": {
"cidr_subnets": [
"0.0.0.0/0"
],
"from_port": 0,
"protocol": "-1",
"to_port": 0
}
}
no
ec2_ami The AMI used for the EC2 nodes. Recommended Ubuntu 20.04 LTS. string n/a yes
kasm_build The URL for the Kasm Workspaces build string n/a yes
management_region_nat_gateway A list Kasm management region NAT gateways to allow Webapps ingress on 4902 to Kasm Windows agent string n/a yes
manager_token The password for the database. No special characters string n/a yes
num_agents The number of Agent Role Servers to create in the deployment number n/a yes
num_cpx_nodes The number of cpx Role Servers to create in the deployment number n/a yes
num_proxy_nodes The number of Dedicated Proxy nodes to create in the deployment number 2 no
project_name The name of the deployment (e.g dev, staging). A short single word string n/a yes
proxy_hdd_size_gb The HDD size for Dedicated Proxy nodes number n/a yes
proxy_instance_type The instance type for the dedicated proxy nodes string n/a yes
proxy_security_rules A map of objects of security rules to apply to the Kasm WebApp server
map(object({
from_port = number
to_port = number
protocol = string
}))
{
"https": {
"from_port": 443,
"protocol": "tcp",
"to_port": 443
}
}
no
public_lb_security_rules A map of objects of security rules to apply to the Public ALB
map(object({
from_port = number
to_port = number
protocol = string
}))
{
"http": {
"from_port": 80,
"protocol": "tcp",
"to_port": 80
},
"https": {
"from_port": 443,
"protocol": "tcp",
"to_port": 443
}
}
no
service_registration_token The service registration token value for cpx RDP servers to authenticate to webapps. No special characters string n/a yes
swap_size The amount of swap (in MB) to configure inside the compute instances number n/a yes
web_access_cidrs List of Networks in CIDR notation for IPs allowed to access the Kasm Web interface list(string)
[
"0.0.0.0/0"
]
no
windows_security_rules A map of objects of security rules to apply to the Kasm Windows VMs
map(object({
from_port = number
to_port = number
protocol = string
}))
{
"api": {
"from_port": 4902,
"protocol": "tcp",
"to_port": 4902
},
"rdp": {
"from_port": 3389,
"protocol": "tcp",
"to_port": 3389
}
}
no

Outputs

No outputs.