![]() For me, the tricky parts would be how to mount the Windows share. In this case, the compute spins up dynamically when it is time to be of use and spins down after use. If even that was too much, we could look at using Cloud Run and Cloud Scheduler. however, I'm sensing the smallest compute possible may be sufficient as the consumption appears to be minimal. This would indeed need compute running on Google Cloud. Finally, I would look to have a script run at periodic intervals that would contain the logic to find the new files on GCS and copy them to the mount point of the Windows share. That technology allows a GCS bucket to appear as a mount point on the Linux file system. My first pass at that would be to use Cloud Storage Fuse. Next, I'd look at how to read the new files from Google Cloud Storage (GCS). The VM then has the ability to write new files into the share. If your windows machine a user's workstation or is it an on-premises/cloud server machine? My first pass at what I would do is to create a Linux Compute Engine and then "mount" the Windows shared drive on that Cloud based VM. I've normally associated a windows machine executing a "pull" rather than a "push". This is neither push nor pull (since we aren't copying) but rather access on demand. These stories don't appear to be the same as copying files from the GCS buckets to a local share but instead provide stories for accessing GCS buckets as though they were windows accessible. Which seems to list a number of other stories for accessing GCS storage from windows. How to use GCP bucket data on windows file system While thinking of this train of thought, I came across this article: Your Cloud Compute could then perform an sftp client connection to your windows machine to push the data. You would then create some SSH keys and give the public key to the SFTP server and keep the private key on your Cloud Compute. ![]() An example of such a server seems to be described here. One notion that comes to mind is to install an SFTP server on a local machine which can write to the Windows Share. If you choose not to have the windows share accessed over the Internet but you still want Google Cloud to push rather than your windows machine pull, then there has to be some mechanism on your windows machine to receive the request to bring in the files when Google Cloud chooses to push them to you. A post here seems to say its possible although not recommended. I'm guessing that you can perform a Windows share over the Internet. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |