Hi all,
this is my current setup:
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?
What aspect of your application is connecting to the VM?
If you are using simply Firebase Hosting for the app and the call come directly from the app itself then ultimately the source connections will come from your clients systems in their browser/device, so you may need to allow internet access to the endpoint on the VM or if you know their source IP ranges grant access from there.
If however you are leveraging Cloud Functions for Firebase as part of your app and you need the function to talk to your VM, then you could look to connect the function directly into the VPC where the VM is hosted using a Serverless VPC Access connector, although keep in mind this has additional cost, see: https://cloud.google.com/functions/docs/networking/connecting-vpc
Just a couple of thoughts on the subject.