Install tomcat in google app?

I am new to this idea of ​​cloud computing and started working with the Google engine. I was able to create the base program "hello world".

When I tried to understand the difference between a cloud and a server, I found out that Cloud is the one where you have access to a virtual instance created exclusively for you, and you can freely choose and install the software of your choice.

But I do not see such an option with a Google cloud / application. What if I have a tom-cat based application server that I would like to deploy to the cloud? Will Google support be included, or should I try other cloud service providers like Amazon EC2, hp cloud, etc.

/ DJ

+6
source share
3 answers

The type of cloud you are talking about is called the Infrastructure as a Service area .

OTOH, the Google App Engine, is a platform as a service .

The difference is that IaaS is a collection of virtual machines that you need to configure yourself (OS + application stack), while PaaS usually comes with its own API, where you write an application against the API and the rest (sw stack + scalability).

AppEngine comes with its own servlet container (Tomcat is also a servlet container), so from this point of view you can use your code in AppEngine. But the problem lies elsewhere: AppEngine imposes a set of restrictions on applications:

  • The application must use the databases provided by GAE .
  • The application cannot write to the file system. application
  • cannot have sockets for listening requests
  • should end after 60 seconds (e.g. no comets or web sockets → no click)

You might want to check out the FAQ .

+26
source

To add an excellent answer to Peter, please note that Google also has an IaaS service called the Google Compute Engine .

+12
source

As for other cloud requests, before you start with the cloud, you can try other options. Currently, deploying an application in almost all services is very simple. some of them are Jelastic, Heroku, rackspace, nimbus, openshift, etc.

The difference between the cloud and the server is very well explained already.

Since you mentioned a tomcat-based application, I worked with Jelastic for the same and found it very easy to implement.

Try all possible options, this will help you more.

+2
source

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


All Articles