Sitemaps

Questions

CDN

How do you approach moving a large site onto a CDN?

I have a site that currently is on a very expensive dedicated server. There are TB's of data stored. Essentially this is a website that grew massively pre-CDN days. Remember the days were you stored everything on your own server? Here's my problem. I now wish to start using a CDN like MaxCDN. My issue is how do you migrate this sort of situation? Putting the files on a storage network like Amazon AWS would be fine.. but then you would have to replace maybe millions of links on your website to point to the file address. Obviously that is not practicable, if not impossible. I feel like I'm missing part of the picture in this situation, any advice? Essentially what do large sites do when they wish to start using a CDN?

Answer This Question

3

Answers

Aneil Singh

IT, Biz Dev, Ideas, Managing

When you go with Cloudflare you will have the ability to use or not use the CDN. The great thing here is you can see if your site has problems quickly. Make sure your QA team goes through your site to ensure you find any issues.

Answered over 10 years ago

Pere Hospital

CSO @ Cloudways. IT Security & Cloud.

It really depends on which is the application that you are trying to migrate.

Wordpress i.e. has several plugins that will offer an easy transition between locally hosted content and content delivered via a CDN, taking care to update necessary links in the process.

When using custom apps, there will be certainly some level of pain involved and mainly when moving TBs of data to the CDN.

We used a mixed approach with a customer recently where we first moved from local content, to content on AWS S3 that was mapped locally via an s3fs (so no change that was needed at app level). Having content already on S3, made it easy to create a Cloudfront distribution and then it was just a matter of changing the URLs of elements delivered via CDN from the application. It worked great and was relatively easy to implement.

Happy to follow up on call.

Answered about 10 years ago