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
164
votes
7 answers

Pricing of Google App Engine Flexible env, a $500 lesson

I followed the Nodejs on App Engine Flexible env tutorial: https://cloud.google.com/appengine/docs/flexible/nodejs/create-app Having successfully deployed and tested the tutorial, I changed the code to experiment a little and successfully deployed…
drenocartero
  • 4,941
  • 7
  • 26
  • 26
82
votes
8 answers

When to use Google App Engine Flex vs Google Cloud Run

I want to deploy containerized code using one of Google's serverless options. From what I understand Google has two options for this: Google App Engine Flexible Environment Google Cloud Run (in beta) I've watched the 2019 Google Next talk Where…
hlp
  • 1,047
  • 1
  • 9
  • 12
46
votes
6 answers

gcloud preview app deploy process takes ~8 minutes, is this normal?

Trying out new flexible app engine runtime. In this case a custom Ruby on Rails runtime based on the google provided ruby runtime. When firing of gcloud preview app deploy the whole process takes ~8 minutes, most of which is "updating service". Is…
22
votes
3 answers

ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: unable to resolve source

I am trying to deploy a go 1.11 runtime that used to work, but recently I've been getting: ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: unable to resolve source errors. Nothing in my app.yaml has changed, and the error message isn't helpful to…
17
votes
4 answers

ImportError: No module named flask_restful

I am trying to deploy appengine flex python app but getting the following in Stackdriver log stderr after deployment File "/env/local/lib/python2.7/site-packages/gunicorn/arbiter.py", line 578, in spawn_worker worker.init_process() File…
17
votes
6 answers

Force SSL on App Engine Flexible Environment Custom Runtime

We're running an instance of Metabase on a App Engine Flexible Custom Runtime with a Dockerfile based on openjdk:8. Currently it allows access on http://[metabase-project].appspot.com/ and https://[metabase-project].appspot.com/. I'd like to force…
15
votes
1 answer

Google App Engine Firewall: Restrict access to all services but the default one

I have a GAE project (flexible) consisting of 1 default and 2 subservices: foo.appspot.com service1.foo.appspot.com service2.foo.appspot.com Now I want to use foo.appspot.com as API proxy & auth gateway to the internal services service1 and…
Sebastian
  • 8,952
  • 3
  • 32
  • 30
12
votes
3 answers

App Engine app.yaml handlers for built React app

I'm trying to deploy production build of React app (created using create-react-app) to gcloud app engine flexible enviroment. After running npm run build, the build folder has been created: This is my app.yaml: # [START runtime] runtime:…
11
votes
2 answers

Google App Engine .Net Core 2.0 app can't access Google Cloud SQL database

I have a dotnet core 2.0 application running in Google App Engine Flexible Environment. Within the same Google project I have a Cloud SQL - MySQL database. On the Cloud SQL Instance details page, under the Authorizations tab, it states Apps in…
10
votes
1 answer

AppEngine Deploy Error (app.yaml)

I am trying to deploy the app.yaml file to appengine flexible. Here is my app.yaml file runtime: java env: flex manual_scaling: instances: 1 handlers: - url: /.* script: this field is required, but ignored secure: always runtime_config: #…
Linxy
  • 2,525
  • 3
  • 22
  • 37
10
votes
2 answers

Google App Engine Standard or Flexible environment?

I am stuck in deciding between choosing Google App Engine Standard Vs. Flexible environment for a real world production. I want to use Java definitely. Need to use Firebase(latest version) for Authentication and Push notification; I'm not sure…
9
votes
3 answers

App Engine Flexible: Timed out waiting for the app infrastructure to become healthy

I'm trying several times to deploy a new version of a service on my app engine flexible instance using the sdk and the command gcloud app deploy, but all i get is this error "ERROR: (gcloud.app.deploy) Error Response: [4] Timed out waiting for the…
9
votes
1 answer

How can I change the Service Account that my GCP GAE Flex Service is running as?

I'm wondering if I can configure a GAE Flexible "service" to use a specific service account ID instead of the default service account ID, which all services run as. Why? I want to isolate each service's permissions, but also simplify the service…
successhawk
  • 3,071
  • 3
  • 28
  • 44
8
votes
3 answers

/healthz route of an app deployed on Google App Engine returns 404

HTTP requests for a /healthz route on an app deployed on Google App Engine don't seem to reach the /healthz endpoint within the app. Instead, a 404 page is served, apparently from the GCP infrastructure. Can I know how to override this behaviour…
8
votes
3 answers

How to emulate Google cloud tasks service locally in app engine flex (Python 3.7)?

I have been using Google App Engine Standard Environment(Python 2.7) since some days now. It provides a good local development server, providing Task queues, datastore and other services locally. Recently i have been exploring App Engine Flex…
1
2 3
31 32