Report this

What is the reason for this report?

Does anyone have an experience with using Digital Ocean as a fog directory with carrierwave?

Posted on January 18, 2017

carrierwave shows examples using S3, RackSpace, and Google storage. Is it possible to setup a similar thing with digital ocean?



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.

Yes, I recently wrote a little tutorial on it here if you want to give it a go: https://medium.com/@erickhoury/uploading-images-from-rails-to-digitalocean-spaces-with-previewing-8e10f427a02b

@franktheo1

From looking at their docs and searching around, the only option I’m seeing (since physical integration is missing) is local using the file method. Of course, if you’re looking to connect to a Droplet remotely, that’s not a valid option. You could, however, setup a Droplet and create a solution in-app that would push the files to your Droplet once uploaded locally and from there, do whatever you need to do with them (i.e. serve, modify, etc).

It’s not as simple as setting the configuration in-app as it is with AWS and Google Cloud, but it is one solution if you want to use a Droplet with your application.

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.