Skip to content

Support replicated AWS gateways with ACM - #4071

Draft
jvstme wants to merge 1 commit into
masterfrom
issue_3959_replicated_alb_gateways
Draft

Support replicated AWS gateways with ACM#4071
jvstme wants to merge 1 commit into
masterfrom
issue_3959_replicated_alb_gateways

Conversation

@jvstme

@jvstme jvstme commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Gateways with an ACM certificate can now have more than one replica.

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

Load balancing across gateway replicas is
performed by a single ALB associated with the
gateway.

$ dstack gateway list
 NAME               BACKEND          HOSTNAME                                                  DOMAIN       DEFAULT  STATUS
 little-sloth                        dstack-qe1na76o-lb-187858581.eu-west-1.elb.amazonaws.com  example.com           running
    replica=0       aws (eu-west-1)  18.202.25.65                                                                    running
    replica=1       aws (eu-west-1)  3.255.100.238                                                                   running

#3959

Gateways with an ACM certificate can now have more
than one replica.

```yaml
type: gateway
backend: aws
region: eu-west-1
domain: example.com
certificate:
  type: acm
  arn: arn:aws:acm:eu-west-1:164099421079:certificate/3670388f-f43b-4872-aaf8-907b107a170d
replicas: 2
```

Load balancing across gateway replicas is
performed by a single ALB associated with the
gateway.

```shell
$ dstack gateway list
 NAME               BACKEND          HOSTNAME                                                  DOMAIN       DEFAULT  STATUS
 little-sloth                        dstack-qe1na76o-lb-187858581.eu-west-1.elb.amazonaws.com  example.com           running
    replica=0       aws (eu-west-1)  18.202.25.65                                                                    running
    replica=1       aws (eu-west-1)  3.255.100.238                                                                   running
```
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.

1 participant