Rolling Your Own CDN -- Build A 3 Continent CDN For $25 In 60 minutes
CDN
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.
GeoDNS
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.
ns1.deploy.io 192.241.224.116
ns2.release.io 192.241.224.116
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 107.170.251.75 San Francisco $5/mo
test-jfk-do.release.io 107.170.45.174 New You are able to $5/mo
test-sin-do.deploy.io 128.199.216.96 Singapore $5/mo
test-ams-do.deploy.io 188.226.185.173 Amsterdam $5/mo