I was looking into putting the repo containers in ...
# ask-community
o
I was looking into putting the repo containers in ECS behind an ALB with GRPC. Has anyone does this successfully?
dagster bot responded by community 1
🤖 1
v
Why do you wanna put them behind an ALB? I have mine behind cloudmap with servicediscovery, that way they’re not exposed outside the VPC
b
also doing service discovery here
o
tried to avoid sidecars which I think is required with service discovery
b
i dont think it is - or i missed something. it’s just a config i had to terraform for the ecs service.
v
She’s correct, no sidecars on my config either
o
so ALB would be private. I also can have non-fargate containers with diff. ports because we are avoiding fargate as a company standard and I believe fargate keeps it as a single port (4000) when using service discovery.
oh good. but both of you are using fargate?
if having 1 service using fargate allows me to do all without sidecars i might be able to convince others....
b
yep!
i’m using fargate
o
ok well let me see about fargate, then using service discovery and using the cloud map endpoint without sidecar.
thank you very much