-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unclear how to use ecs-patterns NetworkMultipleTargetGroupsEc2Service #6263
Comments
Hi @konstantinj, can you also attach the error log like why this construct doesn't work? The reason why we want this pattern is because it is easier for you to spin up your application if you need multiple LBs or multiple target groups. However, if you only need one LB with one target group. Then To answer your questions:
I don't think the default value for
you can skip setting Load balancer like the example in the README:
Same reason above. If it is just one LB one listener structure then
Yes you can do it by setting your
|
Apologies so to create a TLS listener you can do |
And how does one specify the backend/upstream server? I suppose that's what the target groups are for, but I cannot find any examples. |
This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
In my use case I'm trying to setup Gitlab on ecs with an NLB attached so the ip is static but the LoadBalancer can take the certificate and I don't need to handle that in Gitlab.
❓ General Issue
This is my code:
The Question
First of all the created Loadbalancer is internet-facing while with the other construct NetworkLoadBalancedEc2Service it is private.
publicLoadBalancer
needs to be set to false manually.For setting this I need to fill out
loadBalancers
completely. This way I need to fill out all options below, even aname
for the NLB. I have no idea why this is needed.This way I also need to create listeners since it's a required field.
I think this way it's not possible to create a TLS listener.
I'm not really sure how to use this construct. Also it is not possible to get to the created resources later on using my
service
object. The properties are the ones from the NetworkLoadBalancedEc2Service contruct. I have no idea which listener is meant onservice.listener
.Creating my Gitlab using NetworkLoadBalancedEc2Service only did also not work because of #4283
Environment
The text was updated successfully, but these errors were encountered: