Posts

🌐 Google Cloud DNS & Cloud CDN — Easy Notes

🌐 Google Cloud DNS & Cloud CDN — Easy Notes 1. What is DNS? DNS = Domain Name System DNS converts a human-friendly hostname/domain name into an IP address . Example: www.google.com ↓ DNS 142.250.xxx.xxx Think of DNS like your phone contacts : "Rahul" → 9876543210 "google.com" → IP address 2. What is 8.8.8.8? 8.8.8.8 is Google's public DNS resolver . Anyone on the internet can configure their device/network to use it for DNS lookups. Example: You → 8.8.8.8 → "What is the IP of google.com?" ↓ IP address ☁️ 3. What is Cloud DNS? Cloud DNS is Google's managed DNS service for applications running on Google Cloud . Suppose you deploy your application: My Application ↓ Google Cloud ↓ External IP: 34.100.20.10 You don't want users to remember: 34.100.20.10 Instead, you want: www.myapp.com Cloud DNS helps connect: www.myapp.com ↓ 34.100.20.10 Simple definition: Cloud DNS = Google's man...

Google Cloud Network Connectivity

🌐 Google Cloud Connectivity — Easy Detailed Explanation First understand the basic problem. Imagine a company has: Company office / Data Center 100 servers Employees' computers Private IPs like 10.10.0.10 And the company is also using: Google Cloud VPC network VMs Databases Applications Private IPs like 10.20.0.10 The company wants: Company Office | | Connect | Google Cloud VPC The question is: How can we connect our company's network to Google Cloud? Google provides several options: Cloud VPN Direct Peering Carrier Peering Dedicated Interconnect Partner Interconnect Cross-Cloud Interconnect Let's understand each one. 1. First understand Private IP vs Public IP This is very important. Private IP Example: Company Server 10.10.1.10 This IP is used inside a private network. Similarly, a Google Cloud VM might have: Google VM 10.20.1.10 These are private IPs. You generally want: 10.10.1.10 <------> 10.20.1.10 Company Google Cloud This is call...