Skip to content

ADR: Deployment strategy

ADR-004: Deployment strategy: quick push now, true implementation later

Date: 2026-08-31 Status: Accepted

In plain words

This page records how the site got hosted when the free trial refused the planned setup. The smallest hosting that would accept the container went first, and the full production design stays as settings in one template file (Bicep) that can be switched on later.

What that is worth: a developer sees each refusal measured and worked around without rewriting the app, and the organization can change hosting by changing a subscription and a few parameters, because the same container image runs anywhere.

Context

The author's framing, day one: the plan is a quick push first and the true implementation second, and Docker was added now precisely so the hosting can change without the application changing. The container image is the invariant: the same theyard:v1 runs identically on localhost, Container Apps, or App Service, so hosting is a subscription decision rather than an engineering one.

What the first deployment day measured (free-trial subscription)

  1. Azure Front Door: refused outright. Verbatim: "Free Trial and Student account is forbidden for Azure Frontdoor resources."
  2. App Service compute: quota of zero VMs at every tier tried (B1 and F1) in two regions ("SubscriptionIsOverQuotaForSku, Current Limit (Total VMs): 0").
  3. Container Apps: the environment provisions, but revision provisioning died with "Operation expired" across three environment attempts in two regions (eastus2 twice, westus2 once), warm and cold, using Microsoft's own hello-world image. Config was ruled out; the subscription class is the remaining variable.

Decision

Phase the delivery and parameterize the phases instead of rewriting:

  • Phase 1, quick push: the smallest hosting that accepts the container image, currently blocked by the trial subscription itself.
  • Phase 2, true implementation: the ADR-001 target, App Service B1 behind Front Door with the origin locked to the Front Door ID header.

infra/main.bicep carries computeKind, skuName, enableFrontDoor, and minReplicas so each phase is a parameter set, not a branch or a rewrite.

Consequences

The repo, image, tests, CI, and infrastructure-as-code are complete and portable today; going live is gated on one account decision (upgrade to pay-as-you-go, or wait). Every wall above was measured, recorded, and parameterized around the same day it was hit, which is the honest story this repository tells an interviewer.

Addendum: phase 1 realized on Container Instances

With Front Door and App Service off the table and Container Apps expiring revisions, phase 1 ships on Azure Container Instances: one container group, public FQDN, plain HTTP on port 8080, pulled from ACR with a user-assigned identity. No TLS and no edge is acceptable for a demo artifact and is exactly the gap phase 2 closes.

Addendum, 2026-09-01: the custom domain and the registrar wall

Goal of the day: serve this app at https://theyard.stevenstout.biz with a valid certificate, changing nothing else about the build.

What we hit. The domain stevenstout.biz was bought at Wix. Wix, as a registrar, does not allow changing a domain's nameservers at all; their help center says so and the dashboard's NS section is read-only. That closed the original plan (Cloudflare's free tier in front, which requires pointing nameservers at Cloudflare). The ICANN 60-day lock closes the other exit, a registrar transfer, until about 2026-10-30. Neither wall is the trial's fault; one is Wix product policy and the other is ICANN policy on new registrations.

What we did instead. Same architecture shape as ADR-001, an edge terminating TLS in front of the origin, but the phase-1 edge is Netlify's free tier, because it attaches to a plain CNAME record, which Wix does allow. The entire edge is three files in this repository: netlify.toml, edge/_redirects (one proxy rule to the ACI origin on 8080), and edge/README.md. Netlify deploys them from GitHub on every push. The application never moved; Azure serves every request.

The small choices, so they are not re-litigated later:

  • DNS TTLs are 30 minutes (Wix's shortest) during cutover so future changes propagate fast; lengthen once the setup is boring.
  • A TXT record named subdomain-owner-verification proves domain ownership to Netlify for a subdomain of a domain the Netlify account does not own.
  • The Netlify project is public on purpose; the platform's private-by-default would ask every visitor to log in.
  • The Cloudflare zone for stevenstout.biz is fully configured and dormant: Flexible SSL, proxied CNAME to the origin, a port-8080 origin rule, and a root-and-www redirect. Transferring the domain to Cloudflare once the ICANN lock expires activates all of it and retires Netlify with a single DNS change.
  • The certificate is Let's Encrypt via Netlify, auto-renewing. Nothing was purchased, and no secret lives anywhere in this setup.

Phase 2 is unchanged by any of this: upgrade the subscription, deploy App Service plus Front Door with the origin lock by flipping the Bicep parameters, and point the same subdomain at it. The resume URL never changes. That permanence is the entire point of the domain layer.

Decision update, later on 2026-09-01

The paid phase-2 deployment is declined, deliberately and indefinitely, for this demo. The free stack, the ACI origin behind a free TLS edge, is the permanent hosting for TheYard as a portfolio piece. infra/main.bicep remains the documented production design, served inside the app under Hosting, Infrastructure (Bicep), so the target architecture stays reviewable without running a bill. The same day, the bare domain and www were pointed at the edge and 301-forwarded to the primary URL, so a trimmed or retyped address still lands on the app. The resume distributes theyard.stevenstout.biz; the forward is the safety net.

Completion note, later still on 2026-09-01

The bare-domain forward finished the same afternoon. One Let's Encrypt certificate now covers stevenstout.biz, www.stevenstout.biz, and theyard.stevenstout.biz, and every variant of the bare and www names redirects to the app with a valid padlock.

The delay taught one operational lesson worth keeping: certificate issuance validates every attached name, and resolvers that cached the old DNS records keep serving them until their TTL runs out. A renewal attempted inside that cache window fails and tells you nothing. Wait out the longest old TTL, renew once, and it works on the first try.

Addendum, 2026-09-20: phase 2's compute arrived, in the region that would take it

Superseded in part on 2026-09-20, as 1.0.0.156. Two things above stopped being true that day. The decision update of 1 September called the container group "the permanent hosting"; both sites now run as web apps on one App Service plan, which is this record's phase 2 without Front Door. And the first day's measurement, App Service refused at a quota of zero, turned out to be a fact about regions: asked again at four sizes in seven regions, West US 2 and four others still answer zero and West US 3 and Central US validate every size. The plan is in West US 3, beside the relational server, which West US 2 had also refused.

Front Door is still refused, so the edge is still Netlify and the origin is still open to the internet, now over HTTPS. The container groups are stopped and kept for a week as the way back. What was priced, what was measured on the plan, and why it is B1 are in ADR: One plan, two sites.

With 1.0.0.157 the template followed. infra/main.bicep carried computeKind so that each phase was a parameter set, and two of its three branches described platforms nothing runs on: Container Instances, stopped that day, and Container Apps, which never got a revision to start. Both branches are removed, and the file is the plan, the two sites, and Front Door behind a parameter that is off.

Where it sits

No ring: this is a deployment record about which Azure service runs the container and how the phases were sequenced around the trial's limits, so the onion and SOLID do not apply.

Files

  • infra/aci-theyard.yaml: what runs, the container group template every deploy renders; the container itself is shown live below.
  • infra/main.bicep: what would run after an upgrade, the App Service and Front Door target of ADR: Front Door origin, deliberately undeployed.
  • .github/workflows/deploy.yml: the roll, az container create from the rendered template (ADR: The deploy pipeline).
  • docs/hosting/HOSTING.md: the chain a request follows today.

The container group file this showed live retired on 19 October with the container groups' last settings (ADR: One web app for every .NET process); it is kept at infra/aci-theyard.yaml at 22b3015, the last commit that carried it.

Enforced by

Not machine-checked. Held by review.

Store

The Yard, home

Steven StoutStaff .NET engineerRemote

Production .NET that stays up. Built with AI, measured on every version.

Steven Stout

Hi, I'm Steve. I build the systems that make delivery boring in the best way, then coach people inside them.

  • 200+

    production releases, none took the platform down

    Conway Investment Research, 2019 to 2024. Sole engineer for the first three years on a live financial advisory platform.

    See how
  • 50%

    shorter release cycle

    Storee Construction, 2024 to 2026. Four ASP.NET applications onto one .NET 10 platform on Azure, with a four-person team I hired and mentored.

    See how

01Verified

Steven Stout

A real person, and the work is mine.

  • Identity

    Checked by LinkedIn, not by me.

    LinkedIn verified my government ID.

  • Running system

    You are looking at it.

    Version 1.0.5.273 is live. Nothing ships unless it passes the automated gates first.

That's who I am. Here's how I work.

02Strengths

Ten strengths, each with the proof beside it. The numbers match my resume and LinkedIn, and the live ones are read from this site as you look.

  • 01

    Keeps production alive

    200+ releases on a live financial platform, and none took it down. Sole engineer for the first three years.

    See the Conway work

  • 02

    Simplifies messy systems

    Four ASP.NET applications onto one .NET 10 platform on Azure, and a release cycle 50% shorter.

    See the Storee work

  • 03

    Marries dev and infrastructure

    Blue-green releases at Storee that flipped in about 5 seconds with nobody signed out, and Azure Front Door at two employers.

    See this site's cloud

  • 04

    Designs data that holds up

    White-label clients on one shared database, the isolation built into the data, and no cross-client issues.

    See the Conway work

  • 05

    Keeps AI-written code honest

    15 quality numbers that may only improve: 273 releases in a row with none worse.

    See the quality numbers

  • 06

    Resourceful

    $30,000+ cut from Azure and vendor spend at Conway. This site's Azure bill is public, resource by resource.

    See the bill

  • 07

    Builds people up

    Hired and mentored a four-person team. 13 colleagues recommend me by name.

    Read the recommendations

  • 08

    Takes ideas to production

    This site: designed, built and run solo, with 352 versions measured through one gate.

    How it was built

  • 09

    Writes clearly

    Posts on real engineering problems, in plain words.

    Read the blog

  • 10

    Owns decisions

    153 decision records, each with its tradeoff and the call I made.

    See the decision records

Built with AI. Gated so quality never slides.

Steven Stout’s showcase: a used-vehicle auction on .NET and React, built and run by one engineer, live on Azure, with its decisions written down.

No quality number has gotten worse at any release since 1.0.5.1 on 10 November: 273 releases in a row.

One engineer, an AI agent and a gate that checks 15 quality numbers on every release. 352 versions measured, with every result public, the worst days included.

82 releases in the last 7 days, each through the same gate.

Async methods with no CancellationToken, may only fall

11091.0.3.1391.0.5.2731.0.4.115, the ratchet
Every number, on the Quality page

TheYard, right nowLive

Answering in

unread

02505007501,000

server time at p95, the usual five minutes of the last day.

Azure this month

unread

the bill, by resource, read from Azure. The Admin tab shows every line.

Since the last roll

unread

 

rolled in place by the pipeline, behind one gate.

People who have visited

unread

30 days agotoday

Scanners, my own tools' and my own reads left out.

03Start here

04Where teams are heading

How I see engineering with AI, and the setup on this site that backs it.

AI-augmented teams · Architecture and ownership

AI writes more of the code. Someone still has to own what ships.

Teams are going to be heavily AI-augmented. That moves the senior job toward architecture and technical ownership: deciding what to build in pieces small enough to verify, and owning what ships.

  • Task tracking will get automated too. Judgment stays human: seeing a design fail at scale before it does.
  • On this site the AI's first design held the whole catalogue in memory. I caught it when the App Service plan hit 82 per cent and moved the work to the store.

What the AI wrote, what I decided

07Tech stack

  •    
  •    
  •    

Read from the build, never typed by hand

What TheYard runs on

What we use, where it runs, its AWS twin, the version as built, and the file that proves it.

Cloud patterns, not one vendor: every Azure piece in this stack has a named AWS twin. Mapped, not yet run on AWS.

  • .NET 1114 projects
  • React 19.3TypeScript 7.0
  • Azure9 Bicep files
  • 11GitHub Actions workflows
The whole stack, with the file that proves each line

The last release the gate stopped was 1.0.5.258 on 2 December, at its browser 1 of 2 job.

08How it is built

09How it is run

10Who and why

Next step

11What has to work, where is it today, and what does success look like?

Book 20 minutes opens an email to me with those three questions in it, and I answer with a time.

Book 20 minutes

Your email app should have opened with this message. If it did not, copy it and send it from any mailbox.

Or message me on LinkedIn