Image Hosting: Amazon S3 vs. DigitalOcean Storage?
I am currently hosting a service on Digital Ocean, as I move from development to release I have a few things I have to adjust.
I require that users be able to upload images and other media for storage. Ordinarily I’d use a service such as Amazon S3 or for smaller projects the free version of Cloudinary, however due to the fact that the number of images uploaded will be significantly large I think a separate solution is ideal.
Is Digital Ocean block storage sufficient for performing this task? I’ve found few resources on the topic and the official FAQ under When Should I Use Block Storage states: “As the document root or media uploads directory for a web server”
I understand that S3 is an object storage and not a block storage [It is also priced somewhat higher at ~$0.10/GB per month vs. ~$0.03/mo for S3] but I would like to keep things as simple as possible. The additional configuration to setup S3 alongside my meteor project seems daunting.
My question boils down to:
- Is Digital Ocean Block Storage is suitable for this purpose?
- Will everything play nicely with my existing CDN?
- Can I create subdomain based image links? I.E.: images.mydomain.com/imagename.png (Amazon allows this through CNAME configurations)
Thanks for your time and sorry for the length, I tend to ramble.