Questions tagged [google-app-engine]

Google App Engine is a cloud computing technology for hosting web applications in Google-managed data centers. Google App Engine is a Platform as a Service (PaaS) offering for Java, Python, Go, Node.js, and PHP in its standard environment. Runtimes for a few other languages as well as docker-based custom runtimes are supported in its flexible environment.

Google App Engine is a cloud computing technology for hosting web applications in Google-managed data centers.

Google App Engine lets you run your web applications on Google's infrastructure; applications are easy to build, easy to maintain, and easy to scale as your traffic and data storage needs grow:

  • Zero to sixty: Scale your app automatically without worrying about managing machines.
  • Supercharged APIs: Supercharge your app with services such as Task Queue, XMPP, and Cloud SQL, all powered by the same infrastructure that powers the Google services you use every day.
  • You're in control: Manage your application with a simple, web-based dashboard allowing you to customize your app's performance.

With App Engine, there are no servers to maintain: You just upload your application, and it's ready to serve your users.

Google App Engine makes it easy to build and deploy an application that runs reliably even under heavy load and with large amounts of data. It includes the following features:

  • Persistent storage with queries, sorting, and transactions.
  • Automatic scaling and load balancing.
  • Asynchronous task queues for performing work outside the scope of a request.
  • Scheduled tasks for triggering events at specified times or regular intervals.
  • Integration with other Google cloud services and APIs.

As of March 5th, 2012, Stack Overflow is Google's official community support channel for technical App Engine questions under the tag. Developers should continue to use the discussion forum or the StackExchange Software Recommendations sites for topics that are not a good fit for the Stack Overflow format. To report defects, use the App Engine public issue tracker.

Many questions are specific to their SDK for , , or . Please include the appropriate language tag with those questions or use the additional tags like and .

While covers both the standard environment and the flexible environment it may be a good idea to also tag questions specific to the flexible environment with .

More information

Books

46961 questions
91
votes
7 answers

When should one use the following: Amazon EC2, Google App Engine, Microsoft Azure and Salesforce.com?

I am asking this in very general sense. Both from cloud provider and cloud consumer's perspective. Also the question is not for any specific kind of application (in fact the intention is to know which type of applications/domains can fit into which…
user32262
  • 8,660
  • 21
  • 64
  • 77
90
votes
8 answers

Why use Django on Google App Engine?

When researching Google App Engine (GAE), it's clear that using Django is wildly popular for developing in Python on GAE. I've been scouring the web to find information on the costs and benefits of using Django, to find out why it's so popular. …
Travis Bradshaw
  • 4,272
  • 3
  • 22
  • 20
87
votes
7 answers

Converting byte array to String (Java)

I'm writing a web application in Google app Engine. It allows people to basically edit html code that gets stored as an .html file in the blobstore. I'm using fetchData to return a byte[] of all the characters in the file. I'm trying to print to an…
Josh
  • 871
  • 1
  • 6
  • 4
87
votes
7 answers

How to browse local Java App Engine datastore?

It seems there is no equivalent of Python App Engine's _ah/admin for the Java implementation of Google App Engine. Is there a manual way I can browse the datastore? Where are the files to be found on my machine? (I am using the App Engine plugin…
Jim Blackler
  • 22,946
  • 12
  • 85
  • 101
86
votes
10 answers

Built in Python hash() function

Windows XP, Python 2.5: hash('http://stackoverflow.com') Result: 1934711907 Google App Engine (http://shell.appspot.com/): hash('http://stackoverflow.com') Result: -5768830964305142685 Why is that? How can I have a hash function that will give me…
sm1
86
votes
14 answers

JSON serialization of Google App Engine models

I've been searching for quite a while with no success. My project isn't using Django, is there a simple way to serialize App Engine models (google.appengine.ext.db.Model) into JSON or do I need to write my own serializer? Model: class…
user111677
  • 951
  • 1
  • 7
  • 9
85
votes
5 answers

Is there possibility to host multiple applications with Google App Engine?

Do I need to create for each new Google App Engine app new project? Or is there other way to have multiple apps in one project? EDIT: removed "extra question"
Maksim Luzik
  • 5,863
  • 4
  • 36
  • 57
84
votes
20 answers

Visual Studio Code pylint: Unable to import 'protorpc'

I'm using pylint in Visual Studio Code to develop a Google App Engine (GAE) Cloud Endpoint API in Python. I'm unable to resolve a lint error. I don't know what's causing the error, but at a guess, pylint cannot find the protorpc library? The…
Jack
  • 10,313
  • 15
  • 75
  • 118
84
votes
10 answers

RESTful application on Google App Engine Java?

I would like to create a RESTful app on Google App Engine. I would like to provide XML and JSON services. I have briefly experimented with Restlet, Resteasy, and Jersey. I haven't had much success with any of them, other than some simple examples in…
JP Richardson
  • 38,609
  • 36
  • 119
  • 151
83
votes
4 answers

Get root password for Google Cloud Engine VM

I just finished installing cPanel in a CentOS VM in Google Cloud Engine and cPanel said the default username is root and the default password is the server's root password. 2016-01-26 12:02:52 958 ( INFO): 3. Enter the word root in the Username…
Melvin M.
  • 3,280
  • 3
  • 15
  • 23
82
votes
8 answers

When to use Google App Engine Flex vs Google Cloud Run

I want to deploy containerized code using one of Google's serverless options. From what I understand Google has two options for this: Google App Engine Flexible Environment Google Cloud Run (in beta) I've watched the 2019 Google Next talk Where…
hlp
  • 1,047
  • 1
  • 9
  • 12
82
votes
12 answers

JDO vs JPA for Java on Google App Engine

I want to develop my project on Google App Engine with Struts2. For the database I have two options JPA and JDO. Will you guys please suggest me on it? Both are new for me and I need to learn them. So I will be focused on one after your…
Tahir
  • 3,344
  • 14
  • 51
  • 69
82
votes
6 answers

How can I parse JSON in Google App Engine?

I'd like to parse a JSON string into an object under Google App Engine (python). What do you recommend? Something to encode/stringify would be nice too. Is what you recommend built in, or a library that I have to include in my app? Is it secure?…
Nogwater
  • 2,777
  • 3
  • 28
  • 28
81
votes
11 answers

Upload files in Google App Engine

I am planning to create a web app that allows users to downgrade their visual studio project files. However, It seems Google App Engine accepts files uploading and flat file storing on the Google Server through db.TextProperty and…
Graviton
  • 81,782
  • 146
  • 424
  • 602
76
votes
7 answers

UnicodeEncodeError: 'ascii' codec can't encode character u'\xef' in position 0: ordinal not in range(128)

I want to parse my XML document. So I have stored my XML document as below class XMLdocs(db.Expando): id = db.IntegerProperty() name=db.StringProperty() content=db.BlobProperty() Now my below is my code parser = make_parser() …
mahesh
  • 4,625
  • 11
  • 42
  • 61