Amazon DCV is high performance remote display protocol that provides a secure way to deliver remote desktop and application streaming from any cloud or data center to any device, over varying network conditions.
Enable DCV Server and Web Client on Windows workspaces.
1module "dcv" { 2 count = data.coder_workspace.me.start_count 3 source = "registry.coder.com/modules/amazon-dcv-windows/coder" 4 version = "1.0.24" 5 agent_id = resource.coder_agent.main.id 6} 7 8 9resource "coder_metadata" "dcv" { 10 count = data.coder_workspace.me.start_count 11 resource_id = aws_instance.dev.id # id of the instance resource 12 13 item { 14 key = "DCV client instructions" 15 value = "Run `coder port-forward ${data.coder_workspace.me.name} -p ${module.dcv[count.index].port}` and connect to **localhost:${module.dcv[count.index].port}${module.dcv[count.index].web_url_path}**" 16 } 17 item { 18 key = "username" 19 value = module.dcv[count.index].username 20 } 21 item { 22 key = "password" 23 value = module.dcv[count.index].password 24 sensitive = true 25 } 26}
Amazon DCV is free to use on AWS EC2 instances but requires a license for other cloud providers. Please see the instructions here for more information.