AWS origin

Edge Training Lab

A small origin I use to test caching, headers, errors and security controls without touching anything important.

Checking origin… Direct origin health check
Internet
later Edge cache · WAF · rules
now Origin Nginx · FastAPI

What this is for

A predictable origin I can compare against the edge.

Once a CDN sits in front of this site, I can send the same request both ways and see what changed. That makes it much easier to tell whether a problem belongs to DNS, TLS, caching, security rules or the origin itself.

Static content

The homepage and assets give me normal files to cache, purge and inspect.

/assets/*

Dynamic responses

The API returns timestamps, headers and controlled status codes so edge behaviour is visible.

/api/*

Known-good baseline

This hostname goes straight to AWS. Later I can compare it with the Akamai hostname.

origin.lab.tattamonline.com

Current path

What happens right now

  1. 1
    DNS

    The origin hostname resolves to the EC2 Elastic IP.

  2. 2
    Nginx

    Terminates HTTPS and serves the static site.

  3. 3
    FastAPI

    Handles the training endpoints under /api.

Playground

Try a request and inspect the response.

The playground has a few useful endpoints for cache testing, headers, delays, errors and harmless WAF input.

Open playground