ECS Patterns missing Service Connect configuration #34583
atomicHamsters
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm building IaC for a web application in ECS comprised of multiple services communicating via Service Connect. The client service, which still uses Service Connect to make database calls, is behind a public ALB.
For back-end services, the FargateService construct provided a configuration property to enable Service Connect. So far so good.
ApplicationLoadBalancedFargateService looked like the perfect shortcut to create the client service, but it only has configuration options for Cloud Map Service Discovery. (https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_ecs_patterns/ApplicationLoadBalancedFargateService.html)
It seems weird to have Service Discovery but not Service Connect, especially since FargateService supports both. Upon further investigation, Service Discovery is the only available option for other ECS Pattern constructs too. Am I missing something? Is there a reason why Service Connect configuration isn't included in ECS patterns?
Beta Was this translation helpful? Give feedback.
All reactions