Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best PAAS platform for play framework 2.1.

Trying to figure out which is the best platform for deploying play 2.1. I tried openshift diy cartrige, but it looks openshif diy cartridge is not production ready yet. I get disclaimer " This is an experimental cartridge that provides a way to try unsupported languages, frameworks, and middleware on Openshift." Does this mean i cannot use for production ?

I am have started evaluation amazon ec2. Any other option or recommendation ? What is the most popular paas for Play framwork ?

like image 928
Jiten Gupta Avatar asked Mar 24 '23 15:03

Jiten Gupta


2 Answers

Heroku is great to get started and can scale quite a bit. There is close to no lock-in (most of their addons work flawlessly outside of Heroku) and when the time is right you can just deploy to EC2 or even use both concurrently to have easy burstability (just spin up 20 workers when you expect to get hit hard).

Heroku hosts on EC2 east as far as I know and is imho the easiest way to get started.

EC2 is obviously more "robust" but you are on your own. Heroku is git push to deploy, EC2 is "give me a full OS image".

Engineyard helps you to deploy to EC2 and provides other nice things as alerts and customer support at roughly 20% ontop of EC2 costs.

There is tons of stuff in between but I like this route. Get the prototype up at Heroku, scale as much as possible there and when you grow too big to just use this format or need more granular control, go to EC2 (via engineyard if you don't have some DevOps wizards)

p.s.: The "best" platform is and will always be your own data-center. Doubtful you are at that level nor need that level of control. So you don't need best, you probably want "easiest to use and scalable"

like image 120
mmlac Avatar answered Apr 25 '23 17:04

mmlac


"There ain't no silver bullet..."

Update : It depends greatly on your application, its load, your budget, your skills, your frequency of deployments. So it's hard to tell.

From my experience:

  • Heroku : easy deployment, easy to integrate external services (databases etc..) but expensive
  • OpenShift: not officially supported for production (you can vote for support)
  • Cloudbees: you get a continuous integration system but hard to predict the cost
  • Self hosted: harder to deploy, more maintenance, but cheaper
like image 29
ndeverge Avatar answered Apr 25 '23 16:04

ndeverge