I’ve successfully setup a production setup using 1 controller and 1 worker in a public subnet. Access to the controller is then granted through a Network Load Balancer. I can connect through the Boundary Desktop if I’m on a VM within that subnet, however I can’t figure out how to use Boundary successfully from my own home laptop.
My controller config is as follows:
controller {
name = "boundary-1"
description = "Boundary Controller"
public_cluster_addr = "<EC2 public IP>:9201"
database {
url = "Database URL"
}
}
# API listener configuration block
listener "tcp" {
address = "0.0.0.0:9200"
purpose = "api"
tls_disable = true
cors_enabled = true
cors_allowed_origins = ["*"]
}
# Data-plane listener configuration block (used for worker coordination)
listener "tcp" {
address = "0.0.0.0:9201"
purpose = "cluster"
tls_disable = true
}
My worker config:
listener "tcp" {
purpose = "proxy"
address = "0.0.0.0"
tls_disable = true
}
worker {
public_addr = "<EC2 public IP>:9202"
name = "worker"
description = "Boundary Worker"
controllers = [
"<controller private address>"
]
}
I have no issues authenticating with the controller through the Boundary Desktop or listing targets, however when I try to connect it returns a “Error: Would you like to retry?”. I assume it’s some configuration on the worker I’m missing.
Any help would be greatly appreciated…