Skip to content
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

Support Akka Cluster that is split over several ECS Fargate services #2675

Open
UrsMetz opened this issue Jul 25, 2024 · 0 comments
Open

Support Akka Cluster that is split over several ECS Fargate services #2675

UrsMetz opened this issue Jul 25, 2024 · 0 comments

Comments

@UrsMetz
Copy link

UrsMetz commented Jul 25, 2024

Is your feature request related to a problem? Please describe.

My team is evaluating Akka Cluster in an AWS Fargate cluster. The different components (that is separate applications running in Fargate) are spread over several Fargate services in the same ECS cluster.

As far as I understand AwsEcsDiscovery currently only covers the scenario where all components (i.e. the applications) are running inside the same Fargate service in different tasks: the lookup procedure searches for Fargate tasks for a specific ECS cluster and service.
I guess that restriction stems from the fact that out of the box network communication in Fargate is only possible for tasks in the same service.

Describe the solution you'd like

We use a modified version of AwsEcsDiscovery that removes the restriction to a Fargate service (but are still evaluating whether that works).
To allow the communication between tasks in different services we set up a hosted zone with internal DNS.

It would be nice if Akka.Management support that scenario out of the box.

Describe alternatives you've considered

The only alternative I currently see is some mixture of AWS queues or notification services (like SNS or SQS) and Akka (like Akka.Streams?). But that would require more infrastructure and makes running our application landscape locally more difficult and/or more distant from the cloud environment.

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

No branches or pull requests

1 participant