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
50
votes
11 answers

How do I write to the console in Google App Engine?

Often when I am coding I just like to print little things (mostly the current value of variables) out to console. I don't see anything like this for Google App Engine, although I note that the Google App Engine Launcher does have a Log terminal. Is…
Stephen Cagle
  • 14,124
  • 16
  • 55
  • 86
50
votes
4 answers

App engine default Django version change

Since app engine 1.4.2 was released, I am getting warnings like this in my production logs: You are using the default Django version (0.96). The default Django version will change in an App Engine release in the near future. Please call…
Saxon Druce
  • 17,406
  • 5
  • 50
  • 71
50
votes
7 answers

Does Google App Engine support Python 3?

I started learning Python 3.4 and would like to start using libraries as well as Google App Engine, but the majority of Python libraries only support Python 2.7 and the same with Google App Engine. Should I learn 2.7 instead or is there an easier…
Ogre_love
  • 503
  • 1
  • 4
  • 4
50
votes
2 answers

GWT and Google Cloud Endpoints

A few days ago I've started developing a Backend for Mobile Applications using Google App Engine and Google Cloud Endpoints. This tutorial shows how the endpoints are getting generated automatically, as well as the client library for Android. So we…
Johannes Staehlin
  • 3,680
  • 7
  • 36
  • 50
49
votes
1 answer

Google App Engine Remote API does not work from local client

This is using the Python SDK version 1.8.0. My remote API works fine using remote_api_shell.py, but doesn't work when trying to accessing from within a python script. I'm using the sample code from google: from google.appengine.ext.remote_api…
drewlio
  • 767
  • 1
  • 6
  • 10
49
votes
7 answers

Python- How to flush the log? (django)

I'm working with Django-nonrel on Google App Engine, which forces me to use logging.debug() instead of print(). The "logging" module is provided by Django, but I'm having a rough time using it instead of print(). For example, if I need to verify the…
48
votes
7 answers

How to permanently redirect `http://` and `www.` URLs to `https://`?

I have a Google App Engine project. On this project I have setup a custom domain and an SSL certificate. Therefore, I can use https://www.mysite.xxx, http://www.mysite.xxx and just the naked domain mysite.xxx. Is it possible to permanently redirect…
Chez
  • 961
  • 1
  • 9
  • 20
48
votes
4 answers

List of all the App Engine images service get_serving_url() URI options

In response to another question, a commenter mentioned an undocumented URI option I was not aware of to flip images horizontally/vertically with the App Engine images service. The documentation mentions a few basic options: =s0 — fullsize =s640 —…
Taylor Hughes
  • 1,963
  • 2
  • 15
  • 14
48
votes
13 answers

What alternatives are there to Google App Engine?

What alternatives are there to GAE, given that I already have a good bit of code working that I would like to keep. In other words, I'm digging python. However, my use case is more of a low number of requests, higher CPU usage type use case, and…
Chris Marasti-Georg
  • 34,091
  • 15
  • 92
  • 137
48
votes
4 answers

Basic File upload in GWT

I'm trying to figure out how to upload one file using GWTs FileUpload widget. I'm using GWT and Google AppEngine with Java but I would like to upload file to my own Linux server. I have the following code already but now I can't figure out how to…
Maksim
  • 16,635
  • 27
  • 94
  • 135
47
votes
2 answers

Go, AppEngine: How to structure templates for application

How are people handling the use of templates in their Go-based AppEngine applications? Specifically, I'm looking for a project structure that affords the following: Hierarchical (directory) structure of templates and partial templates Allow me to…
laslowh
  • 8,482
  • 5
  • 34
  • 45
47
votes
9 answers

502 Bad Gateway with nginx | Google App Engine | Node JS

I am hosting the web app on Google Cloud Platform with App Engine and I am using ExpressJS and MongoDB, which is hosted on mLab. Everything worked well until 1/1/2017. I had vm:true before and now was forced to change the env to flex. Now I am…
NodejsNewbie
  • 471
  • 1
  • 4
  • 3
47
votes
1 answer

Output request parameter by template

Is it correct to say that there is no simple tag that just writes some http get query parameter? If all needed is printing a http get query parameter e.g. ?q=w can I directly use the value q with a template tag or need the copy the value in the…
Niklas Rosencrantz
  • 25,640
  • 75
  • 229
  • 424
47
votes
19 answers

Delete all data for a kind in Google App Engine

I would like to wipe out all data for a specific kind in Google App Engine. What is the best way to do this? I wrote a delete script (hack), but since there is so much data is timeout's out after a few hundred records.
user8548
  • 483
  • 1
  • 4
  • 8
46
votes
3 answers

How do I use url_for if my method has multiple route annotations?

So I have a method that is accessible by multiple routes: @app.route("/canonical/path/") @app.route("/alternate/path/") def foo(): return "hi!" Now, how can I call url_for("foo") and know that I will get the first route?
jiggy
  • 3,828
  • 1
  • 25
  • 40