When you see a website load immediately on your computer, thank services like Route 53 and CloudFront for making the magic happen! 🪄✨
DNS is like the phone book of the internet, translating domain names (like www.example.com) into IP addresses (like 192.0.2.0).
When you enter a web address, your browser contacts a DNS service like Amazon Route 53 to find the IP address of the website you want to visit.
Amazon CloudFront is a delivery service for the internet, making photos, GIFs, video, data and apps load quickly for people all around the world.
Global Accelerator creates a fast, direct path for users from anywhere in the world, actively managing the route to ensure the quickest journey.
VPNs create secure, encrypted connections over the internet, allowing users or networks to access a private network remotely.
If you have a website hosted at AWS, customers usually enter your website into their browser (e.g. you type nextwork.org in Google Chrome), hit Enter, some magic happens, and the site opens up.
But how does this magic work?
Let's meet the magician making this happen behind the scenes - Amazon Route 53. Route 53 is AWS's domain name service.
You might be familiar with domain names already, because they're the names of websites!
For example, nextwork.org is a domain name, and facebook.com is a domain name.
Domain names are addresses that lets people access websites and online services. Otherwise, your computer wouldn't know what website to take you to!
Previously, we learnt that an IP address is a unique label assigned to every device that connects to a network. Hmm, well websites are not physical devices, so why would they have IP addresses?
It might not be super obvious straight away, but websites and online services are hosted on servers - this gives them a physical presence somewhere!
Every server in the world has an IP address that identifies their location on the internet. So when you access a website by entering its domain name (e.g., www.example.com) into your web browser, the domain name gets translated into the IP address of the web server hosting that website. Your computer then communicates with that IP address to retrieve the web page.
Domain names on the internet are organised in a structured way called the Domain Name System (DNS). Think of DNS as a translation service. But instead of translating between languages, it translates website names into IP addresses.
Now with the foundations set up, let's get back to Route 53.
Amazon Route 53 is AWS' DNS web service. It gives you a reliable way to route users to your apps hosted in AWS.
*Policies in Route 53 = rules for how traffic is directed to different endpoints.
*Latency = the time it takes for data to travel from the source to the destination in a network.
You can manage DNS records in Route 53:
We have to give credit where credit is due! Route 53 is the magician helping our computers find the right website quickly, but it's not why the images and videos are loaded almost instantly. That's Amazon CloudFront's magic happening in the background!
Quick pause - do you remember learning CloudFront in our global infrastructure topic? If you don't - no worries! Let's recap it now.
Amazon CloudFront is a content deliver network (CDN) service that helps deliver data, video, applications, and APIs to customers around the world with low latency and high transfer speeds. Amazon CloudFront uses edge locations to help accelerate communication with users, no matter where they are. Here's how Amazon CloudFront works:
This means Route 53 and CloudFront collaborate to deliver content efficiently.
Just like Route 53, Global Accelerator is a network layer service that you use to direct traffic to the best endpoints over the AWS global network. Global Accelerator improves the availability and performance of your public applications that are used by a global audience.
So what's the difference from Route 53?
A VPN (Virtual Private Network) is a technology that lets you create a secure connection over the internet. Without VPNs, internet use wouldn't have added layers of security and privacy, making sensitive data more vulnerable to being exposed.
There are two main types of VPNs: client VPNs and site-to-site VPNs.
A Site-to-Site VPN and Direct Connect are very similar - the goal of both is to connect your on-premise data centre with your AWS VPC.
Note that site-to-site VPN, VPC peering and internet gateways are not the same.
Client VPNs work on a smaller scale, and are used to connect individual devices (laptops, smartphones) to a private network over the internet.
The user would install a VPN software on their device, which sets up a secure connection to a server. Now all internet traffic is routed through an encrypted connection!