Amazon S3 · CloudFront · IAM

A static site, deployed the way the pros do it.

This page is served from a private Amazon S3 bucket through a global CloudFront CDN over HTTPS — no public buckets, least-privilege IAM, and infrastructure that follows the AWS Well-Architected Framework.

Edge locations
600+
TLS
1.2 / 1.3
Public buckets
0

How the request flows

A visitor never touches S3 directly. CloudFront terminates TLS at the edge and fetches objects from the origin using Origin Access Control (OAC). The bucket policy trusts only this distribution.

  1. 1

    User

    Browser requests https://s3-demo.sillageandskin.com.

  2. 2

    DNS (Hostinger)

    A CNAME record resolves the subdomain to the CloudFront distribution.

  3. 3

    CloudFront + ACM

    Edge serves cached content over HTTPS; cache miss triggers an origin fetch.

  4. 4

    S3 (private)

    OAC-signed request reads the object. Public access is fully blocked.

Built to a production standard

🔒 Private origin

S3 Block Public Access stays fully enabled. The bucket is reachable only through CloudFront via OAC — no static-website public endpoint exposed.

🛡️ Least-privilege IAM

A dedicated deploy identity can sync this one bucket and invalidate the distribution — nothing more. No wildcards on resources.

🌍 Global delivery

CloudFront caches at 600+ edge locations, cutting latency and shielding the origin from direct load.

🔐 HTTPS everywhere

An ACM certificate enforces TLS. Viewer requests are redirected from HTTP to HTTPS at the edge.

🧱 Versioning & encryption

Bucket versioning protects against accidental overwrites; SSE-S3 encrypts objects at rest by default.

📈 Observability

S3 server access logs and CloudFront standard logs land in a separate, lifecycle-managed log bucket.

The stack

  • Amazon S3Object storage origin (private)
  • Amazon CloudFrontCDN + TLS termination
  • AWS Certificate ManagerFree public TLS certificate
  • Hostinger DNSCNAME → CloudFront distribution
  • AWS IAMLeast-privilege access policy
  • TerraformInfrastructure as Code — provisions the whole stack

Want the full walkthrough?

The deployment guide and policy files ship alongside this site in the repository.

Connect on LinkedIn