Report this

What is the reason for this report?

Image Hosting: Amazon S3 vs. DigitalOcean Storage?

Posted on November 6, 2016

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. Raymond.



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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Practical warning: be aware of AWS charging data transferred out of their regions (e.g. to Digital Ocean droplets).

Few years ago I was processing bigger amount of data and the invoice was big surprise. Just estimate the amount and calculate.

Hey!

Take a look about this DigitalOcean Alpha Object Storage here: https://www.digitalocean.com/products/storage/object-storage/

That’s will be a nice alternative of S3.

Hey @RaymondLC92!

I’m happy to say that we have just announced Spaces Object Storage. It can definitely be used for storing images and other user uploaded files. It’s fully compatible with the S3 API so it’s a simple drop-in replacement!

Pricing is $5 per month for 250GB of storage and 1TB of outbound transfer. Inbound transfer/uploads are completely free of charge. Additional storage is available at $0.02 per GB stored, and additional bandwidth at $0.01 per GB of data transferred.

Check out the announcement here: http://do.co/introducing-spaces

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.