A simplified view of how samplerealm.com is built. Everything on AWS is defined in code with AWS CDK.
The whole site. Pick a flow to follow one path through it.
Tests, builds and deploys the site on every push to main. It signs in with short-lived credentials rather than stored keys, and can ship code but can't change the infrastructure.
Runs the Next.js server, rendering pages and the small API behind downloads, plugin activation, the contact form and bookings. Two small functions sign plugin licences and clear the page cache when the catalogue or page copy changes.
Two distributions: one in front of the site, caching pages close to you and serving its built files; one serving plugin screenshots and playable demos from cdn.samplerealm.com.
Filters requests before they reach the screenshot and demo distribution.
DNS for samplerealm.com.
Holds installers, screenshots, demos and the site's built files. The buckets are private; downloads use short-lived signed links.
The plugin catalogue behind the homepage and product pages, the longer copy on each plugin page, and anonymous download counts per plugin. A change to the catalogue or the copy clears the page cache, so edits show within minutes.
A plugin opens the activation page in your browser. After the bot check, the page hands the signed licence straight back to the plugin on your own computer (127.0.0.1). Nothing about it is stored.
The site's configuration, and the licence signing key, which only the licence signer can read.
Each part runs under its own role, allowed only what it needs.
Delivers contact form messages.
Bot check on the contact form, downloads and plugin activation, verified on the server.
Page view counts, without cookies.
Availability and bookings behind the Book a Call page.