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

Setup public access to DVC assets #11

Closed
dcaribou opened this issue Jan 23, 2021 · 2 comments · Fixed by #206
Closed

Setup public access to DVC assets #11

dcaribou opened this issue Jan 23, 2021 · 2 comments · Fixed by #206
Labels
enhancement New feature or request platform

Comments

@dcaribou
Copy link
Owner

dcaribou commented Jan 23, 2021

In order for everyone to be able to access DVC assets and appeareces snapshots, allow public access on the bucket somehow

A few things to consider

AWS Budget actions does not support triggering a change in the ACL of an S3 bucket (the way to change the status of a bucket from public to private). Explore the option of setting up a simple lambda that subscribes to AWS Budget events to do the thing. Useful resources

  • Setting up a lambda with Terraform (link)
  • Setting up a subscription from SNS to a lambda with Terraform (link)
  • Lambda deployment packages (link)
  • Lambda development tools (link)
  • Terraform example (link)
@dcaribou
Copy link
Owner Author

dcaribou commented Sep 3, 2021

Though still a nice to have feature, I do not see it as a priority for the near future considering that #44 enables users to request access to the backend by simply raising a PR.

A short documentation section for self-granting access to DVC assets can be found in the README.

@dcaribou dcaribou added the enhancement New feature or request label Jan 12, 2023
@dcaribou
Copy link
Owner Author

dcaribou commented Sep 22, 2023

One option we did not consider enough is to setup a Cloudfront distribution to enable HTTP based access, and use some rate-based rules to limit the number of requests, for example, per IP.

Resources

  • Troubleshooting access denied errors via Cloudfront (link)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request platform
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant