Hosting, deploying and running web applications in the cloud

So far, I have read some blog articles about cloud computing and services for hosting apps in a grid.

If I wanted to have a web application running in the cloud as little as possible, how much better would that be?

Let's assume the following configuration:

  • J2EE Web Application
  • Any free database (MySQL, PostgreSQL)
  • Any web container for deploying a web application for

What application stack would you suggest as the best combination of services for

  • host
  • expand
  • run

web applications?

As an additional requirement, the selected services should not require much to manage the server like firewall settings, etc.

+1


source to share


3 answers


This space is changing very quickly right now, so I think you will find many different good answers. If I'm doing something cheap anywhere right now, I would choose the following stack:

  • Web server: apache
  • Application Server: tomcat - use clustering support if you need to grow or split into apache layer or even introduce a load balancing unit at the very front
  • DB Server: MySql - mainly because it is easy to cluster
  • Platform: scalr - Setting up a cloud is easy and cheap. It uses Amazon cloud on the backend and it gives you a lot of additional features like hosting servers in different datacenters for redundancy.


Now you can add or remove parts of this. Maybe you don't need the web tier and can just expose tomcat directly. You may need an EJB, in which case you can just start more nodes for that and create another layer. You can add a layer for load balancing in front of apache. You can use Amazon's cloud service to have static files go to their edge network.

+1


source


I recently researched Amazon ec2 solution . It's not bad, and there are many ready-made boxes you can use if you find one that works for you. I think there will still be some kind of server control ... you can't get away from that. But pre-built crates will make it easier.

The cost is reasonable as you only pay for what you use.



[EDIT] The pre-installed boxes are called Amazon Machine Imaging (AMI).

+1


source


I think you cannot come close to Jelastic . It has everything that @carons mentioned. I specifically mentioned their unique web console and they don't have any dependency for any API or console to be installed. I use my platform for many clients for my startup. Plus, you get nginx support for load balancing and configuration right from the console.

0


source







All Articles