Platform Engineering on the Edge

Production-grade experiences built on Cloudflare’s free tier

This site doubles as a live lab, showcasing how Workers, KV, Turnstile, Cron Triggers, and Workers AI come together to deliver resilient, low-latency features without traditional servers. Everything you see is engineered to respect free-tier limits while remaining ready to scale.

Current edge building blocks

A quick tour of the components powering vitalemazo.com right now.

Workers Runtime + Static prerender

Astro prerenders blog content at build time, then Workers serves the pages from the edge with asset bindings. The result: sub-50 ms TTFB in most regions, even while staying within 100k requests/day.

  • Automatic routing for vitalemazo.com/* and www.vitalemazo.com/*
  • Workers asset binding keeps static files in R2-like durable storage without extra cost
  • Cache API planned to add stale-while-revalidate for external data pulls

Cloudflare KV for edge data

KV is reserved for near-real-time counters, content personalization, and planned feature-flag rollouts. The free tier provides 1 GB of storage—more than enough for metadata, session hints, and cached feed results.

Upcoming KV-backed features:

  • Edge analytics counters per article
  • Feature flags for interactive labs
  • KV snapshot generated from Cron Triggers (see below)

Turnstile-protected forms

The contact workflow is being upgraded to use Cloudflare Turnstile—a lightweight, privacy-first CAPTCHA replacement. It runs entirely on the edge with Workers verifying each token before messages head to Formspree or an email queue.

const token = formData.get('cf-turnstile-response');
const verify = await fetch('https://challenges.cloudflare.com/turnstile/v0/siteverify', {
  method: 'POST',
  body: new URLSearchParams({
    secret: env.TURNSTILE_SECRET_KEY,
    response: token,
    remoteip: request.headers.get('cf-connecting-ip') ?? ''
  })
});

Tokens expire quickly, so the Worker will short-circuit spam traffic without consuming Formspree quota.

Cron-triggered refresh jobs

Hourly Cloudflare Cron Triggers keep the site fresh without burning through the 1,000 runs/day free-tier allowance. Each pass fans out to fetch multi-cloud AI and networking headlines, refreshes worker-side caches, and rehydrates KV so dashboards stay real-time.

  • Aggregate the latest AWS, Azure, and Google Cloud AI/network bulletins into a pre-rendered CloudNews snapshot so the homepage loads hot off the press.
  • Write refreshed engagement metrics and AI briefing caches into KV, powering the edge analytics widget and briefing demo with warm data.
  • Prime CDN and Worker caches for trending posts before the US workday, reducing cold starts to single-digit milliseconds globally.

Workers AI integrations

Cloudflare’s hosted models provide the intelligence behind automated summaries and infrastructure diagrams while staying within the free 10,000 token/day allowance.

In-flight experiments

  • Infrastructure briefing generator. Workers AI converts blog posts into executive-ready “battlecards” summarizing risks, recommended services, and remediation actions.
  • Automated Terraform diffs. Upload a module snippet; the Worker returns risk scoring, IAM concerns, and Cost estimation via large-language models.
  • Interactive consult bot. A conversational assistant fine-tuned on platform engineering engagements to guide teams through landing zone design decisions in real time.

All AI workflows run inside Workers—no external GPU providers—keeping data residency under control and eliminating cold-start delays.

Live AI DGX Sparky Cluster: generate a briefing

Submit a short description of an infrastructure change. The Worker forwards it to Cloudflare’s @cf/facebook/bart-large-cnn model via the new AI binding and returns an executive-ready summary.

Live edge telemetry

Data served straight from Cloudflare KV. Page views increment via middleware, contact submissions land in KV after Turnstile verification, and Cron triggers stamp their last heartbeat here.

Top page views

Loading metrics from the edge...

Recent secure contact submissions

Awaiting Turnstile-protected submissions...

Cron status: pending

What’s next on the edge roadmap

The vision is a truly serverless platform engineering sandbox—every component runs inside Cloudflare’s global network.

Edge Observability

Collect platform metrics via Workers Analytics Engine, push actionable insights into dashboards, and expose anonymized performance snapshots on this page.

  • Real-time latency heatmaps
  • KV-backed error budgets
  • Downloadable SLO reports

Queues + Email Pipelines

Queue contact requests and AI jobs to decouple front-end interactions from third-party services, guaranteeing delivery even when downstream providers throttle.

  • Resilient inbox processing
  • Async AI enrichment pipelines
  • Immutable audit trail in KV/R2

Self-Service Labs

Launch guided labs that spin up configuration sandboxes entirely on Workers AI—no cloud credits required—perfect for demonstrating platform guardrails and automated remediation.

  • Hands-on IaC simulations
  • Interactive network policy builder
  • Artifact export for GitOps pipelines

Ready to explore edge-native platform engineering?

Let’s architect a resilient platform that blends Cloudflare’s edge with your cloud landing zones, automation pipelines, and governance controls.