How do I set up a CDN with Digital Ocean?

  • Posted August 25, 2014

Hi, I would like to set up a CDN. I’m curious how to do that with Digital Ocean?


Do you want to operate a CDN in combination with your droplets (integrate it) or do you want to build a CDN with DigitalOcean? If you need a CDN for a commercial website (production environment) then I recommend to buy the service. It’s not worth to build your own CDN from a financial point of view. Some CDNs deliver traffic for $0.04/GB or lower (e.g. KeyCDN) It will take more than just a few droplets to create a solid CDN.

You can create a main cluster which will point the request to the desired droplet (via private networking). Read some articles about load balancing.

…What do you mean?

Submit an 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.

It depends. If you want to operate a CDN u could try it for free for a while. For example this one for 2 weeks, and check how it will cope with DigitalOcean

Are you asking about building your own CDN or using a ChecDN with DigitalOcean?

If you’re looking to roll your own, the folks over at ScaleScale actually wrote a great article on setting one up on DigitalOcean using GeoDNS, Docker and Nginx. Check it out.