I’m working on ERP system for small manufacturer who dealing with medical devices. I thinking about what is better for store documents. The company wants to store their drawings and documentations in this system, so they are pretty sensitive information’s. I thinking what type of storage is better for my needs. I give you some of my thought, but I’m interested some pro guys opinion about it:
Option 1 - Block storage: In this case I would use nginx as web server with it’s “http_auth_request_module”. than write an auth. endpoint in my back-end, so nginx would ask authentication for my back-end before serve the documents. It looks pretty safe for me. I can add further encryption to the block storage like on this article: https://www.digitalocean.com/community/tutorials/how-to-create-an-encrypted-file-system-on-a-digitalocean-block-storage-volume#conclusion I also can make backups really easy creating a snapshots. However it is more expensive than object storage, I can attach it only 1 instance (right now it is enough, but I don’t know maybe there will be another use case) and maybe object storage enough for me.
Option 2 - object storage (spaces): In this case I don’t need nginx, I can make the storage private and handle permissions with the DO api and my back-end. It is cheap, but I don’t know is it safe enough? The other thing can I trust it to not make backups? If not then how to make backups anyway?
Could please share your thoughts with me about it?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Click below to sign up and get $100 of credit to try our products over 60 days!