Questions tagged [app-engine-flexible]

App Engine Flexible 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 Node.js, Ruby, Java, Python, Go and PHP.

Learn more about App Engine Flexible. App Engine allows developers to focus on doing what they do best, writing code. Based on Google Compute Engine, the App Engine flexible environment automatically scales your app up and down while balancing the load. Microservices, authorization, SQL and noSQL databases, traffic splitting, logging, search, versioning, security scanning, memcache, and content delivery networks are all supported natively. In addition, the App Engine flexible environment allows you to customize your runtime and even the operating system of your virtual machine using Docker.

467 questions
3
votes
1 answer

Spring Boot apps keep restarting on App Engine Flexible

I have a couple of Spring Boot services that work perfectly locally but they restart after random time on Google App Engine Flexible. These services use google Cloud SQL and Pub/Sub with help of the Spring Boot libraries. When I deploy the services…
3
votes
2 answers

django on app engine does not render templates in sub directories

Someone flagged this as a duplicate - it is not a duplicate of the question they linked to for the following reasons. First I’m not getting 404 errors for every url. I get some templates and not others, I get all of the templates at the top level of…
3
votes
2 answers

Error deploying java google app engine flexible application - Timed out waiting for the app infrastructure to become healthy

Writing this issue as I have no idea how to investigate it. We're having problems in deploying an app engine flexible application. The problem is, that the only error we get is the following: GCLOUD: ERROR: (gcloud.app.deploy) Error Response: [4]…
3
votes
1 answer

How do I add HSTS headers to my nginx / react app on app engine flex?

I've got a react app running via nginx on app engine flexible environment, using a custom domain and SSL, and I'd like to add HSTS headers. I know from what resources i could find that my application code itself needs to serve the headers, rather…
phlare
  • 318
  • 3
  • 11
3
votes
2 answers

Google App Engine API + static architecture

I'm trying to (con)figure the best way to structure a JS client + NodeJS server app to host it on Google Cloud AppEngine (plus possibly other GCP resources). So I'm looking for advice / best practices here. We have an API server running on a…
3
votes
1 answer

Error with App Engine split health checks

I am unable to deploy my App Engine Flex Python project with split health checks. I have enabled health checks: $ gcloud beta app describe ... featureSettings: splitHealthChecks: true Using the docs as a model, my app.yaml has: readiness_check: …
3
votes
2 answers

Google app engine to run Shell Script files

Is it possible to run Shell Script files in google app engine? Like by using Process proc = Runtime.getRuntime().exec("xxx/xxx/xxx/kishan.sh "); //Whatever you want to execute? There is whitelist on google app engine documentation which lists…
3
votes
1 answer

NDB JsonProperty and Cloud Datastore library compatibility

I have code running on Standar GAE using NDB and code running in flexible env using Google Cloud datastore library. Both accessing to the same entities. I have problems dealing with ndb.JsonProperty. As far as I read those properties are stored as…
3
votes
1 answer

GAE - PHP sessions not working

I have an web app hosted using Google App Engine, and it uses PHP sessions to check if the user is logged in, etc. session_start() is present in all scripts, through a config.php script that is included in all of them. The application works with…
3
votes
3 answers

"No project ID could be determined from the Cloud SDK configuration" when running psqworker

When I was going through the Google Cloud tutorial: https://cloud.google.com/python/getting-started/using-pub-sub#running_the_app_on_your_local_machine I got the following error: google.auth._default No project ID could be determined from the Cloud…
rara
  • 29
  • 1
  • 1
  • 6
3
votes
1 answer

How to restrict public access to google app engine flexible environment?

I have many microservices in app engine only for internal use. But, by default, app engine opens service-project.appspot.com domain to public, and anyone can access them via http or https. Is there a way to restrict access only for certain IP…
essis
  • 77
  • 8
3
votes
1 answer

Why does it take so long to deploy a nodejs app on GAE flex vm?

It always takes more than 5-6 minutes to update a GAE node app with a new version. I am probably doing something wrong and not sure how I can speed up deployments?
3
votes
1 answer

Why won't Google app engine observe my health check interval?

I am using Google App Engine Flexible environment (Node.js) I have my own custom healthcheck implementation, however it is getting run every single second rather than the 8 seconds I have configured below. Since my healthcheck does some things that…
1977
  • 2,580
  • 6
  • 26
  • 37
3
votes
1 answer

Attach GPU to App Engine Flexible Environment

I am using App Engine to build an API with workers to do Keras-related tasks in the background. Due to the nature of Keras, it is more efficient to use a GPU instead of CPU to do some of deep learning work. I understand that I can use GPU and attach…
Afeez Aziz
  • 1,337
  • 2
  • 12
  • 26
3
votes
1 answer

Google App Engine Flexible - environment variables

if I have my circle-ci deplying to google with e.g. 'gcloud app deploy app.yaml' is there a simple way I can pass a dev / prod variable and have it replaced in my app.yml file below ? Sure, I could have multiple app.dev.yml, app.dev.yml files etc…
1977
  • 2,580
  • 6
  • 26
  • 37