Configure Cloud Routing and Internet Access
A subnet does not communicate with other networks simply because it exists. Routing determines where traffic goes, while security controls determine whether that traffic should be allowed.
Welcome to Lab 04 of the CompTIA Cloud+ practical lab sequence.
In the previous lab, you created a segmented cloud network containing:
Cloud Virtual Network | βββ Public Subnet | βββ Application Subnet | βββ Database SubnetNow you will make that network behave like a real cloud environment.
You will configure and understand:
-
route tables
-
local routes
-
default routes
-
public internet access
-
internet gateways or provider equivalents
-
private outbound connectivity
-
NAT
-
subnet associations
-
traffic paths
-
return routes
-
routing troubleshooting
The objective is not simply:
Make the VM reach the internet.
The objective is:
Understand exactly how traffic leaves a workload, which routing decisions are made, which gateway is used, and why public and private subnets require different designs.
π― Mission Information
Section titled βπ― Mission Informationβ| Item | Details |
|---|---|
| Lab | 04 β Configure Cloud Routing and Internet Access |
| Difficulty | Beginner β Intermediate |
| Estimated Time | 60β90 Minutes |
| Certification Alignment | CompTIA Cloud+ |
| Primary Focus | Cloud Routing & Internet Connectivity |
| Previous Lab | 03 β Build a Segmented Cloud Network |
| Career Alignment | Cloud Administrator, Cloud Engineer, Cloud Security Engineer |
| Major Skills | Route Tables, Default Routes, Internet Gateways, NAT, Troubleshooting |
| Deliverable | Routed Cloud Network + Traffic Path Documentation |
π’ Scenario
Section titled βπ’ ScenarioβYour three-tier network is ready.
The application team now has additional requirements.
The web tier must:
-
receive controlled internet traffic
-
access external services when required
The application tier must:
-
communicate with the web tier
-
communicate with the database tier
-
obtain software updates
-
remain directly inaccessible from the internet
The database tier must:
-
communicate with the application tier
-
remain private
-
avoid unnecessary direct internet exposure
Your manager asks you to configure the routing design.
The target architecture is:
Internet | v Internet Gateway | v +------------------+ | Public Subnet | | 10.10.10.0/24 | +------------------+ | v +------------------+ | Application | | 10.10.20.0/24 | +------------------+ | v +------------------+ | Database | | 10.10.30.0/24 | +------------------+For outbound private access, the application tier may use:
Application Subnet βNAT / Outbound Gateway βInternetrather than receiving a public IP itself.
π― Lab Objectives
Section titled βπ― Lab ObjectivesβBy completing this lab, you should be able to:
-
explain cloud route tables
-
understand destination and next-hop concepts
-
identify local routes
-
understand default routes
-
explain
0.0.0.0/0 -
understand internet-gateway concepts
-
identify what makes a subnet effectively public
-
understand private subnet routing
-
explain NAT
-
distinguish inbound and outbound internet access
-
configure subnet route associations
-
validate traffic paths
-
understand return routing
-
troubleshoot unreachable workloads
-
distinguish routing problems from security problems
-
document cloud routes professionally
π§ Why This Lab Matters
Section titled βπ§ Why This Lab MattersβA common beginner assumption is:
VM Has Public IP βInternet WorksCloud networking is more complex.
A working path may require:
Workload βNetwork Interface βSubnet βRoute Table βGateway βSecurity Controls βInternetIf any required component is missing, connectivity may fail.
π§ Routing vs Security
Section titled βπ§ Routing vs SecurityβThis distinction is essential.
Routing asks:
Section titled βRouting asks:βWhere should the packet go?
Security asks:
Section titled βSecurity asks:βShould the packet be permitted?
A route may exist while a firewall blocks traffic.
A firewall may allow traffic while no valid route exists.
01 β Review the Existing Architecture
Section titled β01 β Review the Existing ArchitectureβYour current network should resemble:
10.10.0.0/16 | βββ 10.10.10.0/24 β Public | βββ 10.10.20.0/24 β Application | βββ 10.10.30.0/24 DatabaseConfirm that these resources still exist.
π§ͺ Validation
Section titled βπ§ͺ Validationβ| Resource | Expected |
|---|---|
| Parent Network | 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 |
02 β Understand a Route Table
Section titled β02 β Understand a Route TableβA route table contains rules that tell the cloud network where traffic should go.
Each route typically contains:
Destination+Next Hop / TargetExample:
10.10.0.0/16 βLocalThis may mean:
traffic destined for another subnet inside the same cloud network can remain within the virtual network.
03 β Understand Route Selection
Section titled β03 β Understand Route SelectionβSuppose a workload wants to reach:
10.10.20.15The routing system checks the route table for the most appropriate destination match.
Conceptually:
Destination IP βRoute Table βBest Matching Route βNext Hopπ§ Longest Prefix Match
Section titled βπ§ Longest Prefix MatchβRouting generally prefers the most specific applicable route.
Example:
10.10.20.0/24is more specific than:
10.10.0.0/16This principle becomes important in more advanced routing designs.
04 β Review the Existing Local Route
Section titled β04 β Review the Existing Local RouteβOpen the route table associated with your cloud network or subnet.
Look for a route similar to:
Destination:10.10.0.0/16
Target:Local / Virtual NetworkProvider terminology may differ.
π§ What This Means
Section titled βπ§ What This MeansβThe route permits knowledge of destinations inside:
10.10.0.0/16including:
-
10.10.10.0/24
-
10.10.20.0/24
-
10.10.30.0/24
Security controls can still restrict actual traffic.
05 β Create a Public Route Table
Section titled β05 β Create a Public Route TableβCreate a route table for the public subnet.
Example name:
cloudplus-lab-rt-public-01Apply your standard tags.
06 β Associate the Public Subnet
Section titled β06 β Associate the Public SubnetβAssociate:
cloudplus-lab-subnet-public-01with:
cloudplus-lab-rt-public-01π§ Why Associations Matter
Section titled βπ§ Why Associations MatterβCreating a route table is not enough.
The subnet must actually use it.
07 β Understand the Default Route
Section titled β07 β Understand the Default RouteβA default IPv4 route is commonly represented as:
0.0.0.0/0This means:
destinations not matched by a more specific route.
π§ Example
Section titled βπ§ ExampleβSuppose your route table contains:
10.10.0.0/16 β Local
0.0.0.0/0 β Internet GatewayTraffic destined for:
10.10.20.15uses the local route.
Traffic destined for:
8.8.8.8would use the default route.
08 β Understand the Internet Gateway
Section titled β08 β Understand the Internet GatewayβCloud providers commonly provide a gateway mechanism that connects a virtual network to the public internet.
Conceptually:
Cloud Network βInternet Gateway βInternetDifferent providers use different product names.
For Cloud+, focus on the concept.
09 β Create or Attach the Internet Gateway
Section titled β09 β Create or Attach the Internet GatewayβWhere required by your provider:
-
create the internet gateway
-
attach it to the cloud network
Example name:
cloudplus-lab-igw-01π Record
Section titled βπ RecordβGateway Name:
Network:
Region:
Status:10 β Add the Public Default Route
Section titled β10 β Add the Public Default RouteβAdd:
Destination:0.0.0.0/0
Next Hop:Internet Gatewayto the public route table.
The conceptual table becomes:
| Destination | Target |
|---|---|
| 10.10.0.0/16 | Local |
| 0.0.0.0/0 | Internet Gateway |
π§ Important
Section titled βπ§ ImportantβThis does not automatically make every workload publicly accessible.
A workload may also require:
-
public addressing
-
security rules
-
a listening service
-
appropriate OS configuration
11 β Understand What Makes a Subnet Public
Section titled β11 β Understand What Makes a Subnet PublicβA public subnet is generally one where workloads can have a direct route to/from the internet through an appropriate gateway and addressing model.
Conceptually:
Public Workload βPublic IP βPublic Subnet Route βInternet Gateway βInternetπ¨ Important
Section titled βπ¨ ImportantβDo not define public subnet as:
a subnet containing public IPs.
Routing architecture is a major part of the definition.
12 β Place a Test Workload in the Public Subnet
Section titled β12 β Place a Test Workload in the Public SubnetβUse the VM from Lab 02 if appropriate, or deploy a small test VM in:
10.10.10.0/24Follow your existing naming and cost controls.
Example:
cloudplus-lab-web-0113 β Review Its Addresses
Section titled β13 β Review Its AddressesβRecord:
Private IP:
Public IP:
Subnet:
Route Table:14 β Validate Public Outbound Connectivity
Section titled β14 β Validate Public Outbound ConnectivityβConnect to the VM using your approved management path.
Test outbound connectivity to an approved external destination.
For example:
curl https://example.comor another approved connectivity test.
π§ Troubleshooting Reminder
Section titled βπ§ Troubleshooting ReminderβIf the test fails, do not immediately blame routing.
Check:
RouteSecurityDNSApplication15 β Validate DNS Separately
Section titled β15 β Validate DNS SeparatelyβTest hostname resolution.
For example:
nslookup example.comor:
dig example.comdepending on the system.
π§ Why Test Separately?
Section titled βπ§ Why Test Separately?βIf:
IP Connectivity Worksbut:
Hostname Resolution Failsthe likely problem is DNS, not routing.
16 β Test Internet Reachability by IP
Section titled β16 β Test Internet Reachability by IPβWhere appropriate and permitted, test a known external IP.
This helps distinguish:
Routingfrom:
DNS17 β Understand Inbound Connectivity
Section titled β17 β Understand Inbound ConnectivityβInbound communication follows the opposite direction conceptually:
Internet User βPublic IP βInternet Gateway βPublic Subnet βWorkloadBut the path must also satisfy:
-
network security rules
-
host firewall
-
application listener
18 β Review Administrative Exposure
Section titled β18 β Review Administrative ExposureβIf SSH is used, confirm that access is restricted.
Prefer:
Trusted Administrator IP βTCP 22 βWeb / Admin VMinstead of:
Internet βTCP 22 βVMfrom everywhere.
19 β Create the Application Route Table
Section titled β19 β Create the Application Route TableβCreate:
cloudplus-lab-rt-app-01Associate it with:
cloudplus-lab-subnet-app-0120 β Review the Application Route Table
Section titled β20 β Review the Application Route TableβInitially, it may contain only local cloud-network routes.
For example:
| Destination | Target |
|---|---|
| 10.10.0.0/16 | Local |
This permits internal route awareness but provides no direct default internet path.
21 β Understand the Private Subnet Concept
Section titled β21 β Understand the Private Subnet ConceptβThe application subnet is intended to remain private.
A workload there should not require:
Public IP+Direct Public Routefor normal inbound internet access.
π§ Private Does Not Mean Isolated
Section titled βπ§ Private Does Not Mean IsolatedβPrivate workloads may still need:
-
software updates
-
external APIs
-
package repositories
This creates the need for controlled outbound connectivity.
22 β Understand NAT
Section titled β22 β Understand NATβNetwork Address Translation can allow private workloads to initiate outbound internet connections without requiring direct public inbound exposure.
Conceptually:
Private VM10.10.20.10 βNAT βPublic Address βInternetπ§ Important
Section titled βπ§ ImportantβNAT commonly allows:
Private β Internetfor initiated outbound sessions.
It does not automatically allow:
Internet β Private VMas a directly initiated connection.
23 β Understand NAT Gateway / Equivalent
Section titled β23 β Understand NAT Gateway / EquivalentβCloud providers may offer managed outbound NAT services.
Conceptually:
Application Subnet βRoute Table βNAT Gateway βPublic Network βInternetProvider terminology may differ.
24 β Determine Whether NAT Is Required
Section titled β24 β Determine Whether NAT Is RequiredβAsk:
Does the application subnet require outbound internet access?
If the answer is no:
do not create NAT unnecessarily.
If yes, continue.
π§ Cost Awareness
Section titled βπ§ Cost AwarenessβManaged NAT services may create charges.
Review pricing before deployment.
Use only when appropriate for your lab.
25 β Create the Outbound NAT Component
Section titled β25 β Create the Outbound NAT ComponentβWhere appropriate and affordable in your lab environment:
-
create a NAT gateway or provider equivalent
-
place/configure it according to provider requirements
Example name:
cloudplus-lab-nat-01β οΈ Alternative for Cost-Constrained Labs
Section titled ββ οΈ Alternative for Cost-Constrained LabsβIf a managed NAT service would create unwanted charges, you may complete the architecture and routing analysis without leaving the resource deployed.
The learning objective is understanding:
private outbound connectivity.
26 β Add the Application Default Route
Section titled β26 β Add the Application Default RouteβConfigure the application route table conceptually as:
0.0.0.0/0 βNAT GatewayThe full table may resemble:
| Destination | Target |
|---|---|
| 10.10.0.0/16 | Local |
| 0.0.0.0/0 | NAT Gateway |
27 β Deploy or Use a Private Application VM
Section titled β27 β Deploy or Use a Private Application VMβCreate or place a small VM in:
10.10.20.0/24Example:
cloudplus-lab-app-01Do not assign a public IP unless your provider or lab design specifically requires one.
28 β Verify the Application VM Is Private
Section titled β28 β Verify the Application VM Is PrivateβRecord:
Private IP:
Public IP:None / Not Assigned
Subnet:Application
Route Table:Application29 β Determine How to Administer the Private VM
Section titled β29 β Determine How to Administer the Private VMβBecause the VM has no public IP, direct SSH from the internet should not be expected.
Possible enterprise administration models include:
-
bastion/jump host
-
VPN
-
private management service
-
provider-managed session service
π§ Architecture Lesson
Section titled βπ§ Architecture LessonβPrivate workload administration should use:
a controlled management path.
Not:
assign a public IP temporarily every time.
30 β Understand a Bastion Concept
Section titled β30 β Understand a Bastion ConceptβA bastion or jump host provides a controlled administrative path.
Conceptually:
Administrator βApproved Public / Management Host βPrivate Application VMπ¨ Important
Section titled βπ¨ ImportantβA bastion itself must be:
-
hardened
-
restricted
-
monitored
31 β Validate Application Outbound Connectivity
Section titled β31 β Validate Application Outbound ConnectivityβFrom the private application VM, use your approved management path.
Test outbound connectivity.
If NAT is configured properly:
Private VM βNAT βInternetshould work.
32 β Validate the VM Has No Direct Inbound Public Path
Section titled β32 β Validate the VM Has No Direct Inbound Public PathβConfirm:
-
no public IP
-
no direct internet gateway route assigned as a public workload
-
no unnecessary inbound exposure
π§ Security Benefit
Section titled βπ§ Security BenefitβThis reduces:
direct internet attack surface.
33 β Create the Database Route Table
Section titled β33 β Create the Database Route TableβCreate:
cloudplus-lab-rt-db-01Associate it with:
cloudplus-lab-subnet-db-0134 β Decide Whether the Database Needs Internet Access
Section titled β34 β Decide Whether the Database Needs Internet AccessβAsk:
Does the database actually require outbound internet connectivity?
Possible answer:
No.
If no requirement exists, keep the route table simple.
Example:
| Destination | Target |
|---|---|
| 10.10.0.0/16 | Local |
π§ Least-Connectivity Principle
Section titled βπ§ Least-Connectivity PrincipleβDo not provide network access simply because:
it might be useful later.
Provide it because:
there is a documented requirement.
35 β Understand the Database Traffic Path
Section titled β35 β Understand the Database Traffic PathβThe intended application path is:
Application VM10.10.20.x βLocal Cloud Routing βDatabase VM10.10.30.xNo internet gateway is required for that communication.
36 β Understand East-West Routing
Section titled β36 β Understand East-West RoutingβTraffic between:
10.10.20.0/24and:
10.10.30.0/24is east-west traffic.
This remains inside the cloud network.
37 β Understand North-South Routing
Section titled β37 β Understand North-South RoutingβTraffic between:
Cloud Workloadand:
Internetis generally north-south traffic.
π§ Architecture View
Section titled βπ§ Architecture ViewβYour routing now separates:
Internal Communicationfrom:
External Communication38 β Build the Final Routing Architecture
Section titled β38 β Build the Final Routing ArchitectureβYour target design may now resemble:
Internet | +------------+-------------+ | | v ^ Internet Gateway | | | v | +--------------------+ | | Public Subnet | | | 10.10.10.0/24 | | +--------------------+ | | | | | v | +--------------------+ | | Application Subnet |------> NAT ---+ | 10.10.20.0/24 | +--------------------+ | v +--------------------+ | Database Subnet | | 10.10.30.0/24 | +--------------------+39 β Create the Route Table Documentation
Section titled β39 β Create the Route Table DocumentationβPublic Route Table
Section titled βPublic Route Tableβ| Destination | Target | Purpose |
|---|---|---|
| 10.10.0.0/16 | Local | Internal Traffic |
| 0.0.0.0/0 | Internet Gateway | Internet |
Application Route Table
Section titled βApplication Route Tableβ| Destination | Target | Purpose |
|---|---|---|
| 10.10.0.0/16 | Local | Internal Traffic |
| 0.0.0.0/0 | NAT | Outbound Internet |
Database Route Table
Section titled βDatabase Route Tableβ| Destination | Target | Purpose |
|---|---|---|
| 10.10.0.0/16 | Local | Internal Traffic |
40 β Understand Route Table Associations
Section titled β40 β Understand Route Table AssociationsβDocument:
| Subnet | Route Table |
|---|---|
| Public | cloudplus-lab-rt-public-01 |
| Application | cloudplus-lab-rt-app-01 |
| Database | cloudplus-lab-rt-db-01 |
π¨ Common Misconfiguration
Section titled βπ¨ Common MisconfigurationβA correctly configured route table associated with:
the wrong subnet
can still cause outages or exposure.
Always verify associations.
41 β Validate Public Routing
Section titled β41 β Validate Public RoutingβFor the public workload check:
Public IP +0.0.0.0/0 β Internet Gateway +Required Security Rule42 β Validate Private Application Routing
Section titled β42 β Validate Private Application RoutingβFor the application workload check:
Private IP +0.0.0.0/0 β NATwhere outbound internet access is required.
43 β Validate Database Routing
Section titled β43 β Validate Database RoutingβFor the database tier verify:
Private IP +Internal Routes +No Unnecessary Public Path44 β Understand Return Paths
Section titled β44 β Understand Return PathsβCommunication requires a valid return path.
Example:
Client βRequest βServer βResponse βClientIf the return path is incorrect, communication can fail even when the forward path looks valid.
π§ Troubleshooting Principle
Section titled βπ§ Troubleshooting PrincipleβAlways ask:
How does the response get back?
45 β Troubleshooting Scenario β Public VM Cannot Reach Internet
Section titled β45 β Troubleshooting Scenario β Public VM Cannot Reach InternetβUse:
VM Running? βPrivate/Public IP? βSubnet? βRoute Table? β0.0.0.0/0? βInternet Gateway? βSecurity? βDNS?46 β Troubleshooting Scenario β Private VM Cannot Reach Internet
Section titled β46 β Troubleshooting Scenario β Private VM Cannot Reach InternetβUse:
Private VM βApplication Subnet βRoute Table βDefault Route βNAT βPublic Connectivity47 β Troubleshooting Scenario β Database Has Internet Access
Section titled β47 β Troubleshooting Scenario β Database Has Internet AccessβSuppose the database unexpectedly reaches the internet.
Review:
-
route-table association
-
default route
-
public IP
-
NAT path
-
security policy
π§ Design Question
Section titled βπ§ Design QuestionβAsk:
Is this connectivity actually required?
If not, remove it.
48 β Troubleshooting Scenario β App Cannot Reach DB
Section titled β48 β Troubleshooting Scenario β App Cannot Reach DBβDo not immediately modify internet routing.
The communication is internal.
Check:
App IP βApp Subnet βInternal Route βSecurity Controls βDB Service βReturn Path49 β Troubleshooting Scenario β Hostname Fails, IP Works
Section titled β49 β Troubleshooting Scenario β Hostname Fails, IP WorksβThis is most likely a:
DNS-related issue.
Do not modify the route table without evidence.
50 β Troubleshooting Scenario β Everything Looks Correct but Traffic Is Blocked
Section titled β50 β Troubleshooting Scenario β Everything Looks Correct but Traffic Is BlockedβRemember:
Route Existsβ Traffic AllowedReview security controls.
Detailed security-group work comes in the next lab.
π§ Layered Troubleshooting
Section titled βπ§ Layered TroubleshootingβUse:
Routing+Network Security+Host Firewall+Application51 β Temporarily Break the Public Route
Section titled β51 β Temporarily Break the Public RouteβIn your isolated lab, remove or disable the public default route.
Do not modify production systems.
Attempt outbound connectivity.
Expected result:
external connectivity should fail.
52 β Investigate the Failure
Section titled β52 β Investigate the FailureβUse your route table to identify the missing path.
Document:
Symptom:
Expected Route:
Observed Route:
Root Cause:
Corrective Action:53 β Restore the Route
Section titled β53 β Restore the RouteβRestore:
0.0.0.0/0 βInternet GatewayValidate connectivity.
π§ Lab Principle
Section titled βπ§ Lab PrincipleβBreaking something deliberately teaches:
why the configuration exists.
54 β Simulate a Wrong Subnet Association
Section titled β54 β Simulate a Wrong Subnet AssociationβIf safe in your lab, temporarily associate the application subnet with a route table that lacks its expected outbound route.
Observe the result.
Then restore the correct association.
55 β Document the Troubleshooting Case
Section titled β55 β Document the Troubleshooting CaseβUse:
Problem:
Affected Workload:
Expected Path:
Observed Path:
Root Cause:
Resolution:
Validation:
Lesson Learned:56 β Build a Traffic-Path Diagram
Section titled β56 β Build a Traffic-Path DiagramβFor public internet access:
Web VM βPublic Subnet βPublic Route Table βInternet Gateway βInternetFor private outbound access:
App VM βApplication Subnet βApplication Route Table βNAT βInternetFor internal traffic:
App VM βLocal Route βDatabase VM57 β Create a Route Review Checklist
Section titled β57 β Create a Route Review Checklistβ[ ] Correct subnet[ ] Correct route table association[ ] Internal route exists[ ] Default route exists where required[ ] Correct next hop[ ] Gateway attached[ ] NAT present where required[ ] Public IP only where required[ ] Return path considered[ ] Security controls reviewed58 β Review Cost Impact
Section titled β58 β Review Cost ImpactβIdentify which routing components may create charges.
Potential examples include:
-
NAT services
-
gateways
-
data transfer
-
public IPs
π§ Cost Question
Section titled βπ§ Cost QuestionβAsk:
Do we need this network component running continuously for the lab?
59 β Update Your Resource Inventory
Section titled β59 β Update Your Resource InventoryβAdd resources such as:
| Resource | Type | Purpose | Cost Risk | Status |
|---|---|---|---|---|
| cloudplus-lab-rt-public-01 | Route Table | Public Routing | Low | Active |
| cloudplus-lab-rt-app-01 | Route Table | Application Routing | Low | Active |
| cloudplus-lab-rt-db-01 | Route Table | Database Routing | Low | Active |
| cloudplus-lab-igw-01 | Internet Gateway | Public Internet | Review | Active |
| cloudplus-lab-nat-01 | NAT | Private Outbound | Higher | Review |
60 β Review Security Architecture
Section titled β60 β Review Security ArchitectureβYour design should now aim for:
Public Tier βDirect Internet Route
Application Tier βPrivate βControlled Outbound
Database Tier βPrivate βInternal Access Onlyπ§ Key Security Lesson
Section titled βπ§ Key Security LessonβDo not solve every connectivity requirement by:
adding a public IP.
Use architecture.
61 β Create Your Final Route Documentation
Section titled β61 β Create Your Final Route DocumentationβRecord:
Cloud Network:10.10.0.0/16
Public Subnet:10.10.10.0/24
Public Default Route:0.0.0.0/0 β Internet Gateway
Application Subnet:10.10.20.0/24
Application Default Route:0.0.0.0/0 β NAT
Database Subnet:10.10.30.0/24
Database Default Route:None unless required
Internal Route:10.10.0.0/16 β Local62 β Perform Final Validation
Section titled β62 β Perform Final ValidationβVerify:
Public VM βInternet Access Works
Application VM βOutbound Access Works if Required βNo Direct Public Exposure
Database βInternal Onlyπ§ͺ Final Validation Checklist
Section titled βπ§ͺ Final Validation Checklistβ| Validation | Status |
|---|---|
| Public route table created | |
| Public subnet associated | |
| Internet gateway configured | |
| Public default route created | |
| Public VM connectivity validated | |
| Application route table created | |
| Application subnet associated | |
| NAT understood/configured where required | |
| Private outbound path validated | |
| Database route table created | |
| Database subnet associated | |
| No unnecessary DB internet route | |
| Internal route reviewed | |
| Return path understood | |
| Broken route tested | |
| Troubleshooting documented | |
| Resource inventory updated |
63 β Cleanup Decision
Section titled β63 β Cleanup DecisionβKeep the network architecture if you are continuing the Cloud+ lab sequence.
You will need it for the next labs.
Retain:
Virtual NetworkPublic SubnetApplication SubnetDatabase SubnetRoute TablesInternet Gatewayβ οΈ Cost-Sensitive Resource
Section titled ββ οΈ Cost-Sensitive ResourceβIf your NAT service is billable and is not required between labs:
delete it after documenting the configuration.
You can recreate it when required.
π― Certification Connection
Section titled βπ― Certification ConnectionβA common Cloud+ scenario might say:
A private VM cannot download operating-system updates.
Think:
Private IP βSubnet βRoute Table βDefault Route βNAT βInternetAnother question might say:
A public VM has a public IP but is unreachable.
Do not assume the public IP alone is enough.
Review:
Public IP+Route+Gateway+Security+Serviceπ€ Interview Questions
Section titled βπ€ Interview QuestionsβPractice answering without notes.
1. What does a route table do?
Section titled β1. What does a route table do?β2. What is a default route?
Section titled β2. What is a default route?β3. What does 0.0.0.0/0 mean?
Section titled β3. What does 0.0.0.0/0 mean?β4. What is a next hop?
Section titled β4. What is a next hop?β5. What is an internet gateway?
Section titled β5. What is an internet gateway?β6. What makes a subnet public?
Section titled β6. What makes a subnet public?β7. What is a private subnet?
Section titled β7. What is a private subnet?β8. What is NAT?
Section titled β8. What is NAT?β9. Why use NAT for private workloads?
Section titled β9. Why use NAT for private workloads?β10. Does NAT automatically allow inbound internet access?
Section titled β10. Does NAT automatically allow inbound internet access?β11. What is a route-table association?
Section titled β11. What is a route-table association?β12. Why does the return path matter?
Section titled β12. Why does the return path matter?β13. Routing vs firewall policy?
Section titled β13. Routing vs firewall policy?β14. Why might a database subnet have no internet route?
Section titled β14. Why might a database subnet have no internet route?β15. How would you troubleshoot a public VM that cannot reach the internet?
Section titled β15. How would you troubleshoot a public VM that cannot reach the internet?β16. How would you troubleshoot a private VM that cannot reach the internet?
Section titled β16. How would you troubleshoot a private VM that cannot reach the internet?β17. Why shouldnβt every cloud VM have a public IP?
Section titled β17. Why shouldnβt every cloud VM have a public IP?β18. What is north-south traffic?
Section titled β18. What is north-south traffic?β19. What is east-west traffic?
Section titled β19. What is east-west traffic?β20. What is longest prefix match?
Section titled β20. What is longest prefix match?βπ¨ Scenario Interview Question 1
Section titled βπ¨ Scenario Interview Question 1βA VM has a public IP but cannot reach the internet.
Investigate:
VM βSubnet βRoute Table βDefault Route βInternet Gateway βSecurity βDNSπ¨ Scenario Interview Question 2
Section titled βπ¨ Scenario Interview Question 2βA private application server needs access to software repositories.
Do not automatically assign a public IP.
Consider:
Private VM βNAT βInternetπ¨ Scenario Interview Question 3
Section titled βπ¨ Scenario Interview Question 3βA database server has
0.0.0.0/0pointing to an internet gateway.
Ask:
Does the database actually need this route?
Review:
-
workload requirement
-
public addressing
-
security controls
-
attack surface
π¨ Scenario Interview Question 4
Section titled βπ¨ Scenario Interview Question 4βApp and database servers are in the same virtual network but cannot communicate.
Do not assume an internet gateway problem.
Check:
Internal Route βSecurity Rules βHost Firewall βDatabase Service βReturn Pathπ¨ Scenario Interview Question 5
Section titled βπ¨ Scenario Interview Question 5βThe network team created a NAT gateway, but the private VM still cannot reach the internet.
Check:
-
correct route table
-
0.0.0.0/0target -
subnet association
-
NAT placement/configuration
-
upstream internet path
-
DNS/security controls
π¨ Scenario Interview Question 6
Section titled βπ¨ Scenario Interview Question 6βA web VM can reach an external IP but cannot resolve domain names.
Likely focus:
DNS.
Do not modify routing without evidence.
π¨ Scenario Interview Question 7
Section titled βπ¨ Scenario Interview Question 7βA route table was correctly configured, but the subnet still uses a different route table.
The likely issue is:
route-table association.
π§ Cloud Routing Interview Framework
Section titled βπ§ Cloud Routing Interview FrameworkβUse:
Source βSubnet βRoute Table βDestination Match βNext Hop βGateway βSecurity βDestination βReturn Pathπ¬ Interview Tip
Section titled βπ¬ Interview TipβAvoid:
βIf the VM cannot reach the internet, I would add
0.0.0.0/0.β
A stronger answer is:
βI would first determine whether the workload is intended to be public or private, verify the subnet and route-table association, review the destination route and next hop, confirm the required gateway or NAT path exists, and then validate security controls, DNS, and the return path before making any routing changes.β
That demonstrates Cloud Engineer thinking.
π Portfolio Deliverables
Section titled βπ Portfolio DeliverablesβKeep sanitized versions of the following.
1. Routing Architecture Diagram
Section titled β1. Routing Architecture DiagramβShow:
Public β Internet GatewayPrivate β NATDatabase β Internal Only2. Route Table Matrix
Section titled β2. Route Table MatrixβDocument every route table and association.
3. Public vs Private Design
Section titled β3. Public vs Private DesignβExplain why different tiers use different routes.
4. Troubleshooting Case
Section titled β4. Troubleshooting CaseβDocument one deliberately broken route and your resolution process.
5. Cost Review
Section titled β5. Cost ReviewβExplain which components may create ongoing cost.
π Resume Examples
Section titled βπ Resume ExamplesβInstead of:
Configured cloud routing.
Use:
Designed and validated cloud routing across public, application, and database subnets using local routes, default routes, internet-gateway connectivity, and controlled private outbound access through NAT.
Or:
Troubleshot cloud connectivity by validating subnet placement, route-table associations, destination routes, gateway configuration, security controls, DNS, and return paths.
β Job-Readiness Check
Section titled ββ Job-Readiness CheckβYou should now be able to:
-
explain route tables
-
identify route destinations
-
explain next hops
-
understand local routes
-
explain default routes
-
understand
0.0.0.0/0 -
explain internet gateways
-
distinguish public and private subnets
-
explain NAT
-
design private outbound internet access
-
associate route tables with subnets
-
understand return routing
-
troubleshoot missing routes
-
distinguish DNS from routing issues
-
distinguish routing from security-control problems
-
document a cloud traffic path clearly
π Mission Complete
Section titled βπ Mission CompleteβYou have now progressed from:
Cloud Networkto:
Routed Cloud Architecture βPublic Internet Access βPrivate Outbound Access βInternal Tier CommunicationThe key lesson from this lab is:
Routing provides the path. Security determines whether that path should be used.
A professional cloud engineer understands both.
π Whatβs Next?
Section titled βπ Whatβs Next?βYour traffic now has valid network paths.
The next question is:
Which traffic should actually be permitted?
The next lab moves into cloud network security.
You will work with:
-
security groups
-
virtual firewalls
-
inbound rules
-
outbound rules
-
source restrictions
-
destination restrictions
-
service and port controls
-
least-privilege network access
-
public exposure
-
security-rule validation
-
broken-rule troubleshooting
You will move from:
Can Traffic Get There?to:
Should Traffic Be Allowed?β‘οΈ Next: Lab 05 β Cloud Security Groups and Network Access Controls