How does cloud hosting differ from a CDN (Content Delivery Network)?

A CDN is used to distribute copies of static media content such as images and videos to the edge of the network, nearer to your customers. This enables them to download these files with lower latency and less chance of bandwidth contention. It only works for static media content, and cannot be used for dynamic content or more general compute applications in the same way as Cloud Servers.