Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Firebase webapp connected to a compute engine VM

Hi all,

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
  4. 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?