Questions tagged [google-managed-vm]

Google App Engine Flexible Environments let you run Google App Engine applications on configurable Google Compute Engine VMs. The VM hosting environment offers more flexibility and provides more CPU and memory options.

You can use either standard runtimes or build a custom runtime even with custom operating systems via Dockerfiles to host your application. See the official site for more info.

72 questions
3
votes
1 answer

WebSocket WS SSL

I'm using Google App Engine/Managed VMs to develop a nodeJS application using web sockets. As part of the app, the front end needs to connect using Websockets e.g. connection = new WebSocket('wss://127.0.0.1:3001'); The bit that I'm struggling with…
TStu
  • 244
  • 3
  • 15
2
votes
3 answers

google endpoints on flex app engine

When we use endpoints with std app engine environment Following lines in app.yaml, defines the starting point of the app - url: /_ah/spi/.* script: main.api But as flex engine uses 'gunicorn' to define the staring point as given…
2
votes
2 answers

Appengine deployments are extraodinarily slow today?

We have a small java project need to deploy it include 9000+ files command : mvn gcloud:deploy but I get the Log: ... [INFO] INFO: Uploading…
2
votes
1 answer

How to write to local files on Google app engine managed VM

I am writing files to Google app engine managed vm (flexible environment). I have deployed the code to cloud. The code opened the file and write it without show errors like permission errors. However, my another code trying to open the file failed…
Weiming
  • 37
  • 6
2
votes
1 answer

How to set automatic scaling in Google Cloud Managed VM

We are plannig deploy our app on google cloud managed VM. I tried to use automatic scaling. I have changed following parameters as per this doc https://cloud.google.com/appengine/docs/managed-vms/java/configuring-your-app-with-app-yaml This is our…
Rams
  • 2,141
  • 5
  • 33
  • 59
2
votes
1 answer

gcloud socketIO is not working on multi-instances

I am working with socketIO + Nodejs over gcloud app-engine with managed vms. I am facing a problem that when I use manual scaling, the gcloud working well with sockets. But when I use dynamic scaling, sockets not working at all, I think it doesn't…
2
votes
0 answers

How to solve Bad Gateway response from managed VM in App Engine?

I deployed a small servlet to a managed VM on App Engine that creates a zip archive with files from Google Cloud Storage. The same code works fine in App Engine instance, but when deployed to a managed VM the client gets 502 Bad gateway…
Andrei Volgin
  • 40,755
  • 6
  • 49
  • 58
2
votes
3 answers

Java connect to Cloud SQL 2nd Gen from Appengine Managed VM

Trying to setup connection to Clond SQL 2nd Generation for a Java Appengine with Managed VM. What I got: VM is using Appengine Compat mode (FROM gcr.io/google_appengine/java-compat) I see a MySQL pipe on the host (SSHed, I can see /cloudsql/**…
2
votes
2 answers

GAE Managed VM deploy gets stuck on Docker build

I'm trying to deply a custom app to a managed vm with: gcloud preview app deploy my_custom_app.yaml --version my_version --verbosity debug Every time I deploy, it makes it to this line, and then it stops, hangs for maybe 10 minutes, then exits with…
2
votes
2 answers

How do I customise a Google App Engine Managed VM with a Standard Runtime?

I would like to customise a (Python) Standard Runtime Managed VM. In theory, this should be possible by adding some extra commands to the VM Dockerfile. Google's documentation states that a VM Dockerfile is automatically generated when the App is…
2
votes
1 answer

Filter by KeyProperty in Google datastore with Dart

I try to run a query which filters for a KeyProperty. The dart gcloud package I am currently using is version: 0.2.0+8 So for a Model like this: @Kind(idType: IdType.String) class Foo extends Model { @ModelKeyProperty(indexed: true, required:…
2
votes
1 answer

Google Compute Engine keeps spawning instances, then deploy says no CPU's available

I'm just going through the node.js tutorials with a free trial account, and i'm stuck on the second one where you add a db. I add the mongodb deployment, shows up as a VM instances, fine. And my first deploy worked, but now that i'm trying to edit…
2
votes
0 answers

Deployed Managed VMs version has a size of 0 bytes

Yesterday, I updated my gcloud components (via gcloud components update), and today I deployed a new Managed VMs version which is taking up 0 Bytes, according to the Versions page on the console. Does anyone know if this is a known issue introduced…
theoschao
  • 21
  • 2
1
vote
2 answers

Delayed sequential restart of Compute Engine VMs in Managed Instance Groups

I have a Managed Instance Group of Google Compute Engine VMs (based on a template with container deployment on Container-Optimized OS). The MIG is regional (multi-zoned). I can release an updated container image (docker run, docker tag, docker…
1
vote
1 answer

Datastore sometimes fails to fetch all required entities, but works the second time

I have a datastore entity called lineItems, which consists of individual line items to be invoiced. The users find the line items and attach a purchase order number to the line items. These are they displayed on the web page where they can create…