Support replicated AWS gateways with ACM - #4071
Draft
jvstme wants to merge 1 commit into
Draft
Conversation
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
```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Gateways with an ACM certificate can now have more than one replica.
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