Report this

What is the reason for this report?

Block Storage with Load Balancers

Posted on May 17, 2017

Can I share a block storage volume with load balanced droplets?



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.

@timgavin

Each block storage instance can only be mounted to a single droplet. You wouldn’t be able to share the block storage across multiple droplets simultaneously.

If you need to share storage across multiple Droplets, I’d recommend looking in to GlusterFS.

https://www.digitalocean.com/community/tutorials/how-to-create-a-redundant-storage-pool-using-glusterfs-on-ubuntu-servers

GlusterFS will allow you to setup a client and multiple storage nodes. It can be a bit finicky (based on my experience) but it does work.

Thanks for that info.

So I wouldn’t be able to access a block storage drive from another droplet, even with private networking?

What are your thoughts on this: I set up a droplet and add a block storage drive to it, then set up a site and serve all media on the block storage drive under a URL, such as media.mysite.com? Would that work? Seems like it would be easier to maintain, and since block storage is scalable to a huge volume it should be viable for quite some time.

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.