We use analytics cookies.We use cookies to analyze site traffic and improve your experience.
Loading...
System Design Masterclass · Cloud Infrastructure
Free preview: the first 2 parts of this 7-part lesson.
Already bought the course? Sign in to read the whole lesson.
this lesson is part of
System Design Masterclass
Unlock this lesson and the 751 other paid lessons
$25 once, by PayPal
See the System Design courseread the rest of this lesson in
System Design Masterclass
Unlock this lesson and the 751 other paid lessons
$25 once, by PayPal
See the System Design coursein Cloud Infrastructure
This lesson is part of the full System Design Masterclass. Unlock it along with 769 other lessons for a one-time payment.
One-time payment by card or PayPal
Get Lifetime AccessOne-time payment: UPI, card or netbanking
Get Lifetime Access18 Foundation lessons are free, no payment needed. Try them now
In 2013, attackers compromised Target's network through an HVAC vendor. Once inside, they moved laterally, hopping from the vendor's system to the point-of-sale terminals, because the network was flat. Everything could reach everything. The result: 40 million stolen credit card numbers.
A flat network is one where every device can communicate with every other device. Convenient for small setups, catastrophic at scale. If an attacker compromises one machine, they can scan and attack the entire network.
Network segmentation breaks the network into isolated zones with controlled access between them. Your web servers can talk to your app servers. Your app servers can talk to your databases. But your web servers cannot talk directly to your databases. If a web server is compromised, the attacker is trapped in that segment, they can't reach the database without going through the app tier, where additional security controls are enforced.
This is defense in depth applied to networking. Every boundary is another barrier an attacker must overcome.
Tier-based segmentation: The most common pattern in cloud environments.
| Tier | Contains | Can Reach | Cannot Reach |
|---|---|---|---|
| Public (DMZ) | Load balancers, web servers | App tier | Database tier directly |
| Application | App servers, APIs | Database tier, external APIs | Public internet (via NAT only) |
| Data | Databases, caches | Nothing outbound | Public tier, internet |
| Management | Bastion hosts, | All tiers (restricted ports) | Internet (except updates) |
Implementation in cloud:
Microsegmentation (advanced): Instead of segmenting by tier, segment by individual workload. Each gets its own security group with rules allowing only the specific ports and protocols it needs. Service A can reach Service B on port 8080, but nothing else. This is the foundation of zero trust networking.
It is easy and good
“It is really nice and good Please join the course”