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
40
votes
5 answers

Is there any way to use gcloud with python3?

I have a little confused about gcloud with python3 After I installed gcloud in python3 env and I tried to example Quickstart for Python in the App Engine Flexible Environment. It said 'You need Google Cloud SDK', so I installed SDK. All the process…
piper
  • 501
  • 1
  • 4
  • 4
40
votes
7 answers

Copy an entity in Google App Engine datastore in Python without knowing property names at 'compile' time

In a Python Google App Engine app I'm writing, I have an entity stored in the datastore that I need to retrieve, make an exact copy of it (with the exception of the key), and then put this entity back in. How should I do this? In particular, are…
Gordon Seidoh Worley
  • 7,839
  • 6
  • 45
  • 82
39
votes
5 answers

Java example of how to log in to Google App Engine with a Facebook account using OAuth

I searched a lot, read many blogs, articles, tutorials, but until now did not get a working example of using a Facebook account to log in to my application. I know that I have to use OAuth, get tokens, authorizations, etc... Can anyone share an…
LeandroRezende
  • 403
  • 1
  • 5
  • 8
39
votes
7 answers

How to host static HTML files on Google App Engine?

Is it possible to host a static HTML website on App Engine? And how to make my domain name work with it?
zotherstupidguy
  • 2,976
  • 10
  • 39
  • 59
39
votes
8 answers

Programming on samsung chromebook

I would like to use my samsung chromebook to develop for app engine using python, unfortunately now it is not possible as I only have browser there. There are online IDE's like codule but they are not good enough yet. So in this regards I have 3…
BanditoBunny
  • 3,658
  • 5
  • 32
  • 40
39
votes
6 answers

GAE: best practices for storing secret keys?

Are there any non-terrible ways of storing secret keys for Google App Engine? Or, at least, less terrible than checking them into source control?
David Wolever
  • 148,955
  • 89
  • 346
  • 502
39
votes
5 answers

Do not have permission to access app while deploying google service account

After creating google service account with permission as shown below - deployment fails with message . I am failing to understand where this is going wrong. ==== $ gcloud iam service-accounts get-iam-policy…
npr
  • 4,325
  • 4
  • 20
  • 30
39
votes
7 answers

ResumableUploadAbortException: 403 Insufficient Permission

I am using Google Cloud Storage and Google Compute Engine and am trying to upload to my bucket from my VM. My bucket has read/write permissions and so does anyone that has access to it. They are labeled as Owner. I can download from my bucket fine.…
39
votes
6 answers

Read a file on App Engine with Python?

Is it possible to open a file on GAE just to read its contents and get the last modified tag? I get a IOError: [Errno 13] file not accessible: I know that i cannot delete or update but i believe reading should be possible Has anyone faced a similar…
PanosJee
  • 3,866
  • 6
  • 36
  • 49
39
votes
2 answers

Configuring use of AppIdentityService on development server

I have an app that currently uses the com.google.appendinge.api.appidentity.AppIdentityService to facilitate authentication & authorization for using the same app's [ie. same account] spreadsheet data via the SpreadsheetService API. Works great in…
Steve
  • 541
  • 5
  • 7
39
votes
3 answers

attribute 'tzinfo' of 'datetime.datetime' objects is not writable

How do I set the timezone of a datetime instance that just came out of the datastore? When it first comes out it is in UTC. I want to change it to EST. I'm trying, for example: class Book( db.Model ): creationTime = db.DateTimeProperty() When…
bobobobo
  • 64,917
  • 62
  • 258
  • 363
39
votes
9 answers

Google App Engine and 404 error

I've setup a static website on GAE using hints found elsewhere, but can't figure out how to return a 404 error. My app.yaml file looks like - url: (.*)/ static_files: static\1/index.html upload: static/index.html - url: / static_dir:…
ctuffli
  • 3,559
  • 4
  • 31
  • 43
38
votes
4 answers

AppEngine warning - OpenBLAS WARNING - could not determine the L2 cache size on this system

I try to deploy application on the GC AppEngine. There are no errors during deploy process but application doesn't work (Just show loading page). The only one strange raw in logs OpenBLAS WARNING - could not determine the L2 cache size on this…
Pizza eu
  • 1,419
  • 1
  • 14
  • 27
38
votes
5 answers

https only in google app engine

I am on a google app engine project now. In my application I have to allow only https protocol. And I have to restrict other protocols. It should allow https only. I have added the below code in web.xml.
DonX
  • 16,093
  • 21
  • 75
  • 120
38
votes
8 answers

AppEngine: Get current serving application version

Is there a simple way to get the current serving application version in AppEngine?
Koen Bok
  • 3,234
  • 3
  • 29
  • 42