Skip to content

A quick example of a working Play Framework application forming an Akka Cluster in a AWS Auto Scaling Group

Notifications You must be signed in to change notification settings

lregnier/play-akka-cluster-aws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Akka Cluster with Play in AWS!

Running the cluster locally

For running the first node just execute below command:

sbt run

The app will be started in default HTTP (9000) and Akka (2551) ports.

For running a second, or consecutive nodes, override default HTTP and Akka ports doing as follows:

sbt "run 9001" -Dakka.port=2552

Running the cluster in AWS

Make sure below option is on, the region matches and configured Akka port is open.

Poking the API

List all nodes in the cluster:

GET /cluster/nodes

Singleton counter among all nodes in the cluster:

POST /cluster/singleton/count

About

A quick example of a working Play Framework application forming an Akka Cluster in a AWS Auto Scaling Group

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published