Skip to content

Deployment guide

Before day one, every attendee gets a simulated datacenter in their own workload subscription and spoke connectivity to a shared Azure landing zone, deployed with GitHub Actions. Follow one setup path from start to finish. Don’t mix steps between the two paths.

Ground rules across both paths:

  • No coach is available during the pre-hackathon. Pre-hackathon support is best-effort.
  • Your first point of contact is your designated team lead. Check with your team lead first if you hit a permission, quota, or access problem before day one (see Roles).
  • Every deployment and teardown runs through GitHub Actions (platform.yml), leaving an auditable run log.

Each attendee creates their own private repository; the team lead sets up the Lead pipeline in theirs while every other member sets up a Member pipeline. Everyone deploys their own datacenter in Step 3 and removes their member scope at T+2. The team lead runs the shared foundation (Step 2) and spoke vending (Step 4). Self-service teams typically have 3 to 5 members, including the team lead. Follow Step 1 to Step 4 in chronological order before day one.

A timeline from T-14 to T+2 with three lanes. The team lead's lane runs the whatif and foundation stages, then vending after every member's datacenter and Arc connection are ready, then teardown. Each member's lane runs whatif, then the member stage that deploys and tests the datacenter and connects it to Azure Arc, then teardown. A third lane shows what a person does: share values with the team lead, the Graph grant by a Privileged Role Administrator, the readiness check, and removing the pipeline identity.
Path A (self-service teams): who runs which stage from Step 1 (T-14) through Step 4 (T-1) and Tear down (T+2). Open full size
StepWhenWhoWhat you doPage
Step 1T-14 (14 days before day one)Everyone + Team leadCreate your private repo from apex-accelerator, import the kit, merge to main, create .local/settings.json, share roster values with your team lead, initialize the Actions pipeline, and run the whatif preflight and manual checksStep 1: Repo and preflight (T-14)
Step 2T-7 (7 days before day one)Team lead + Privileged Role AdministratorBootstrap <mgPrefix>-readers (Sync-FactoryReaderGroup.ps1), deploy the team’s shared landing zone (foundation stage), and grant the SQL Managed Instance identity its Microsoft Graph read permissions (Grant-SqlMiDirectoryRead.ps1). Members skip to Step 3Step 2: Foundation and Graph grant (T-7)
Step 3T-3 (3 days before day one)Everyone (team lead included)Run the member stage (datacenter deploy, Test-Datacenter.ps1 before Arc, and vm-app01 Arc onboarding), start the first Arc SQL migration assessment, set up vm-dev01 with Copilot, and commit factory/evidence/readiness/Step 3: Datacenter and workstation (T-3)
Step 4T-1 (1 day before day one)Team lead + EveryoneEveryone starts both datacenter VMs. The group owner syncs <mgPrefix>-readers from the full roster, and the team lead runs the vending stage, which checks datacenter/Arc readiness, connects each spoke to the hub, restarts the VMs, records exemptions, and runs connectivity probesStep 4: Vending (T-1)
EventDay 1, 08:30EveryoneAttend the 30-minute tech lead introduction, then start C1: Define the opportunity at 09:00Challenges
AfterT+2Everyone, Team lead, AdminTear down every member scope first, then the team scope, and remove the pipeline identitiesTear down: Self-service teams (T+2)

Path B: Lead-provisioned cohort (1 team, n attendees)

Section titled “Path B: Lead-provisioned cohort (1 team, n attendees)”

Use this track when one team lead prepares the entire lab centrally for n attendees. Only the lead repository (<event>-lead) has a GitHub Actions pipeline; each student receives Write (push) access to one pre-created <event>-student-<nn> repository (never creating a GitHub repo of their own) with no gh-lab environment, OIDC identity, or secrets. (If the team lead also takes part in member challenges, they take slot 1 and <event>-student-01 too.)

The team lead (or platform facilitator) creates the private repositories, runs preflight, deploys the foundation and Arc-connected datacenters, and runs vending centrally. They collect each attendee’s GitHub username to send the collaborator invitation. Attendees complete only Student onboarding (before Day 1). A cohort can have any n attendees, optionally organized into 3-to-5-person breakout pods for team challenges C1, C4, and C10.

StepWhenWhoWhat you doPage
Step 1T-14 (14 days before day one)Team leadCreate the lead repo and staging student template repo, assemble .local/roster.json for 1..n, stamp out all n private student repos with Initialize-CohortRepos.ps1, initialize the Lead pipeline, and run whatif preflightStep 1: Cohort repos, roster and preflight (T-14)
Step 2T-7 (7 days before day one)Team lead + Privileged Role AdministratorBootstrap <mgPrefix>-readers (Sync-FactoryReaderGroup.ps1), deploy the shared landing zone (foundation stage) from the lead repo, and grant id-sqlmi-directory its Microsoft Graph read permissions (Grant-SqlMiDirectoryRead.ps1)Step 2: Foundation and Graph grant (T-7)
Step 3T-3 (3 days before day one)Team leadRun member from the lead repo across all n subscriptions (deploying datacenters, passing Test-Datacenter.ps1, and onboarding vm-app01 to Arc), push test-datacenter.txt to each student repo, and trigger Arc SQL assessmentsStep 3: Datacenters and Arc (T-3)
Step 4T-1 (1 day before day one)Team leadStart all cohort VMs, sync <mgPrefix>-readers from the full memberPrincipalId roster, run vending (batched if n > 50), collect attendees’ GitHub usernames, send Write collaborator invites, and distribute private Handoff CardsStep 4: Vending and collaborator invites (T-1)
OnboardingBefore Day 1 (20–30 min)Every studentAccept your GitHub invite, connect to vm-dev01 via Bastion, clone C:\src\<your-repo> on main, run the one-line Initialize-Settings.ps1 command from your Handoff Card, and confirm readiness evidence on mainStudent onboarding (before Day 1)
EventDay 1, 08:30EveryoneAttend the 30-minute tech lead introduction, then start C1: Define the opportunity at 09:00Challenges
AfterT+2Students, Team lead, AdminStudents push final branches and evidence; the team lead tears down all member scopes and the foundation from the lead repo and removes the single lead pipeline identityTear down: Lead-provisioned cohort (T+2)

Every member’s datacenter must be deployed, tested, and connected to Azure Arc in Step 3 before the vending stage connects that subscription in Step 4. There is no coach sign-off gate before day one: when the team lead runs vending, the pipeline automatically verifies that each member’s vnet-datacenter exists and vm-app01 is Arc-connected (Connected) before vending their spoke. Readiness files saved under factory/evidence/readiness/ let the team lead (and coaches on day one) inspect the setup quickly if anything needs troubleshooting.

Look up PIM, Tenant Root, and member index in the glossary. Accounts, tools, and network rules are on Requirements.