惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Docker
小众软件
小众软件
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
酷 壳 – CoolShell
酷 壳 – CoolShell
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
人人都是产品经理
人人都是产品经理
大猫的无限游戏
大猫的无限游戏
V
V2EX
阮一峰的网络日志
阮一峰的网络日志
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - Franky
WordPress大学
WordPress大学
有赞技术团队
有赞技术团队
Hugging Face - Blog
Hugging Face - Blog
Jina AI
Jina AI
博客园 - 聂微东
S
SegmentFault 最新的问题
量子位
宝玉的分享
宝玉的分享
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园_首页

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
12 Networking Fundamentals
Ashutosh Sar · 2026-05-19 · via DEV Community

Ashutosh Sarangi

Personal Note:-

Foundational Concepts (Single Server to Secure Zones)

The video starts by following the imaginary travel booking website, TravelBody, to understand how its networking needs evolve over time.

  1. IP Address (Internet Protocol Address): Every device connected to a network requires an identifier so that other devices can send data to it. This is analogous to a house address. TravelBody's initial single server was assigned a public IP address so any device on the internet could send a request to it.
  2. DNS (Domain Name System): Because users do not memorize IP addresses, DNS translates easy-to-remember names (like travelbody.com) into the corresponding IP addresses, much like contacts in a phone.
  3. Ports: When a single server runs multiple applications (e.g., website, database, payment service), ports are numbered channels (ranging from 1 to 65,535) that direct incoming traffic to the correct application. Standard ports include 80 (web applications), 443 (secure web connections), and 3306 (MySQL). This is comparable to apartment numbers in a building that shares one street address.
  4. Network Segmentation / Subnets: To mitigate security risks, especially when handling sensitive information, the network must be divided into separate sections called subnets. This keeps different functions (like the public-facing front end, application servers, and database servers) cleanly separated.
  5. Routing: Necessary to direct traffic between these different network segments (subnets). A router determines the path, acting like a GPS for network data.
  6. Firewalls: Act as a security guard, checking every piece of traffic and deciding whether to allow it based on set rules.
    • Host firewalls protect individual servers.
    • Network firewalls sit between subnets (or between the internet and the front-end subnet) to filter traffic and enforce security rules.
  7. Private IP Addresses: Used inside a company's network (like internal extension numbers) and cannot communicate directly with the internet, offering an additional layer of security.
  8. NAT (Network Address Translation): Allows multiple devices with private IP addresses (like the 50 secured backend servers) to share a single public IP address when accessing the internet. The NAT device replaces the private source address with its own public address for outbound requests and routes the response back to the correct private server. This keeps backend servers hidden and protected while allowing them to reach the internet for updates or external APIs. (Note: These first five concepts—IP address, DNS, Ports, Segmentation/Routing, and Firewalls—along with NAT, are described as the foundational concepts that remain constant regardless of the environment.)

Cloud Networking Concepts

When TravelBody moves to the cloud to rent computing resources and increase flexibility, the fundamental networking concepts remain, but the tools change.

  1. VPC (Virtual Private Cloud): This is the user's isolated section of the cloud provider's network, analogous to renting a secured office floor in a large building.
    • Within the VPC, public subnets (for internet-facing resources) and private subnets (for protected resources) are created.
    • An Internet Gateway connects public subnets to the internet.
    • Route Tables direct traffic within the network, acting like signposts.
    • NAT Gateway is the cloud-managed version of NAT, placed in a public subnet to allow resources in private subnets to send outbound internet traffic. Container and Orchestration Networking Concepts As TravelBody moves to microservices and containers (using Docker for portability), new networking concepts emerge.
  2. Container Networking (Bridge Network / Port Mapping):
    • Bridge Network: Docker creates a private network on a single server, allowing containers on that server to communicate using container names.
    • Port Mapping: Because applications listen on internal container ports (e.g., 9090), the internal port must be mapped or bound to a port on the host server so external requests can reach the application inside the container.
  3. Overlay Network: When containers span multiple servers, Docker's overlay network creates a virtual network that makes containers on different servers appear as if they were on the same network, allowing communication across hosts.
  4. Container Orchestration (Kubernetes - Pods, Services, Ingress): Kubernetes automates the management of hundreds of containers.
    • Pods: The basic unit in Kubernetes; each pod gets its own temporary IP address. Since pods are ephemeral (temporary), their IP addresses change when they are recreated or moved.
    • Kubernetes Services: Solve the problem of ephemeral pod IP addresses by providing a stable IP address and DNS name that never changes. The service automatically forwards the connection to a healthy, active pod behind it, ensuring uninterrupted connections.
    • Ingress: Handles all incoming traffic into the cluster, routing visitors to the correct service inside the cluster based on configured rules (like a reception desk routing visitors to the right department). Regardless of whether you are working with physical servers, cloud infrastructure, Docker, or Kubernetes, these underlying principles remain the same.

Reference:-
https://www.youtube.com/watch?v=xj_GjnD4uyI