-
Notifications
You must be signed in to change notification settings - Fork 2
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
[For devops] S3 bucket to save question files #215
Comments
TLDR: For this issue (to store files users attach), I don't see any problems with it. We can create the bucket and get your credentials set up, and you can store the files you want in it :D Considerations
ImplementationAfter investigating the current set-up, different products appears to have S3 buckets manually created & configured for them, along with other S3 buckets. What that means is that the quick & easy solution is to manually create an S3 bucket for you guys, but it may be time for us to improve the organization of the S3 buckets and switch over to managed instead of manual. Question for y'all (@bqle)How fast do you guys need this to be set-up? If you want this to be done soon in order to start working on this project, I can do the manual S3 creation asap and switch over later. If this is just a consideration for a project starting next semester, maybe we can figure out cleaning up the S3 buckets & access first. |
Cheers, thank you Joy! We will probably implement file size cap but probably through backend logic And thank you for suggesting a subfolder; we will likely follow your suggestion. |
Hey Ben! I created a manual bucket for you called Other buckets are publicly accessible because the things stored on there (e.g. user profile pictures, general assets/icons) are not very sensitive, but I imagine in this case, storing the user questions in a publicly accessible bucket may be a safety concern.
Accessing S3 bucketList/read/write access: I created a new IAM account called Regardless of public access, you should still be able to use those credentials from Vault to do what you want. Constance & Kevin should both have Vault access and they can get you to add those secrets to your local Let me know if you have trouble accessing after getting the access key creds set-up. Right now I made the bucket is not public but anyone with appropriate permissions can grant public access to objects, similar to the set-up of penn-mobile-portal. To integrate this with your product, feel free to reference how portal is doing it (which is the most similar to your use case), as well as other products like courses & clubs. |
OHQ would like an S3 bucket that allow us to store files that users attach to a question.
We would like to be able to:
The text was updated successfully, but these errors were encountered: