gian
gian

Reputation: 19

GCP Firebase connection to compute engine VM

this is my current setup:

  1. a flutter application hosted and deployed on firebase in eu (multiple regions in European Union)
  2. a compute engine VM deployed in asia-northeast1-b
  3. on the VM machine I have a websocket server running

From my flutter application on firebase I want to connect to my websocket server on the compute engine machine and consume the messages.

In my local environment everything is working fine, but I cannot sort out the connection between the flutter app on firebase and the VM on compute engine.

Is there any guide to achieve this scenarios?

Upvotes: 1

Views: 218

Answers (1)

Andrés
Andrés

Reputation: 515

No, there is not a guide per se.

You could deploy an API -that you should develop- to a Compute Engine instance, and consume said API in the flutter app hosted in Firebase.

Upvotes: 1

Related Questions