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
2
votes
1 answer

Diagnosing error in deploying GAE flex app

I've been using GAE flex for awhile now, and all of a sudden my deploy process ends on the command line with: ERROR: (gcloud.app.deploy) Error Response: [4] Flex operation projects/MY-PROJECT/regions/us-central1/operations/xxx error…
new name
  • 15,861
  • 19
  • 68
  • 114
2
votes
1 answer

Detect strange behavior of AppEngine Flexible Java (Deployed but it 's not restart the new deployed version)

I observed this strange behavior for 2 weeks. (15 June 2019) Normally, when I deploy my java-web app on Google App Engine Flexible , it will restart the instance with new app version. But right now, after mvn appengine:deploy finish its process. …
2
votes
1 answer

Is there a way to install packages in app engine once to avoid the long deploy each time?

I need to have ghostscript and ImageMagick available to do some PDF editting and OCR. I have got to the point that I use a Dockerfile but it seems that gcloud app deploy would start from the beginning each time. Is there a way to speed it up by…
2
votes
1 answer

Add multiple cloud-sql-instances to beta-settings in Flexi

I'm trying to add 4 separate sql's to the beta_settings subheading in my app.yaml file for Python3 Flexible App Engine. When I add the set of 4 together, separated by commas like so: beta_settings: cloud_sql_instances: X1, X2, X3, X4 I…
Hews
  • 569
  • 6
  • 19
2
votes
1 answer

Creating google api credentials (from service account with scope and delegated account) with oauth2client

To access GMail API (and personify calls) I'm using a service account (created from Google Cloud Platform). The json file I have looks like this { "type": "service_account", "project_id": "[PROJECT-ID]", "private_key_id": "[KEY-ID]" "private_key":…
2
votes
2 answers

Google cloud platform php application deployment using both environments(Standard & Flexible)

I'm able to deploy php application in google cloud by configuring app.yaml for Standard and Flexible environments separately. 'app.yaml' For Standard Environment: runtime: php55 api_version: 1 threadsafe: true handlers: - url: /.* script:…
2
votes
0 answers

Getting ZONE_RESOURCE_POOL_EXHAUSTED

I'm using Google App Engine Flexible and some kind of rolling restart happened last night and my instance failed right after. Looking at logs, I see this on new instance creation: ZONE_RESOURCE_POOL_EXHAUSTED This appears to be related to this:…
2
votes
1 answer

devDependencies in node js application in flex app engine

in the Standard environment in GAE it stays that devDevependencies from package.json are ignored. But there are no such limitations for the Flexible environment. However, I'm getting parcel not found error while trying to deploy my app to GAE. Here…
user715022
  • 85
  • 4
  • 16
2
votes
2 answers

Deploy ASP.NET Core 2.1 app to Google Cloud App Engine error: bad character range

When I try to publish an ASP.NET Core 2.1 Web Application to Google Cloud Platform App Engine I get the error gcloud crashed (error): bad character range. I publish with the GCP Visual Studio 2017 extension and I get the above error. I publish from…
2
votes
1 answer

Only getting quarter of the memory allocated via app.yaml

We are running a java8/jetty9 setup on appengine flex. In the app.yaml we have allocated 30G of RAM. However in the server, when we call Runtime.getRuntime().maxMemory(), the number returned is ~7G. If I increase the RAM to 60G, this number…
2
votes
1 answer

How to make a service only accessible from another service under the same app engine in google cloud

I have an application deployed to google cloud app engine (flex environment). The application consists of two parts: FrontEnd (Angular) and BackEnd(Spring boot). Each one of these applications is deployed to a different service under the same app…
MA1
  • 926
  • 10
  • 28
2
votes
1 answer

High latency between Client, Google Flex App Engine and Cloud SQL

I have an Google Flex App Engine App that recieves POSTs with JSON data, then performs an insert statement using SQLAlchemy that writes the JSON data to a Cloud SQL database. The latency between POST device (in Dallas) and App Engine (us-east) is…
2
votes
1 answer

Why is "threadsafe: yes" in app.yaml not working on Google App Engine's flexible environment?

On the standard env, we can set up "threadsafe: yes" in app.yaml to enable multiple threading for flask framework in python. Because Google will do anything for us. For flexible env, we need to setup gunicorn to enable async-worker to make an…
2
votes
1 answer

Adding a local repository for dependency injection in python on google cloud

I am trying to deploy a Python app on Google Cloud. In the app I have a dependency that is actually locally available. So to add it in project using pip. I use pip install -r requirements.txt --find-links PATH_TO_DEPENDENCY. Everything works fine…
2
votes
3 answers

Multiple services with different dockerfiles on GAE Flexible

I'm using Google AppEngine Flexible with python environment. Right now I have two services: default and worker that share the same codebase, configured by app.yaml and worker.yaml. Now I need to install native C++ library, so I had to switch to…