Question

Block Storage with Load Balancers

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


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.

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