Content delivery network is used to get the content from the edge server, instead of getting the content from origin server.
CDN architecture is designed to handle the very large amount of bandwidth usage by providing ample resources and network capabilities. This minimizes the risk of overloading the origin server. CDN helps increase reliability, if POP(point of presence) goes down, traffic gets rerouted to a different POP - increasing redundancy. Edge server –
closest edge servers for CDN are used for the sending data to the user. If origin server can take around 400 ms, meanwhile closest edge server might take around 100ms.
CDN is spread across based on the Customer need and application requirements. User location is SF > Route53 > Edge Server
Edge server has a web server which is configured to get the latest content changes from the Origin Server, to always serve the fresh content.