teluzia.Cloud Engineer · Day 49
CHAPTER 07 · AWS VPC AND NETWORKING

Week 7 review, recall and recovery

30–90 min including independent practice3 topicsRecall, catch-up, or rest
LET’S MAKE THIS SIMPLE

What you’re learning today

Rebuild the network plan and trace three flows: public client to web entry, private app to a service, and administrator to a managed node. The review proves that addressing, routing, filtering, DNS and IAM are separate but cooperating controls. Child CIDRs must fit the VPC and avoid overlap. AWS normally reserves five IPv4 subnet addresses. Public routing, NAT egress and isolated placement differ; a subnet’s route-table association matters as much as table contents. Longest-prefix matching selects the most specific destination path. Security groups are stateful allow controls at resource interfaces, while NACLs are ordered stateless allow/deny controls at subnet boundaries. Replies use reversed connection tuples. Peering is nontransitive, and endpoints connect supported services without granting application permissions. DNS and endpoint policy still need review.

Think of it this way

This review is a practical inspection bench for vpc planning, routes, gateways, security, peering, endpoints and private access: explain, reproduce, break safely, diagnose and verify.

TOPIC 01 / 03Step by step

Addressing and forwarding

Child CIDRs must fit the VPC and avoid overlap. AWS normally reserves five IPv4 subnet addresses. Public routing, NAT egress and isolated placement differ; a subnet’s route-table association matters as much as table contents. Longest-prefix matching selects the most specific destination path. A /24 has 251 assignable AWS IPv4 addresses; public default uses IGW, private egress default uses NAT and isolated database routing has no general default. Combining capacity with route roles turns a CIDR list into a workable network plan and helps locate missing association or address prerequisites before changing security settings. Do not call a subnet public from its tag or assume IGW attachment supplies a public address; inspect route association and addressing separately for the actual resource.

WORKED EXAMPLE
A /24 has 251 assignable AWS IPv4 addresses; public default uses IGW, private egress default uses NAT and isolated database routing has no general default.
Why this matters

Combining capacity with route roles turns a CIDR list into a workable network plan and helps locate missing association or address prerequisites before changing security settings.

A common trap

Do not call a subnet public from its tag or assume IGW attachment supplies a public address; inspect route association and addressing separately for the actual resource.

Read all topics in this lesson

A complete reference to revisit alongside the guided steps above.

Addressing and forwarding

Child CIDRs must fit the VPC and avoid overlap. AWS normally reserves five IPv4 subnet addresses. Public routing, NAT egress and isolated placement differ; a subnet’s route-table association matters as much as table contents. Longest-prefix matching selects the most specific destination path. A /24 has 251 assignable AWS IPv4 addresses; public default uses IGW, private egress default uses NAT and isolated database routing has no general default. Combining capacity with route roles turns a CIDR list into a workable network plan and helps locate missing association or address prerequisites before changing security settings. Do not call a subnet public from its tag or assume IGW attachment supplies a public address; inspect route association and addressing separately for the actual resource.

WORKED EXAMPLE
A /24 has 251 assignable AWS IPv4 addresses; public default uses IGW, private egress default uses NAT and isolated database routing has no general default.

Why this matters

Combining capacity with route roles turns a CIDR list into a workable network plan and helps locate missing association or address prerequisites before changing security settings.

A common trap

Do not call a subnet public from its tag or assume IGW attachment supplies a public address; inspect route association and addressing separately for the actual resource.

Filtering and private connectivity

Security groups are stateful allow controls at resource interfaces, while NACLs are ordered stateless allow/deny controls at subnet boundaries. Replies use reversed connection tuples. Peering is nontransitive, and endpoints connect supported services without granting application permissions. DNS and endpoint policy still need review. App source port 50000 to database 5432 returns to 50000; A-B and B-C peers do not create A-C transit, regardless of an allow rule. Separate connection and policy reasoning prevents broad firewall changes from being used to solve unsupported routing or authorization failures in the integrated private design. Do not grant public inbound access to fix a missing NACL reply or endpoint IAM permission; diagnose the specific request direction, route and principal first.

WORKED EXAMPLE
App source port 50000 to database 5432 returns to 50000; A-B and B-C peers do not create A-C transit, regardless of an allow rule.

Why this matters

Separate connection and policy reasoning prevents broad firewall changes from being used to solve unsupported routing or authorization failures in the integrated private design.

A common trap

Do not grant public inbound access to fix a missing NACL reply or endpoint IAM permission; diagnose the specific request direction, route and principal first.

Private operations and cost

Session Manager needs an agent, managed-node identity and service path, plus operator authorization. NAT and interface endpoints have distinct cost dimensions. A private node can be administered without inbound SSH, but session logging depends on type and preferences. Inventory networking resources after compute teardown. A node with correct operator permissions but no service connectivity remains unavailable; an idle NAT still has applicable time-based cost even if no instance is sending traffic. Private access prerequisites and network lifecycle checks keep operations both usable and cost-aware, avoiding the assumption that removing public addresses or stopping clients automatically completes the design. Do not promise full payload logging for every tunnel session or zero networking cost from zero traffic; record documented limits and verify actual retained network resources.

WORKED EXAMPLE
A node with correct operator permissions but no service connectivity remains unavailable; an idle NAT still has applicable time-based cost even if no instance is sending traffic.

Why this matters

Private access prerequisites and network lifecycle checks keep operations both usable and cost-aware, avoiding the assumption that removing public addresses or stopping clients automatically completes the design.

A common trap

Do not promise full payload logging for every tunnel session or zero networking cost from zero traffic; record documented limits and verify actual retained network resources.

KEEP THESE WITH YOU

Today’s takeaways

Trace real connection tuples.

Separate connectivity from authorization.

Verify private access and network lifetime.

CLOSE THE LOOP

Ready to complete this day?

Verify your recall or recovery steps, then finish this review day.

Lab steps verifiedReview day: quiz optional