GoogleCloudPlatform / google-cloud-visualstudio

Google Cloud Tools for Visual Studio
https://cloud.google.com/tools/visual-studio/docs/
Apache License 2.0
88 stars 51 forks source link

Deploying .NET APPs in Visual Studio with Cloud Code while using Cloud IAP tunneling. #1101

Open Jan-Libera opened 4 years ago

Jan-Libera commented 4 years ago

I was attempting to publish code from Visual Studio using the Google Cloud connector to an IAP secured compute engine instance, using the google connector to perform web deployment. The process works when IAP is not enabled but when we secure the resources behind IAP the Visual Studio connector does not have an IAP tunnel connection, so it fails.

So my current understanding is that we will need to start an IAP tunnel and then publish the code using the tunnel.

I would like some information on how to complete that task. (Such as what port the Visual Studio Cloud Code tool uses and how to target the localhost when the tunnel is established.)