← AWS Advanced Networking: networks and production
07 / 22 · 40 MIN

Encryption and DNS controls

Bound security guarantees by segment and failure mode.

Concept and mechanism

A security review should mark where each protection starts and ends. MACsec provides point-to-point protection on the supported segment without itself proving end-to-end application encryption. Direct Connect also does not automatically create an IPsec tunnel that a requirement may demand; combining it with Site-to-Site VPN is an option to design and validate.

For ALB, HTTPS to the target provides an encrypted segment, but the load balancer does not validate the certificate presented by the target. Do not infer browser-like identity verification from that connection. Define the backend-identity requirement and the mechanism that actually satisfies it.

Guided application

Confirm endpoint-policy support for the specific service; an intention in a diagram is not an applied control. For DNSSEC, validate the trust chain and parent-domain DS support before enabling the child zone. Signing errors may initially affect only some clients because resolution paths and cache states differ.

DNS Firewall adds another decision: in a VPC with an associated rule group, disabled fail open blocks queries it cannot evaluate. Enabling it may improve availability during that failure while accepting queries without expected evaluation. That change needs a risk decision with owners, duration, and reversal conditions rather than a universal recommendation to open or close.

Workshop: configured protection and covered traffic

In a fictional review, VPN over Direct Connect is up for 10.60.0.0/16, but the router table sends 10.60.4.0/24 directly without IPsec. The requirement demands IPsec for both. Meanwhile, one VPC has DNS Firewall associated in fail-closed mode and queries cannot be evaluated; another has no association and still resolves names.

Write one conclusion per requirement. Answer: the more specific /24 bypasses the tunnel, so correct selection and confirm traffic inside and outside that block, including return. Cross-connect MACsec or BGP authentication does not replace that IPsec.

For DNS, the first VPC blocks unevaluated queries; the second’s success does not prove filtering. Enabling fail open can restore availability but allows unevaluated queries during that failure. If policy forbids this, acceptance remains pending until the control is repaired or a bounded exception authorized.

For an application behind ALB, add a separate limit: TLS to the target does not prove ALB certificate validation. Bind each conclusion to the mechanism actually implementing its requirement.

IN PRACTICE

An expired backend certificate can still be accepted by ALB. Review the identity requirement, not just the HTTPS label.

Common pitfalls

MACsec as end to end; private as encrypted; HTTPS as validated identity; undated fail open.

Related topics: Inspection, auditing, and retirement · Addressing, DNS, and connectivity

Take this idea with you

Write each guarantee’s scope and the decision when the control fails.

Create account

References

AWS is a trademark of Amazon.com, Inc. or its affiliates. bigsavant.com is an independent preparation platform and is not affiliated with, associated with, sponsored, authorised or endorsed by AWS. Content and questions are original, are not official exam questions, and completing our tests does not award or guarantee any certification. Names are used only to identify the subject. All other trademarks belong to their respective owners.