Build a Segmented Cloud Network
Cloud networking is not only about giving workloads IP addresses. A well-designed cloud network separates workloads by purpose, trust level, and exposure so that only required communication is allowed.
Welcome to Lab 03 of the CompTIA Cloud+ practical lab sequence.
In the previous lab, you deployed and managed a cloud virtual machine.
You worked with:
- compute
- operating systems
- virtual disks
- network interfaces
- private IP addresses
- public IP addresses
- administrative access
- monitoring
- VM lifecycle
- troubleshooting
Now you will move deeper into cloud networking.
The objective of this lab is to build:
Cloud Virtual Network | βββ Public Subnet | βββ Application Subnet | βββ Database SubnetThis structure introduces one of the most important ideas in cloud architecture:
Different workloads should not automatically live in the same network or have the same level of exposure.
π― Mission Information
Section titled βπ― Mission Informationβ| Item | Details |
|---|---|
| Lab | 03 β Build a Segmented Cloud Network |
| Difficulty | Beginner β Intermediate |
| Estimated Time | 60β90 Minutes |
| Certification Alignment | CompTIA Cloud+ |
| Primary Focus | Cloud Networking & Segmentation |
| Previous Lab | 02 β Deploy and Manage a Cloud Virtual Machine |
| Career Alignment | Cloud Administrator, Cloud Engineer, Cloud Security Engineer |
| Major Skills | CIDR, Subnets, Segmentation, Workload Placement, Traffic Flows |
| Deliverable | Segmented Cloud Network + Network Design Documentation |
π’ Scenario
Section titled βπ’ ScenarioβYour development team is expanding the lab environment.
The application will eventually contain:
-
an internet-facing web tier
-
an internal application tier
-
a database tier
Your manager does not want all systems placed into the same flat network.
Instead, you have been asked to design a basic three-tier cloud network.
The expected architecture is:
Internet βPublic Subnet βApplication Subnet βDatabase SubnetThe requirements are:
-
web resources may require controlled internet exposure
-
application resources should remain private
-
database resources should remain private
-
network ranges must not overlap
-
addressing must be documented
-
communication requirements must be clearly defined
π― Lab Objectives
Section titled βπ― Lab ObjectivesβBy completing this lab, you should be able to:
-
explain cloud virtual networks
-
understand CIDR notation
-
plan a cloud network address range
-
create multiple subnets
-
distinguish public and private subnet concepts
-
understand workload placement
-
explain network segmentation
-
create a traffic-flow matrix
-
document IP address allocation
-
understand routing boundaries
-
validate subnet creation
-
identify common segmentation mistakes
-
troubleshoot basic subnet-placement issues
-
explain the design during a technical interview
π§ Why This Lab Matters
Section titled βπ§ Why This Lab MattersβA beginner may design:
Cloud Network | βββ Web Server βββ Application Server βββ Database βββ ManagementEverything exists in one network.
That may work technically.
But it provides limited separation.
A more mature design uses:
Cloud Network | βββ Public / Web Tier | βββ Application Tier | βββ Database Tier | βββ Management TierThis improves:
-
organization
-
traffic control
-
security
-
troubleshooting
-
architecture clarity
π§ Segmentation Principle
Section titled βπ§ Segmentation PrincipleβA useful principle is:
Separate systems that have different trust levels or communication requirements.
01 β Understand the Cloud Virtual Network
Section titled β01 β Understand the Cloud Virtual NetworkβCloud providers offer logically isolated networking environments.
Depending on the platform, they may be called:
-
Virtual Private Cloud
-
Virtual Network
-
VPC/VNet
-
project network
Provider terminology differs.
The underlying concept is:
Cloud Environment βVirtual Network βSubnets βWorkloadsπ§ Provider-Neutral Thinking
Section titled βπ§ Provider-Neutral ThinkingβFor Cloud+, focus on:
Address Space βSubnets βRoutes βSecurity Controls βWorkloadsrather than memorizing one providerβs console.
02 β Review CIDR Notation
Section titled β02 β Review CIDR NotationβCIDR defines IP network ranges.
Example:
10.10.0.0/16This describes an IPv4 network.
A /16 provides a much larger range than a /24.
π§ Simple Comparison
Section titled βπ§ Simple Comparisonβ/16Large Network
/24Smaller Network
/28Much Smaller NetworkFor this lab, exact provider-reserved addresses may vary.
The objective is understanding:
how a larger network is divided into smaller subnets.
03 β Choose the Parent Network
Section titled β03 β Choose the Parent NetworkβFor this lab, use an example parent range such as:
10.10.0.0/16This will represent:
the entire Cloud+ lab network.
π Record
Section titled βπ RecordβCloud Network Name:cloudplus-lab-net-01
CIDR:10.10.0.0/16
Environment:Lab
Purpose:CompTIA Cloud+ Network Labs04 β Plan the Subnets Before Creating Them
Section titled β04 β Plan the Subnets Before Creating ThemβDo not immediately click:
Create Subnet.
First create an addressing plan.
A simple plan:
| Subnet | Purpose | CIDR |
|---|---|---|
| Public | Internet-facing workloads | 10.10.10.0/24 |
| Application | Internal application workloads | 10.10.20.0/24 |
| Database | Database workloads | 10.10.30.0/24 |
π§ Address Planning
Section titled βπ§ Address PlanningβThis gives you:
10.10.0.0/16 | βββ 10.10.10.0/24 β Public | βββ 10.10.20.0/24 β Application | βββ 10.10.30.0/24 Database05 β Check for Overlapping Networks
Section titled β05 β Check for Overlapping NetworksβSubnet ranges must not overlap.
Good:
10.10.10.0/2410.10.20.0/2410.10.30.0/24Incorrect:
10.10.10.0/2410.10.10.0/25if they are being created as independent sibling subnets inside the same address space.
π§ Why Overlap Is a Problem
Section titled βπ§ Why Overlap Is a ProblemβRouting depends on knowing:
which network owns the destination IP.
Overlapping addressing creates ambiguity and operational complexity.
06 β Understand the Public Subnet Concept
Section titled β06 β Understand the Public Subnet ConceptβA public subnet is typically a network intended for workloads that may need controlled external connectivity.
Conceptually:
Internet βPublic Routing βPublic Subnet βWeb Workloadπ¨ Important
Section titled βπ¨ ImportantβA subnet does not become securely public merely because it has a route to the internet.
Security also depends on:
-
workload addressing
-
network security rules
-
firewalls
-
services
-
authentication
07 β Understand the Private Application Subnet
Section titled β07 β Understand the Private Application SubnetβThe application tier should generally not require unrestricted inbound internet access.
Conceptually:
Web Tier βRequired Application Port βApplication TierThe application tier may still require outbound connectivity for:
-
updates
-
APIs
-
dependencies
but this should be controlled according to design requirements.
08 β Understand the Database Subnet
Section titled β08 β Understand the Database SubnetβThe database tier should generally have the narrowest exposure.
Concept:
Application Tier βRequired Database Service βDatabase TierAvoid:
Internet βDatabaseunless there is a specific and carefully controlled architecture requiring it.
π§ Database Security Principle
Section titled βπ§ Database Security PrincipleβAsk:
Which application actually needs to communicate with this database?
Then design access around that requirement.
09 β Create the Virtual Network
Section titled β09 β Create the Virtual NetworkβSign in to your approved cloud lab account.
Navigate to the virtual-networking service.
Create the primary network using your documented plan.
Example:
Name:cloudplus-lab-net-01
CIDR:10.10.0.0/16
Region:Primary Lab Region10 β Apply Tags
Section titled β10 β Apply TagsβUse the standards from Lab 01.
Example:
| Tag | Value |
|---|---|
| Environment | Lab |
| Course | CompTIA-CloudPlus |
| Purpose | Networking |
| Owner | Student |
11 β Create the Public Subnet
Section titled β11 β Create the Public SubnetβCreate:
Name:cloudplus-lab-subnet-public-01
CIDR:10.10.10.0/24
Purpose:Public / Web Tier12 β Create the Application Subnet
Section titled β12 β Create the Application SubnetβCreate:
Name:cloudplus-lab-subnet-app-01
CIDR:10.10.20.0/24
Purpose:Application Tier13 β Create the Database Subnet
Section titled β13 β Create the Database SubnetβCreate:
Name:cloudplus-lab-subnet-db-01
CIDR:10.10.30.0/24
Purpose:Database Tier14 β Verify All Subnets
Section titled β14 β Verify All SubnetsβYou should now have:
cloudplus-lab-net-01 | βββ cloudplus-lab-subnet-public-01 β 10.10.10.0/24 | βββ cloudplus-lab-subnet-app-01 β 10.10.20.0/24 | βββ cloudplus-lab-subnet-db-01 10.10.30.0/24π§ͺ Validation Table
Section titled βπ§ͺ Validation Tableβ| Subnet | CIDR | Created? |
|---|---|---|
| Public | 10.10.10.0/24 | |
| Application | 10.10.20.0/24 | |
| Database | 10.10.30.0/24 |
15 β Understand Reserved Addresses
Section titled β15 β Understand Reserved AddressesβCloud providers may reserve some addresses inside each subnet.
Do not assume every IP in a /24 is always available for workload assignment.
π§ Cloud+ Principle
Section titled βπ§ Cloud+ PrincipleβAlways check:
provider-specific reserved addresses
before doing detailed capacity planning.
16 β Understand Workload Placement
Section titled β16 β Understand Workload PlacementβNow decide where different workload types belong.
Use:
| Workload | Recommended Tier |
|---|---|
| Internet-facing Web Server | Public |
| Application Server | Application |
| Database | Database |
| Management Workload | Separate/Controlled Management Tier |
π§ Placement Matters
Section titled βπ§ Placement MattersβA workloadβs network placement determines:
-
which routes apply
-
which controls apply
-
which systems can reach it
-
how exposed it may become
17 β Place the Previous VM Into the Design
Section titled β17 β Place the Previous VM Into the DesignβThe VM from Lab 02 may conceptually become:
cloudplus-lab-vm-01 βPublic Subnetif you are using it as a temporary web/administrative workload.
If your cloud platform makes moving an existing VM between networks difficult, you do not need to rebuild it purely for this lab.
Document its intended placement.
18 β Build the Logical Application Architecture
Section titled β18 β Build the Logical Application ArchitectureβYour target design is now:
Internet βPublic Subnet10.10.10.0/24 βApplication Subnet10.10.20.0/24 βDatabase Subnet10.10.30.0/2419 β Create the Traffic Requirements
Section titled β19 β Create the Traffic RequirementsβBefore creating security controls, define what communication should be required.
Example:
Internet βHTTPS βWeb Tier
Web Tier βApplication Service βApplication Tier
Application Tier βDatabase Service βDatabase Tier20 β Build a Traffic-Flow Matrix
Section titled β20 β Build a Traffic-Flow MatrixβCreate:
| Source | Destination | Service | Required? |
|---|---|---|---|
| Internet | Web Tier | HTTPS | Yes |
| Internet | App Tier | Any | No |
| Internet | Database | Any | No |
| Web Tier | App Tier | Application Port | Yes |
| Web Tier | Database | Database Port | Usually No |
| App Tier | Database | Database Port | Yes |
| Database | Internet | Unrestricted | Review |
π§ Why Build the Matrix First?
Section titled βπ§ Why Build the Matrix First?βSecurity rules become easier when you know:
what the application actually needs.
Do not begin with:
Allow Any βAnyand tighten later if you can design correctly first.
21 β Understand North-South Traffic
Section titled β21 β Understand North-South TrafficβNorth-south traffic generally refers to traffic entering or leaving the environment.
Example:
Internet βWeb Tier22 β Understand East-West Traffic
Section titled β22 β Understand East-West TrafficβEast-west traffic generally refers to communication between internal workloads or tiers.
Example:
Web βApplication βDatabaseπ§ Security Importance
Section titled βπ§ Security ImportanceβMany attacks begin externally but then move:
east-west.
Segmentation can reduce lateral movement.
23 β Understand Routing Between Subnets
Section titled β23 β Understand Routing Between SubnetsβDifferent subnets require routing to communicate.
Conceptually:
10.10.10.0/24 βRouting β10.10.20.0/24In many cloud environments, local routes may be automatically provided inside the same virtual network.
π¨ Important
Section titled βπ¨ ImportantβRouting enables a path.
It does not necessarily mean:
traffic should be allowed.
Security policy is a separate decision.
24 β Review the Default Route Table
Section titled β24 β Review the Default Route TableβLocate the networkβs routing information.
Look for:
-
local network routes
-
internet/default routes if configured
-
subnet associations where applicable
π§ Routing Question
Section titled βπ§ Routing QuestionβAsk:
If a workload in the application subnet sends traffic to the database subnet, which route will be used?
25 β Document Existing Routes
Section titled β25 β Document Existing RoutesβCreate:
| Destination | Next Hop / Target | Purpose |
|---|---|---|
| 10.10.0.0/16 | Local/Internal | Inter-subnet |
Do not add an internet route yet unless your provider requires it for your intended design.
That comes deeper in the next lab.
26 β Understand Internet Routing
Section titled β26 β Understand Internet RoutingβInternet access commonly involves some combination of:
Subnet βRoute Table βInternet Gateway / Equivalent βInternetThe exact terminology varies by provider.
π§ Important
Section titled βπ§ ImportantβA route such as:
0.0.0.0/0commonly represents:
all IPv4 destinations not matched by a more specific route.
27 β Do Not Make Every Subnet Public
Section titled β27 β Do Not Make Every Subnet PublicβAvoid:
Public SubnetApplication SubnetDatabase Subnet βInternet Gateway βDirect Public Exposureunless the design explicitly requires it.
π‘οΈ Better Principle
Section titled βπ‘οΈ Better PrincipleβPublic Tier βControlled Internet Exposure
Application Tier βPrivate
Database Tier βPrivate28 β Understand Private Subnet Internet Access
Section titled β28 β Understand Private Subnet Internet AccessβPrivate workloads may still need outbound access for:
-
package updates
-
external APIs
-
software repositories
This can be provided through controlled outbound mechanisms without directly exposing those workloads inbound.
You will explore this further in:
Lab 04 β Configure Cloud Routing and Internet Access
29 β Consider a Management Tier
Section titled β29 β Consider a Management TierβAn enterprise design may also use:
Cloud Network | βββ Public βββ Application βββ Database βββ ManagementA possible management range could be:
10.10.40.0/24For this lab, you do not need to deploy it unless desired.
Document it as:
future architecture.
π§ Why Separate Management?
Section titled βπ§ Why Separate Management?βAdministration has a different trust requirement from application traffic.
Prefer:
Approved Administrator βManagement Path βWorkload Administrationrather than exposing administration throughout the normal user/application network.
30 β Plan for Availability
Section titled β30 β Plan for AvailabilityβIn a production architecture, you may eventually distribute workloads across multiple failure domains.
Example:
Region | βββ Zone A β βββ Public Subnet β βββ App Subnet β βββ DB Subnet | βββ Zone B βββ Public Subnet βββ App Subnet βββ DB Subnetπ§ For This Lab
Section titled βπ§ For This LabβKeep the design simple.
You will explore high availability later in the Cloud+ lab sequence.
31 β Review Subnet Capacity
Section titled β31 β Review Subnet CapacityβA /24 provides far more addresses than this small lab requires.
That is acceptable for learning.
But in enterprise planning, consider:
-
expected workload growth
-
reserved addresses
-
load balancers
-
scaling
-
management interfaces
π§ Capacity Planning Principle
Section titled βπ§ Capacity Planning PrincipleβDo not size a subnet only for:
what exists today.
Consider:
what may exist later.
32 β Create an IP Address Plan
Section titled β32 β Create an IP Address PlanβUse:
| Tier | CIDR | Example Workload IP |
|---|---|---|
| Public | 10.10.10.0/24 | 10.10.10.10 |
| App | 10.10.20.0/24 | 10.10.20.10 |
| DB | 10.10.30.0/24 | 10.10.30.10 |
| Management | 10.10.40.0/24 | Future |
33 β Create a Workload Inventory
Section titled β33 β Create a Workload InventoryβPlan:
| Workload | Tier | Public IP Needed? |
|---|---|---|
| Web VM | Public | Possibly |
| App VM | Application | No |
| DB VM | Database | No |
| Admin VM | Management | Review |
π§ Public IP Principle
Section titled βπ§ Public IP PrincipleβDo not assign public IP addresses because:
it makes administration easier.
Use them only when the architecture requires them.
34 β Review Security Boundaries
Section titled β34 β Review Security BoundariesβYour network now contains three trust areas.
Internet | v[ PUBLIC ] | v[ APPLICATION ] | v[ DATABASE ]π§ Trust Principle
Section titled βπ§ Trust PrincipleβAs you move deeper into the environment:
exposure should generally become more restricted.
35 β Identify Potential Attack Paths
Section titled β35 β Identify Potential Attack PathsβConsider this poor design:
Internet βWeb Server βDatabaseIf the web server is compromised and has unrestricted database access, the attacker may gain a direct path to sensitive data.
π‘οΈ Better Design
Section titled βπ‘οΈ Better DesignβInternet βWeb Tier βRequired App Service βApplication Tier βRequired DB Service βDatabaseEach step becomes an opportunity to enforce:
-
routing
-
network policy
-
authentication
-
logging
36 β Perform a Segmentation Review
Section titled β36 β Perform a Segmentation ReviewβAsk:
Public Tier
Section titled βPublic TierβShould it communicate directly with the database?
Usually:
No.
Application Tier
Section titled βApplication TierβShould it be reachable directly from the internet?
Usually:
No.
Database Tier
Section titled βDatabase TierβShould users directly connect?
Usually:
No.
37 β Build a Segmentation Checklist
Section titled β37 β Build a Segmentation Checklistβ[ ] Public subnet created[ ] Application subnet created[ ] Database subnet created[ ] Networks do not overlap[ ] App tier intended as private[ ] DB tier intended as private[ ] Traffic requirements documented[ ] Public IP requirements documented[ ] Network routes reviewed[ ] Management access considered38 β Validate the Cloud Console
Section titled β38 β Validate the Cloud ConsoleβConfirm that your provider shows all expected network resources.
Check:
Virtual Network βThree Subnets βCorrect CIDRs βCorrect Region βCorrect Tags39 β Inspect Subnet Associations
Section titled β39 β Inspect Subnet AssociationsβWhere applicable, identify which:
-
route table
-
security control
-
availability location
is associated with each subnet.
Record:
| Subnet | Route Table | Security Association | Zone |
|---|---|---|---|
| Public | |||
| Application | |||
| Database |
40 β Identify Default Resources
Section titled β40 β Identify Default ResourcesβYour cloud provider may automatically create:
-
default routes
-
default network rules
-
default ACLs
π§ Important
Section titled βπ§ ImportantβDo not assume:
default = secure.
Review what the defaults actually allow.
41 β Identify Unnecessary Default Networks
Section titled β41 β Identify Unnecessary Default NetworksβSome providers may automatically create a default cloud network.
You may now have:
Default Network+cloudplus-lab-net-01Do not delete provider defaults unless:
-
you understand their use
-
nothing depends on them
-
deletion is appropriate for your lab
π§ Operational Principle
Section titled βπ§ Operational PrincipleβDo not delete resources simply because:
you did not create them.
Understand dependencies first.
42 β Simulate a Workload Placement Decision
Section titled β42 β Simulate a Workload Placement DecisionβYour manager asks:
Where should we deploy an internet-facing web application?
Answer:
Public-facing tier/subnet, with controlled internet routing and security policy.
43 β Simulate an Application Placement Decision
Section titled β43 β Simulate an Application Placement DecisionβYour manager asks:
Where should the internal application service run?
Answer:
Application/private subnet.
44 β Simulate a Database Placement Decision
Section titled β44 β Simulate a Database Placement DecisionβYour manager asks:
Where should the production database be deployed?
Answer:
Private database tier with access limited to required application sources.
45 β Simulate a Bad Architecture
Section titled β45 β Simulate a Bad ArchitectureβConsider:
Internet βPublic IP βDatabaseAsk:
What risks does this create?
Potential concerns:
-
unnecessary exposure
-
direct attack surface
-
brute-force attempts
-
vulnerability targeting
46 β Troubleshooting Scenario β VM in Wrong Subnet
Section titled β46 β Troubleshooting Scenario β VM in Wrong SubnetβSuppose a database VM was accidentally deployed into:
Public Subnetinstead of:
Database SubnetDo not only change a security rule.
First identify:
workload placement is incorrect.
π§ Root Cause Thinking
Section titled βπ§ Root Cause ThinkingβDifferentiate:
Security Rule Problemfrom:
Architecture / Placement Problem47 β Troubleshooting Scenario β Overlapping Address Plan
Section titled β47 β Troubleshooting Scenario β Overlapping Address PlanβSuppose someone proposes:
Public:10.10.20.0/24
Application:10.10.20.0/25Identify the overlap before deployment.
π§ Cloud Engineer Habit
Section titled βπ§ Cloud Engineer HabitβArchitecture review before deployment prevents:
expensive rework later.
48 β Troubleshooting Scenario β Wrong CIDR
Section titled β48 β Troubleshooting Scenario β Wrong CIDRβSuppose your parent network is:
10.10.0.0/16and someone attempts to create:
10.20.10.0/24inside it.
This child range is outside the parent network.
The provider should reject it or require another address space.
49 β Build the Final Network Diagram
Section titled β49 β Build the Final Network DiagramβCreate:
Internet | v Public Connectivity | v +----------------------+ | Public Subnet | | 10.10.10.0/24 | | Web Tier | +----------------------+ | | Required Application Traffic v +----------------------+ | Application Subnet | | 10.10.20.0/24 | | Application Tier | +----------------------+ | | Required DB Traffic v +----------------------+ | Database Subnet | | 10.10.30.0/24 | | Database Tier | +----------------------+50 β Create the Network Design Record
Section titled β50 β Create the Network Design RecordβDocument:
Network Name:cloudplus-lab-net-01
Parent CIDR:10.10.0.0/16
Public Subnet:10.10.10.0/24
Application Subnet:10.10.20.0/24
Database Subnet:10.10.30.0/24
Management Subnet:Future / Optional
Primary Region:
Purpose:CompTIA Cloud+ Lab
Segmentation Strategy:Three-Tier51 β Create the Communication Requirements
Section titled β51 β Create the Communication RequirementsβDocument:
Internet β Web:Required
Internet β Application:Not Required
Internet β Database:Not Required
Web β Application:Required
Web β Database:Not Required
Application β Database:Required
Management β Workloads:Controlled Administrative Access52 β Review Security Expectations
Section titled β52 β Review Security ExpectationsβAlthough detailed network security rules come in Lab 05, define expectations now.
Public Tier
Section titled βPublic TierβPotentially:
Internet βHTTPS βWebApplication Tier
Section titled βApplication TierβPotentially:
Web Tier βRequired Application Port βAppDatabase Tier
Section titled βDatabase TierβPotentially:
Application Tier βRequired Database Port βDatabaseπ§ Design Before Configuration
Section titled βπ§ Design Before ConfigurationβThis is an important professional habit:
Application Requirement βTraffic Flow βArchitecture βSecurity Policynot:
Create Random Rules βSee What Works53 β Update Your Resource Inventory
Section titled β53 β Update Your Resource InventoryβAdd:
| Resource | Type | CIDR | Purpose | Cleanup Status |
|---|---|---|---|---|
| cloudplus-lab-net-01 | Virtual Network | 10.10.0.0/16 | Cloud+ Lab | Active |
| cloudplus-lab-subnet-public-01 | Subnet | 10.10.10.0/24 | Public Tier | Active |
| cloudplus-lab-subnet-app-01 | Subnet | 10.10.20.0/24 | App Tier | Active |
| cloudplus-lab-subnet-db-01 | Subnet | 10.10.30.0/24 | DB Tier | Active |
54 β Capture Evidence
Section titled β54 β Capture EvidenceβCapture sanitized evidence of:
-
virtual network
-
CIDR
-
public subnet
-
application subnet
-
database subnet
-
tags
-
route-table view where applicable
Do not expose:
-
account identifiers
-
secrets
-
private credentials
55 β Perform Final Validation
Section titled β55 β Perform Final ValidationβVerify:
Correct Account βCorrect Region βNetwork Created βParent CIDR Correct βPublic Subnet Correct βApplication Subnet Correct βDatabase Subnet Correct βNo Overlap βTraffic Flows Documentedπ§ͺ Final Validation Checklist
Section titled βπ§ͺ Final Validation Checklistβ| Validation | Status |
|---|---|
| Virtual network created | |
| Parent CIDR correct | |
| Public subnet created | |
| Application subnet created | |
| Database subnet created | |
| No overlapping CIDRs | |
| Region verified | |
| Tags applied | |
| Workload placement defined | |
| Public/private intent documented | |
| Traffic-flow matrix created | |
| Routing reviewed | |
| Management tier considered | |
| Architecture diagram created | |
| Resource inventory updated |
56 β Cleanup Decision
Section titled β56 β Cleanup DecisionβUnlike the VM lab, do not immediately delete this network if you plan to continue the Cloud+ sequence.
The following labs will build on it.
Retain:
cloudplus-lab-net-01
cloudplus-lab-subnet-public-01
cloudplus-lab-subnet-app-01
cloudplus-lab-subnet-db-01unless you are intentionally ending the lab environment.
π§ Lab Dependency
Section titled βπ§ Lab DependencyβThese resources will support later exercises involving:
-
routing
-
internet access
-
security groups
-
DNS
-
load balancing
-
three-tier applications
π€ Interview Questions
Section titled βπ€ Interview QuestionsβPractice without notes.
1. What is a cloud virtual network?
Section titled β1. What is a cloud virtual network?β2. What is CIDR?
Section titled β2. What is CIDR?β3. Why do we subnet a cloud network?
Section titled β3. Why do we subnet a cloud network?β4. What is network segmentation?
Section titled β4. What is network segmentation?β5. What is a public subnet?
Section titled β5. What is a public subnet?β6. What is a private subnet?
Section titled β6. What is a private subnet?β7. Why should a database normally be private?
Section titled β7. Why should a database normally be private?β8. What is a three-tier architecture?
Section titled β8. What is a three-tier architecture?β9. What is north-south traffic?
Section titled β9. What is north-south traffic?β10. What is east-west traffic?
Section titled β10. What is east-west traffic?β11. Why should subnet ranges not overlap?
Section titled β11. Why should subnet ranges not overlap?β12. What does a route table do?
Section titled β12. What does a route table do?β13. Does routing automatically mean traffic is allowed?
Section titled β13. Does routing automatically mean traffic is allowed?β14. Why separate application and database tiers?
Section titled β14. Why separate application and database tiers?β15. Why create a traffic-flow matrix before firewall rules?
Section titled β15. Why create a traffic-flow matrix before firewall rules?β16. What is workload placement?
Section titled β16. What is workload placement?β17. Why should not every VM have a public IP?
Section titled β17. Why should not every VM have a public IP?β18. What is the purpose of a management subnet?
Section titled β18. What is the purpose of a management subnet?β19. What is lateral movement?
Section titled β19. What is lateral movement?β20. How can segmentation reduce security risk?
Section titled β20. How can segmentation reduce security risk?βπ¨ Scenario Interview Question 1
Section titled βπ¨ Scenario Interview Question 1βAn application has web, application, and database components. How would you segment them?
A strong answer:
Public / Web Tier βApplication Tier βDatabase TierThen limit communication to required services between tiers.
π¨ Scenario Interview Question 2
Section titled βπ¨ Scenario Interview Question 2βA database server has been deployed into the public subnet.
Do not simply say:
block the internet.
Discuss:
-
workload placement
-
private subnet
-
required application sources
-
public IP removal where applicable
-
security-policy review
π¨ Scenario Interview Question 3
Section titled βπ¨ Scenario Interview Question 3βThe web server needs to reach the database.
Ask first:
Does the architecture actually require direct Web β Database communication?
If not, prefer:
Web βApplication βDatabaseπ¨ Scenario Interview Question 4
Section titled βπ¨ Scenario Interview Question 4βTwo subnets cannot communicate.
Investigate:
Source IP βSubnet βRoute βSecurity Policy βDestination βReturn Pathπ¨ Scenario Interview Question 5
Section titled βπ¨ Scenario Interview Question 5βA developer wants all workloads in one subnet because it is easier.
Explain the operational and security benefits of segmentation:
-
clearer architecture
-
reduced exposure
-
better policy enforcement
-
smaller blast radius
π¨ Scenario Interview Question 6
Section titled βπ¨ Scenario Interview Question 6βA private application server needs software updates from the internet.
Do not automatically assign it a public IP.
Consider controlled outbound connectivity.
This will be explored in the next lab.
π§ Cloud Networking Interview Framework
Section titled βπ§ Cloud Networking Interview FrameworkβUse:
Requirement βNetwork βSubnet βWorkload Placement βRoute βSecurity Policy βValidationπ¬ Interview Tip
Section titled βπ¬ Interview TipβAvoid:
βI would create three subnets because that is best practice.β
A stronger answer is:
βI would first understand the applicationβs trust boundaries and communication requirements. I would place internet-facing resources in the public tier, application workloads in a private application tier, and databases in a more restricted private tier. I would then define required traffic flows, routing, and security controls so each tier can communicate only as required.β
That demonstrates Cloud Engineer thinking.
π Portfolio Deliverables
Section titled βπ Portfolio DeliverablesβKeep sanitized copies of:
1. Network Architecture Diagram
Section titled β1. Network Architecture DiagramβShow:
Internet βPublic βApplication βDatabase2. IP Address Plan
Section titled β2. IP Address PlanβInclude:
-
parent CIDR
-
subnet CIDRs
-
purpose
3. Traffic-Flow Matrix
Section titled β3. Traffic-Flow MatrixβDocument required communication.
4. Workload Placement Table
Section titled β4. Workload Placement TableβShow where different systems belong.
5. Segmentation Checklist
Section titled β5. Segmentation ChecklistβDocument your design review.
π Resume Examples
Section titled βπ Resume ExamplesβInstead of:
Created cloud subnets.
Use:
Designed a segmented cloud network using dedicated public, application, and database subnets with documented CIDR planning, workload placement, trust boundaries, and traffic-flow requirements.
Or:
Built a three-tier cloud-network architecture and documented east-west and north-south communication requirements to support least-privilege network-security controls.
β Job-Readiness Check
Section titled ββ Job-Readiness CheckβYou should now be able to:
-
explain cloud virtual networks
-
understand CIDR
-
create a basic IP addressing plan
-
create subnets
-
identify overlapping ranges
-
explain public and private subnet concepts
-
place workloads appropriately
-
explain three-tier architecture
-
understand basic routing concepts
-
distinguish routing from security policy
-
document traffic flows
-
explain north-south traffic
-
explain east-west traffic
-
identify risky public exposure
-
explain why databases should usually be private
-
create a network architecture diagram
π Mission Complete
Section titled βπ Mission CompleteβYou have now moved from:
Single VMto:
Structured Cloud Network βPublic Tier βApplication Tier βDatabase TierThe most important lesson from this lab is:
Cloud-network design begins with communication requirements and trust boundariesβnot with firewall rules.
A well-designed network makes later security easier.
π Whatβs Next?
Section titled βπ Whatβs Next?βYour subnets now exist, but you have not yet fully defined:
how traffic gets in, out, and between the networks.
The next lab focuses on routing and internet connectivity.
You will work with:
-
route tables
-
default routes
-
internet gateways or equivalents
-
public connectivity
-
private subnet outbound access
-
NAT concepts
-
route associations
-
traffic-path validation
-
broken-route troubleshooting
You will follow:
Workload βSubnet βRoute Table βGateway / Next Hop βDestinationβ‘οΈ Next: Lab 04 β Configure Cloud Routing and Internet Access