Skip to content

Support AWS gateways with ALB without certificate - #4219

Merged
jvstme merged 1 commit into
masterfrom
issue_3924_alb_gateways_without_certificate
Aug 27, 2026
Merged

Support AWS gateways with ALB without certificate#4219
jvstme merged 1 commit into
masterfrom
issue_3924_alb_gateways_without_certificate

Conversation

@jvstme

@jvstme jvstme commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Previously, dstack allowed to create AWS gateways
with an Application Load Balancer (ALB) if the
gateway configuration specified
certificate: { type: acm, ... }.

Now, it is also possible to create gateways with
ALB but without a certificate, using the new
load_balancer configuration property.

type: gateway
name: example-gateway
backend: aws
region: eu-west-1
domain: example.com
load_balancer:
  type: alb
certificate: null

certificate: { type: acm, ... } still implies an ALB for compatibility with existing
configurations, although the docs now suggest to
specify both load_balancer and certificate for explicitness.

type: gateway
name: example-gateway
backend: aws
region: eu-west-1
domain: example.com
load_balancer:
  type: alb
certificate:
  type: acm
  arn: arn:aws:acm:eu-west-1:164099421079:certificate/3670388f-f43b-4872-aaf8-907b107a170d

#3924

Previously, dstack allowed to create AWS gateways
with an Application Load Balancer (ALB) if the
gateway configuration specified
`certificate: { type: acm, ... }`.

Now, it is also possible to create gateways with
ALB but without a certificate, using the new
`load_balancer` configuration property.

```yaml
type: gateway
name: example-gateway
backend: aws
region: eu-west-1
domain: example.com
load_balancer:
  type: alb
certificate: null
```

`certificate: { type: acm, ... }` still implies an
ALB for compatibility with existing
configurations, although the docs now suggest to
specify both `load_balancer` and `certificate` for
explicitness.

```yaml
type: gateway
name: example-gateway
backend: aws
region: eu-west-1
domain: example.com
load_balancer:
  type: alb
certificate:
  type: acm
  arn: arn:aws:acm:eu-west-1:164099421079:certificate/3670388f-f43b-4872-aaf8-907b107a170d
```
@jvstme
jvstme requested a review from r4victor August 26, 2026 13:40
@jvstme
jvstme merged commit 260060c into master Aug 27, 2026
27 checks passed
@jvstme
jvstme deleted the issue_3924_alb_gateways_without_certificate branch August 27, 2026 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants