Deploying Web Host Platform Deployment

I am looking for the best way to post my simple projects that I have done in the Play Framework. Developers for Play recommend simply deploying them as standalone rather than using a web application container such as Tomcat, although this can be done.

Are there any good web hosts that can host my game app as standalone?

I suppose this may mean getting a VPS, but I hope for something like a cheap hosting site, and not $ 40 a month for VPS.

I understand that this question may turn out to be slightly above the level, but I think that you can still ask a question here; I am looking for the best way to deploy the code I wrote that anyone will use over the Internet.

+6
source share
4 answers

I myself have not experienced this. But there are several deployment options for your gaming application.

  • Playapps.net is a simplified deployment environment designed to quickly and efficiently use your applications for playback. It was created taking into account the simplicity of the Play platform, and each slot includes all the services necessary to launch your application without problems with starting its own server.

  • Heroku (pronounced her-OH-koo), a cloud-based application platform, is a new way to create and deploy the Program’s network. It supports natively Play, out of the box, without a module, without wars, without unnecessary things, just your regular application.

  • The Play application can be easily deployed to GAE . It is a matter of installing the appropriate GAE module .

  • Simple deployment on the Stax cloud hosting platform : again, nothing could be simpler. Install the Stax module and deploy it in seconds. See the documentation for more information.

Also see deploy documentation

+3
source

I have deployed several applications in both the Google App Engine (GAE) and Heroku.

GAE limits what you can do with Play and creates some trade-offs. So it depends on how simple your project is. If you are using a database, I would not recommend GAE if your application has already been created, since you will need to use a different save level because JPA is not supported.

Geroku is great. It is very easy to use and works just like your localhost version. If your site is simple, with low traffic, then this is great, but it can become quite expensive as it grows.

GAE / Heroku are free for small sites that use limited resources.

If you want cheap, but not free, then PlayApps is the way to go. It was built and designed by Zenexity, who developed Play. PlayFramework.org is also hosted on PlayApps, using the cheapest option of 10 euros per month.

There are several other options, but personally, I would only consider PlayApps.net or Heroku.

+5
source

I advise you to take a look at http://www.playframework-cloud.com

This PaaS platform can automatically scale up and down your application relative to your traffic. You can also fine-tune whether you want to scale vertically, horizontally, or both. The consequence of this scaling is that you pay when you go: you pay only for your real consumption, and not for potential.

Deployment via git.

Non AWS hosted in Tier 4+ data centers.

Free trial;)

+5
source

Take a look at Rackspace Cloud http://www.rackspace.com/cloud/cloud_hosting_products/servers/

You can pick up your main cloud server with a size of 256 MB for about $ 10 per month, which will be enough to run your site if it has low usage. Of course, you will have to administer the server yourself, but it’s very easy to get up and running (just install java, download the game and configure the bin directory on the way).

This option will give you more flexibility (for example, you might want postgreSQL instead of MySQL), although, as I said, you will need to be comfortable doing the admin itself.

+1
source

Source: https://habr.com/ru/post/903055/


All Articles