HAPROXY to access cloud objects

I am using haproxy to access my cloud storage buckets. This allows me to use my own domain name and I can also modify the URL’s a bit for legacy reasons. That is I have apps that access the same file with different URI’s.

Haproxy is using https to access the objects. Is there a more efficient method to access the files from haproxy? If my droplet is in the same zone as the bucket, can I access the objects directly via a local IP and not go over the public network but stay within DO’s network?

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.


Great question. For the state of the product right now, I do believe you are using the most efficient method. Of course, future iterations of the product may open up different angles. You can also enable the CDN feature and see if it gives you any performance gains, if this is of any concern.