Skip to content

Is it possible to use metrics/plots/data from the local S3-compatible storage? #1

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

Closed
Benjamin-Etheredge opened this issue May 17, 2021 · 11 comments
Labels
feature request New feature or request question Further information is requested

Comments

@Benjamin-Etheredge
Copy link

The current studio seems to only support AWS s3. Support for other s3-compatible APIs (like minIO) would be awesome.

@shcheklein shcheklein added the feature request New feature or request label May 17, 2021
@jorgeorpinel
Copy link

Q: If you setup an S3-compatible storage manually/locally (via https://dvc.org/doc/command-reference/remote/add) will Studio pick it up? Or any remote for that matter

@shcheklein
Copy link
Member

Only if it's accessible from the machines that run Studio. If it's under firewall, NAT, local IP - etc, there is no way we can access it. Some proxy is required then.

Benjamin had a good point about saving at least certain artifacts into some externally accessible remotes, but that would ideally require some DVC support on the iterative/dvc#4040 . @Benjamin-Etheredge feel free to chime in that ticket.

@shcheklein shcheklein changed the title Add s3-compatible API support Is it possible to use metrics/plots/data from the local S3-compatible storage? May 17, 2021
@shcheklein shcheklein added question Further information is requested feature request New feature or request and removed feature request New feature or request labels May 17, 2021
@jorgeorpinel
Copy link

jorgeorpinel commented May 18, 2021

Only if it's accessible from the machines that run Studio.

I see. And MinIO is usually run in a local machine or network, right?

@Benjamin-Etheredge as a workaround for now you could try something like Ngrok or Traefik (article) to expose the local Minio service to the Internet (free, I think) — not sure about possible throughput limits.

@Suor
Copy link

Suor commented May 20, 2021

Besides Minio there are cloud alternatives too. Anything DVC already works with should work in Studio too, using same settings and credentials.

@jorgeorpinel
Copy link

jorgeorpinel commented May 21, 2021

Anything DVC already works with should work in Studio too

I think the key word in the issue title is "local". In that case Studio won't work with the (local) storage since it's not local or even available to Studio.

But yeah I don't suppose we're trying to solve that, which is a networking situation really. So Idk if this issue is actionable.

@ivyleavedtoadflax
Copy link

ivyleavedtoadflax commented Jun 10, 2021

Maybe I misunderstood, but will studio read metrics from S3 out of the box? So far I've set all my metrics to cache=false so it has been reading them from github, but would be great if it could read them from S3

@shcheklein
Copy link
Member

@ivyleavedtoadflax yes, it can read them from S3, so you can set cache=true and add credentials via Studio UI. Please give it a try, let us know if something doesn't work for you.

@ivyleavedtoadflax
Copy link

@ivyleavedtoadflax yes, it can read them from S3, so you can set cache=true and add credentials via Studio UI. Please give it a try, let us know if something doesn't work for you.

Works great 👍

@Suor
Copy link

Suor commented Jun 28, 2021

Do we plan to do something about it? And what can we do really? Or we simply keeping this for informational pruposes?

@shcheklein
Copy link
Member

Let's keep it as a feature request for now.

@shcheklein
Copy link
Member

Studio can be installed on-prem per request. Please reach us directly if there is a need. Closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants