Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mounting Google storage bucket or folder #22

Closed
jodonya opened this issue Sep 12, 2016 · 5 comments
Closed

Mounting Google storage bucket or folder #22

jodonya opened this issue Sep 12, 2016 · 5 comments

Comments

@jodonya
Copy link

jodonya commented Sep 12, 2016

Is it possible to mount Google Cloud Storage bucket or folder using DokanCloudFS ? The gdrive schema seems to connect to Google Drive which I understand is very different from Google Storage.

@viciousviper
Copy link
Owner

Hi @jodonya,
there is no explicit support for Google Cloud Storage in DokanCloudFS.
Unless I am grossly mistaken, Google Cloud Storage falls short of the 10 GB free storage volume requirement formulated by the CloudFS library in Supported Cloud storage services.
You're welcome to give it a try, but I'd be surprised if the Google Drive API worked for Google Cloud Storage.

@gsaxena888
Copy link

If there were some funding (read donation) from a couple engineers, would it possible (ie acceptable from licensing standpoint as well as not too complicated technically) to implement a version of the Google Drive API that would instead work with Google Cloud Storage?

@viciousviper
Copy link
Owner

There is certainly nothing license-related that would prevent a Google Cloud Storage gateway within the CloudFS library. A Google Cloud Storage gateway would not replace the existing Google Drive gateway, however, but be an additional option.
As to the technological complexity I can't really say if this would be hard to implement because I haven't yet looked into the GCS architecture. If the relevant API library is well maintained - which I'd expect from prior contact with Google APIs - and the storage layout is not too far removed from a traditional file system there shouldn't be much of a problem. Authentication could be tricky, though, unless it's the same encapsulated OAuth scheme used in Google Drive.
The greatest obstacles to my engaging in the development of any given gateway are the outright lack of a free account plan (GCS, AWS), an unstable signup procedure (Baidu), or an unattractive free account model (DropBox). If there is enough stated interest from the community, all of these can be overcome.

@gsaxena888
Copy link

Excellent. I'm glad to hear that there is no licensing related issues. And
yes, apologies for my quickly written email earlier: I've course realize
that any Google cloud storage library would be a separate library from
Google Drive gateway, but what I meant to imply is that it's possible that
it ends up being a very very similar API. (When I took an extremely
extremely quick cursory view yesterday, it appeared that the APIs were
similar, at least if one uses the rest API; however, the Google cloud
storage provides a .NET API, so my understanding is that would be the
preferred API language for DokanFS.) With respect to the authentication, I
am 99.5% sure that he uses the exact same type of OAuth authentication
that Google drive uses. (A quick cursory look at their .NET examples of
how to access Google cloud storage shows the use of the "credential"
object. That said, it would be great if we could pass said an actual
id_token, since we would received it from a separate application and so we
can stick that string value into the XML configuration file and in this way
remove an unnecessary relogging in.)

I believe we can help fund this effort for the community and I am 99% sure
that the community would benefit from it. (I did take a cursory look, and
though Google cloud storage doesn't provide 90 free days, I think they
provide 60 days free as part of the Google cloud platform trial etc. In
any case, we are happy to fund it since we need it for our own efforts and
I am still certain that many many other users, especially developers trying
to build a solution, would find it useful.) Is this something that you
would be able to work on in the short term? Even if you could just
prototype it, we could probably clean it up from that point onwards and
give back our efforts to the community.

Thanks in advance, ViciousViper.

On Tue, Sep 13, 2016 at 4:43 PM, viciousviper notifications@github.com
wrote:

There is certainly nothing license-related that would prevent a Google
Cloud Storage gateway within the CloudFS library. A Google Cloud
Storage gateway would not replace the existing Google Drive gateway,
however, but be an additional option.
As to the technological complexity I can't really say if this would be
hard to implement because I haven't yet looked into the GCS architecture.
If the relevant API library is well maintained - which I'd expect from
prior contact with Google APIs - and the storage layout is not too far
removed from a traditional file system there shouldn't be much of a
problem. Authentication could be tricky, though, unless it's the same
encapsulated OAuth scheme used in Google Drive.
The greatest obstacles to my engaging in the development of any given
gateway are the outright lack of a free account plan (GCS, AWS), an
unstable signup procedure (Baidu), or an unattractive free account model
(DropBox). If there is enough stated interest from the community, all of
these can be overcome.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#22 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANp9sDMgAzpegdNWlNbhxjbY8-I97BlOks5qpwr_gaJpZM4J6x5H
.

*Gautam Saxena *
President & CEO
Integrated Analysis Inc.

Making Sense of Data.™
Biomarker Discovery Software | Bioinformatics Services | Data Warehouse
Consulting | Data Migration Consulting
www.i-a-inc.com http://www.i-a-inc.com/
gsaxena@i-a-inc.com
(301) 760-3077 office
(240) 479-4272 direct
(301) 485-7364 fax

@viciousviper
Copy link
Owner

Hi again,
done some research and it definitely looks doable based on the available APIs.
It's true that Google offers 60 days "free" usage of their cloud services capped at 300$ pseudo-money. They still require registration of credit card details which I'm not prepared to disclose to them.
Before I go any further there will have to be a way of accessing GCS without surrendering all kinds of personal info - via a preexisting account maybe.
We should probably take the rest of the discussion someplace else - contact me at GCSFS@emailn.de if you like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants