Question

So far I've read some blog articles about cloud computing and services for hosting applications in the grid.

If I'd wanted to have a web application running in the cloud for as little cost as possible, what would be the best solution?

Let's assume the following configuration:

  • J2EE web application
  • Any free database (MySQL, PostgreSQL)
  • Any web container to deploy the web application to

What application stack would you suggest to be the best combination of services to

  1. host
  2. deploy
  3. run

web applications?

As an additional requirement, the services chosen shouldn't require a lot about server management like firewall settings etc.

Was it helpful?

Solution

This space is changing very quickly right now so I think you will find a lot of different good answers. If I where to do something on the cheap right now I would probably pick the following stack:

  • Web server: apache
  • App server: tomcat - use the clustering support if you need to grow or split at the apache level or even introduce a load balancer box at the very front
  • DB server: MySql - mainly because it is easy to cluster
  • Platform: scalr - The cloud setup is simple and cheap. It uses Amazon's cloud on the backend and that gets you a lot of extras like putting servers in different datacenters for redundancy.

Now you can add in or remove parts of this. You may not need a web tier out there and can just expose tomcat directly. You may need EJBs and in that case you can just fire up more nodes for that and create another tier. You may want to add a tier for load balancing in front of apache. You may want to use the Amazon cloudfront service to push static files to their edge network.

OTHER TIPS

I have investigated Amazon's ec2 solution recently. It is quite good and there are many pre-built boxes that you can use if you find one that suits your need. I think there will still be some server management involved...you cannot get away from that. But the pre built boxes will make it easier.

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

[EDIT] The pre-built boxes are called Amazon Machine Images (AMIs).

I think you can get no where closer to Jelastic. It has all the stuffs that @carson mentioned. Specially I will mention their unique web console and they do not have any dependency for any API or console to be installed. I use their platform for many of the clients for my startup. Also additionally you get a nginx support for load balancing and configuring it right away from the console.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top