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
0 answers

How to allow only https traffic using a nodejs app on GAE flex vm?

I have the following configuration in app.yaml runtime: nodejs env: flex handlers: - url: /.* script: app.js secure: always But still I am able to access both http and https. I would like to disable all communication to http. Am I missing any…
user1843462
  • 41
  • 1
  • 3
2
votes
1 answer

deploying to google app engine flexible env

i am following https://cloud.google.com/endpoints/docs/quickstart-app-engine but when i run gcloud service-management deploy openapi.yaml i am hitting: ERROR: (gcloud.service-management.deploy) PERMISSION_DENIED: Not allowed to get project…
Vik
  • 8,721
  • 27
  • 83
  • 168
2
votes
1 answer

Connecting to 2nd gen Cloud SQL on App Engine flexible PHP 7.0 - missing socket

I decided to try out PHP 7 on App Engine and have followed instructions here to connect to second gen Cloud SQL but I'm unable to get it working. As a testing script I decided to upload PhpMyAdmin and got the following error upon attempting to…
Xymanek
  • 1,357
  • 14
  • 25
2
votes
1 answer

How to secure google cron service tasks on GAE flexible env?

I want from an url: To be called only by the google cron service Not to be called by a user in a web browser Whats on the google docs didn't work: when the cron service calls the servlet, it also give me a 403 error - forbidden access... And there…
2
votes
1 answer

How do I run Google's aefix tool when upgrading a Google App Engine app to the flexible environment?

I am trying to upgrade a Google App Engine app from the standard environment to the flexible environment. I am having an issue similar to the one described here, except I am only seeing the following error: ERROR: (gcloud.app.deploy) Your…
rudolph1024
  • 962
  • 1
  • 12
  • 32
2
votes
2 answers

Google Cloud Storage create_upload_url -- App Engine Flexible Python

On a regular (non-flexible) instance of Google App Engine, you can use the Blobstore API and create a URL to allow a user to upload a file directly into your Blobstore. When it is uploaded, your app engine application is notified of the location of…
2
votes
0 answers

Datastore on flex nodejs appengine stopped working - bad gateway 502

After making some updates to an app I'm working on, I pushed the app up via gcloud app deploy --version dev and everything seemed to push just fine, but upon further inspection, any of my calls (get or post) that use the @google-cloud/datastore…
2
votes
1 answer

How can one Instance in Google App Engine Flex Environment talk to another?

Instances in my Google App engine Flexible Environment "compat" system communicate to each other communicate with each other with REST invocations. How can I port this to the new Flex Env? The documentation says "You can no longer route traffic to…
Joshua Fox
  • 18,704
  • 23
  • 87
  • 147
2
votes
1 answer

Migrating from standard to flexible environment in google app engine

I'm migrating my standard environment app to flexible environment in GAE and facing issues. app.yaml snippet runtime: custom env: flex api_version: 1 threadsafe: true handlers: - url: /.* script: main.app Dockerfile FROM…
chetan
  • 125
  • 1
  • 12
2
votes
1 answer

Can I update only app.yaml file without uploading all project

Is there a way to update selected files when using the App Engine Flexible env? I'm facing an issue whenever I do a small change in the app.yaml file: to test it I would need to deploy the whole application which takes ~5mins. Is there a way to…
Alex Zamai
  • 158
  • 2
  • 13
2
votes
0 answers

Django management commands inside App Engine Flexible environment

I need a way of running remote commands inside my default service running on app engine flexible environment. The only way I can see (outside of connecting directly to the database) of running migrate is setting the instance to debug, ssh into the…
2
votes
1 answer

Taskqueue for long running tasks in FLEXIBLE app engine

I am building an app using Flexible App Engine and Python3. In the standard appengine, if you needed to run a task that was longer than 60s, you could either use taskqueue, or the deferred library (an abstraction of taskqueue) which I have done…
Matt B
  • 21
  • 2
2
votes
1 answer

Unable to load memcached.so on GAE Flexible environment

I'm trying to deploy my Laravel 5.2 app on GAE Flexible environment. I'm getting the following error there. PHP Warning: PHP Startup: Unable to load dynamic library '/opt/php56/lib/php/extensions/no-debug-non-zts-20131226/memcached.so' -…
2
votes
3 answers

Target micro instance in Flexible AppEngine

Is it possible to target a custom runtime to use a micro instance? I tried with: resources: cpu: 0.5 memory_gb: 0.6 disk_size_gb: 10 But a small instance is started.
lujop
  • 13,504
  • 9
  • 62
  • 95
2
votes
2 answers

Running background thread in GAE flexible environment with Python-compact

I am working on migrating an existing python GAE (Google App Engine) standard environment app to the flexible environment. I read through the guide and decided to try out the python-compact runtime, as it's always good to re-use as much code as…