Rolling Your Own CDN -- Build A 3 Continent CDN For $25 In 60 minutes
For a fun weekend break project, we thought we would roll our own CDN utilizing Go GeoDNS, DigitalOcean, Docker and Nginx.
Step 1: Order a DNS instance from DigitalOcean.
We chose SFO and the Second smallest instance.
Many of us setup DNS info to point here (equally NS1 and NS2 point in charge of ease of setup). These are A records.
Step 2: Install Docker and also run with �coocood/geodns� impression on the DNS illustration
See https://index.docker.io/u/coocood/geodns for details.
Step 3: Order the particular CDN �edge� instances for Nginx via DigitalOcean.
We used the tiniest instance. We setup DNS for this example using them:
test-sfo-do.deploy.io 18.104.22.168 San Francisco $5/mo
test-jfk-do.release.io 22.214.171.124 New You are able to $5/mo
test-sin-do.deploy.io 126.96.36.199 Singapore $5/mo
test-ams-do.deploy.io 188.8.131.52 Amsterdam $5/mo