right now i am building a play 2 application.I found this activator template https://github.com/knoldus/playing-microservices for a play 2 microservice architecture and i would like to adapt it for my needs and deploy it to AWS.I want to use most of the AWS Infrastructure like ec2/ecs/cloudWatch/s3/rds/dynamoDB..., so i didn't build the application with lagom.Are there any best practises how to build and deploy play 2 microservices directly to aws?
And what is the best way to transfer data from one server to another? Should i talk to the Endpoints of the Load Balancers or is there a better way e.g. with consul and akka remote?
I saw lagom does the service communication with akka and comes with a service locator when you use conductr. is it possible to do something like this in play 2 too?
--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framework+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/d0e0d34a-03d6-4229-8174-feb718a2a496%40googlegroups.com.
I would look into Lagom if you are using microservices.
On Tue, May 2, 2017 at 2:33 PM, Igmar Palsenberg <ig...@palsenberg.com> wrote:
right now i am building a play 2 application.I found this activator template https://github.com/knoldus/playing-microservices for a play 2 microservice architecture and i would like to adapt it for my needs and deploy it to AWS.I want to use most of the AWS Infrastructure like ec2/ecs/cloudWatch/s3/rds/dynamoDB..., so i didn't build the application with lagom.Are there any best practises how to build and deploy play 2 microservices directly to aws?I usually recommend sticking to plain ELB and autoscaling groups. Yes, AWS has container services these days, but IMHO, it adds up to the complexity.And what is the best way to transfer data from one server to another? Should i talk to the Endpoints of the Load Balancers or is there a better way e.g. with consul and akka remote?We use a JMS broker. The biggest issue with AWS is that broadcast / multicast is disabled, so service location is a problem. If you expand over multiple regions, that problem is even worse. We're looking at using a VPC with public IPv6 enabled, to get around all kinds of nasty AWS limitations (All is NAT'ted being one of them).I saw lagom does the service communication with akka and comes with a service locator when you use conductr. is it possible to do something like this in play 2 too?Sure. It usually however needs a "master" or seed node, which makes it harder to work with. You can also do funky stuff with security groups, but that requires doing AWS API calls. It all depends on how complex you want it, and what your application looks like.Igmar
--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framework+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/7626519b-c697-4bcf-9305-431c35de2289%40googlegroups.com.