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
1
vote
1 answer

AppEngine flexible static index.html

I am trying to set up a AppEngine flexible (go) backend/api server together with a static frontend. Ideally i would like to completely decouple the api server from the frontend so was planning to serve all the static files from cloud storage. I have…
Calcopedia
  • 111
  • 1
1
vote
2 answers

Routing between App Engine Standard Environment and Flexible Environment projects in production

I have two App Engine projects in Go that comprise a single user-facing app. One project is a Standard Environment project and has the bulk of the functionality and also serves the React frontend static bundle. The second project is a Flexible…
1
vote
1 answer

AppEngine NodeJS flexible memcache undefined GAE_MEMCACHE_HOST and GAE_MEMCACHE_PORT

I want to use the memcache AppEngine service in my NodeJS flexible environment. As specified in the documentation: https://cloud.google.com/appengine/docs/flexible/nodejs/using-redislabs-memcache I used the suggested app.yaml file and I decommented…
1
vote
1 answer

How to execute command in Google App Engine

I am working on a PHP Project in Google Cloud. I am almost done with my project but I have to execute a command using my PHP script in Google Cloud. Let suppose I want to view files Is there is any way to run commands in Google…
1
vote
1 answer

Unit Testing Google Cloud Datastore using Cloud Datastore Client library

I'm developing a Java application in the App Engine Flexible environment that requires access to Datastore. I've had no trouble setting this up, however when it comes to unit testing I am unable to test any of the Datastore code (without an external…
1
vote
1 answer

AppEngine Flexible Ruby environment, application startup error: /usr/bin/env: 'ruby2.5': No such file or directory

I'm trying to deploy an API-only Rails 5 application to AppEngine Flex w/ the standard Ruby runtime, and I'm getting the following error at the very end: Updating service [default] (this may take several minutes)...failed. …
1
vote
1 answer

Can't connect to Cloud SQL via unix socket from an App Engine Flexible Environment hosted in a different GCP project

I have a GCP project running Cloud SQL and a Django App inside a Google App Engine Flexible Environment and it works fine. However, when I try to connect to the same Cloud SQL instance from another project it doesn't work since the socket is not…
1
vote
2 answers

Does Google App Engine Flexible Environment support a session-store out of the box?

Memcache backs the OOTB session store for App Engine Standard Environment, yet App Engine Memcache does not work with Flexible Environment. Documentation for configuring Flex Env says nothing about sessions. Of course I could implement this myself,…
Joshua Fox
  • 18,704
  • 23
  • 87
  • 147
1
vote
0 answers

Can't write logging.info messages to stackdriver using google app engine flexible

Stack: Google App Engine Flexible Python 2.7 I cannot seem to write info messages using the python logging module after configuring it to use stackdriver. In my main function for my service I have: from paste import httpserver import…
1
vote
1 answer

google java flex insufficient memory issue with 502 Bad Gateway as response

I deployed a spring boot application in google appengine flexible environment with below configuration env: flex runtime: java service: default health_check: enable_health_check: False manual_scaling: instances: 1 Everything was running fine…
Aniruddha Das
  • 20,520
  • 23
  • 96
  • 132
1
vote
1 answer

Connecting Spring Boot app to MySQL db in Google Cloud

I'm trying to deploy a Spring Boot Maven app using jdbc with a MySQL database to a flexible Google App Engine project with a 2nd generation db. All functions as expected when both app and db are run locally (spring-boot:run & XAMPP). All still…
1
vote
1 answer

Cannot find package when deploy to App Engine

I can not deploy my golang application (with echo framework) on App Engine. I have some kind of error like: ... Step #0: main.go:4:2: cannot find package "FBackend/router" in any of: Step #0: /usr/local/go/src/FBackend/router (from $GOROOT) Step…
Hasdfa
  • 156
  • 3
  • 11
1
vote
2 answers

Google Flexible Environment django deploy with:Invalid Cloud SQL name: gcloud beta sql instances describe

I am deploying Django app to Google Flexible Environment using the following command gcloud app deploy But I get this error Updating service [default] (this may take several minutes)...failed. ERROR: (gcloud.app.deploy) Error Response: [13] Invalid…
1
vote
1 answer

How to download application from Google Cloud Platform Java Flexible Environment

I am trying to download Application from GCP using this link: Downloading Your Application. But it looks like this works only for the Standard environment cos code executes without errors but nothing is actually downloaded after. Output is: AM Host:…
1
vote
0 answers

ERROR: (gcloud.app.deploy) Error Response: [9]

I am getting an error while deploying my project to appengine. When I run this app locally, its running fine but when I try to deploy this to appengine I am getting the below error. Can someone help here? [INFO] GCLOUD: ERROR: (gcloud.app.deploy)…