How AWS CloudFront CDN Works?
Amazon CloudFront is a service provided by Amazon Web Services (AWS) that is used to deliver your content across the networks of servers located across the world these servers are called edge locations. The content can be any of the following.
- Images
- Videos
- Static and dynamic data.
The content that is delivered to the edge location will be stored in the origin servers and from the edge locations end users can access the content without latency.
At first end users will request the content from the web browser then the web browser will send a DNS request to resolve the domain name of the website then the DNS server returns the IP address of the nearest CloudFront edge location. Then the cached content will be delivered to the end user other it will fetch and deliver to the end user.
The user who requires the content will request the content from a web browser this request will be sent a DNS request and resolves the domain name of your website. Then the DNS will search and give the nearest CloudFront edge location. The web browser will request the content from the edge location and then content cached in the edge locations will be delivered to the end user. In Simplest terms, cloud computing means storing and accessing the data and programs on remote servers hosted on the internet instead of the computer’s hard drive or local server. It is also referred to as Internet-based computing.
What is AWS CloudFront?
AWS CloudFront is a content delivery network service that speeds up the distribution of static (mostly S3) and dynamic web content (EC2 for static/dynamic) to users. It keeps the content on edge locations so that users can retrieve it easily whenever they request it. It delivers the content with the best possible performance by routing the user to the closest edge location. Amazon CloudFront will deliver the web content with low latency and with high transfer speeds.