Skip to content

Commit 23861c7

Browse files
[lakebox] Default staging SSH gateway to ue1.s.dbrx.dev (#5289)
us-east-1 is the staging region where the SSH gateway is reachable in practice; uw2.s.dbrx.dev does not have a routable lakebox listener. Users targeting a different staging region can still override with --gateway. Co-authored-by: Isaac ## Changes <!-- Brief summary of your changes that is easy to understand --> ## Why <!-- Why are these changes needed? Provide the context that the reviewer might be missing. For example, were there any decisions behind the change that are not reflected in the code itself? --> ## Tests <!-- How have you tested the changes? --> <!-- If your PR needs to be included in the release notes for next release, add a separate entry in NEXT_CHANGELOG.md as part of your PR. --> Co-authored-by: shuochen0311 <shuo.chen@databricks.com>
1 parent 9439c8a commit 23861c7

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

cmd/lakebox/ssh.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,14 @@ import (
1616

1717
const (
1818
defaultGatewayHost = "uw2.dbrx.dev"
19-
stagingDefaultGatewayHost = "uw2.s.dbrx.dev"
19+
stagingDefaultGatewayHost = "ue1.s.dbrx.dev"
2020
defaultGatewayPort = "2222"
2121
)
2222

2323
// resolveGatewayHost picks the SSH gateway hostname based on the workspace host.
2424
// Staging workspaces (*.staging.cloud.databricks.com etc.) route through
25-
// uw2.s.dbrx.dev; everything else uses prod uw2.dbrx.dev.
25+
// ue1.s.dbrx.dev; everything else uses uw2.dbrx.dev. Both are dev-tier
26+
// listeners (`.dbrx.dev`); there is no prod listener yet.
2627
func resolveGatewayHost(workspaceHost string) string {
2728
if strings.Contains(workspaceHost, ".staging.") {
2829
return stagingDefaultGatewayHost

0 commit comments

Comments
 (0)