hosting multiple apps under single google account in GAE - google-app-engine

is it possible to host multiple apps in GAE using single google account.

You can host as many as ten application on GAE for a single account for free. Each application can have n number of serving version provided they don't go beyond free usage quota. To know more about free usage quota in GAE. You can have a look here

As far as I remember you can have max 10 projects per account in your appengine. The trick is you can configure your applications to communicate with each other and exchange data through some REST integration they way most web services work either xml or json are solid solutions for the proble. Send more specific inquiries if you have.

Related

Does google cloud app engine support tomcats default 200 threads?

I was wondering how many threads can app engine support since I need it to calculate how many WebSocket connections I can support per instance.
Somewhere I read there are no threads, somewhere that you can use but no max number listed.
So can a single app engine instance support for example tomcats default 200 threads?
And if not what GCP service do you recommend for hosting such an app?
To create a connection with websocket you can have a look at this documentation.
And about the number of thread limits, you can specify by defining max_concurrent_requests as discussed in similar thread. It is also defined in the document, that the maximum limit of max_concurrent_requests is 1000.
If you are willing to check on other services provided by GCP, you can choose Cloud run or Google Kubernetes engine for containerized applications as mentioned here and also you can consider an option of installing tomcat on virtual machine.

Hosting web applications on GAE using several free tier

I have several web applications, and I would like to host them on Google App Engine. Recently, it seems to me the pricing has changed and the free tier is now based on quotas. I have thought about the following:
Considering the applications requirements and the new quotas, the free tier on GCP should allow me to freely host only one webapp. What about giving to each of my clients a billed GCP account, and hosting his webapp on his own google project using his account, to get as many free tier as webapps ? Am I missing something ?
The standard runtime apps on app engine free tier have always been quota-based https://stackoverflow.com/a/35590492/2295256 and that applies to each app engine app per project.
If you're on app engine standard, it shouldn't matter much as each project is entitled to a free tier. The number of projects per account is limited though but can be increased upon request.

Selecting right server in google compute engine for social networking site

I've created a social networking website with the following:
FrontEnd: Java for web site and hybrid app for mobile.
Web Service: Java web service which returns JSON object.
BackEnd: Neo4j(nosql, graph based database).
I've decided to host this application in any cloud server. After all research I've decided to go with google compute engine. I'm expecting to receive 10 million concurrent users. Since this is a social networking website, the user will upload photos, Like, comments, blogs, chat and etc. My region is going to be Asia/Pacific. Google does provide pricing calculator. Please find the link below:
Click Here for Compute Engine pricing calculator
However I do not know what configuration is required to handing these much of traffic. Please if any one of you have used google compute engine, please help me in selecting the right Servers, Persistent Disk, Load Balancing and GCE Network Bandwidth in Compute Engine Section from the above link. So that I can estimate the cost I need to spend per month.
Thanks for your help in advance.
Nobody can estimate the cost but you. We do not know how well the application was developped and how you use your resources.
Deploy your application on the Google Cloud, build a performance test plan (see tools like JMeter, LoadRunner etc) and test your different assumptions (type of VM, type of disk).
Use monitoring tools (Google Compute Engine now comes with one) to measure anything you need to know (bandwidth, CPU usage and whatnot).This will allow you to estimate the cost.
That way, you will know how much each option costs and will be able to make your own informed decision.

Deploying multiple applications on google app engine and amazon aws

Can i develop multiple applications on Google app engine or Amazon AWS??
Does it violate any of the Google app engine and Amazon AWS rules??
Plz advice me on this topic
Yes, you can have multiple applications. But for Google there is a limit of 10 applications per developer. In Amazon there is no limit (other than capacity) of number of servers you can buy and no one really asks how many applications are there, unless you perform illegal actions with it (eg. spam).
on Google AppEngine you can't use multiple applications as a way to avoid fees for you application.
So your applications should be different, and you can't deploy many instances of the same application so you get more 'free' allocation.
From the GAE terms of service
4.4. You may not develop multiple Applications to simulate or act as a single Application or otherwise access the Service in a manner
intended to avoid incurring fees.

Hosting/transferring a web site on Google App Engine

I have my website currently hosted on paid server, but i want to transfer it on GAE.
How can i do it? Can anyone please help me in this case.I'd appreciate your help.
Thanks:)
1) First you will have to adapt your website to the GAE framework (python with django or the new Java environment). You can test your work by downloading the SDK of GAE which offer a local server.
2) Then create an account on appengine.google.com and upload your application on something.appspot.com, test it.
3) If you have a domain name, create a google apps account on this domain, and finally bind this domain with your GAE website. Here is the Google doc.
If it is just a static website which does not need server side scripts or a database, then you might want to look into Google Sites instead of Appengine. You can find out more about Sites here: http://www.google.com/sites/help/intl/en/overview.html
If you do have some server side logic going on, you will need to convert it to either python or java and convert your relational database to Google's Data API which does not support the SQL your current database uses. You can read more about the APIs and what is supported with the Data API and tutorials at: http://code.google.com/appengine/
In response to sanorita's comment "Actually, it's generated html and not plain html. and google appengine is for static data... right?":
AppEngine can host static data, but that is far from its intent.
The purpose of AppEngine is to allow developers to easily deploy their dynamic applications on Google's infrastructure. In the end, assuming you have programmed your app in effective ways to handle scaling (basically just noting that writes to the database are expensive, and contention is the root of all evil) you can handle nearly any amount of traffic.

Resources