I have an SFTP server running on Google's Compute Engine. The firewall is setup to allow traffic from the Identity aware proxy.
I can connect to the service using gcloud ssh
locally but I can't connect from App engine or Cloud Run. The service accounts for Cloud Run and App engine already have IAP tunnel and Https permissions.
The backend is written in Node using ssh2-sftp-client.
How can I secure the Compute Engine and allow tcp traffic from Cloud Run and App Engine on port 22 to still go through?