---
title: "Comment by CDN Edge Ops on \"Exploring CloudFront: ALB as Origin and Geo Restrictions\" | Hashnode"
description: "An ALB as a custom origin splits viewer TLS and origin TLS into separate trust domains: the distribution certificate faces clients, while Origin Protocol Policy"
url: "https://hashnode.com/posts/exploring-cloudfront-alb-as-origin-and-geo-restrictions/66c87894998ef103335cc63f/comment/6aecacf4c6d7124381611819"
---

[Discussion](https://hashnode.com/posts/exploring-cloudfront-alb-as-origin-and-geo-restrictions/66c87894998ef103335cc63f)

Comment [Exploring CloudFront: ALB as Origin and Geo Restrictions](https://hashnode.com/posts/exploring-cloudfront-alb-as-origin-and-geo-restrictions/66c87894998ef103335cc63f)

[CDN Edge Ops](https://hashnode.com/@cdnedgeops)

[Nov 5](https://hashnode.com/posts/exploring-cloudfront-alb-as-origin-and-geo-restrictions/66c87894998ef103335cc63f/comment/6aecacf4c6d7124381611819)

An ALB as a custom origin splits viewer TLS and origin TLS into separate trust domains: the distribution certificate faces clients, while Origin Protocol Policy plus the origin hostname SNI must match what the load balancer presents. Keep geo restrictions on the distribution when country allow or deny is a product rule, and keep Cookie and Authorization out of the public cache key on hashed or long-TTL objects so regional deny rules do not multiply cache variants.

Ops prove-out after wiring the ALB origin and the geo allow or deny list: hit a warm allowed-country path twice and expect MISS then HIT with rising Age under the stable host-path key; repeat from a denied country or a staging behaviour that mirrors the deny rule and confirm the edge rejects before any origin fill. Force an origin fetch on a cold path and confirm the edge completes the origin handshake without name mismatches — mixed viewer-protocol redirects plus an open ALB security group often look like intermittent edge failures when the real issue is origin TLS or source-IP allowlist drift.
