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.
Path A: Self-service teams
Section titled “Path A: Self-service teams”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.
| Step | When | Who | What you do | Page |
|---|---|---|---|---|
| Step 1 | T-14 (14 days before day one) | Everyone + Team lead | Create 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 checks | Step 1: Repo and preflight (T-14) |
| Step 2 | T-7 (7 days before day one) | Team lead + Privileged Role Administrator | Bootstrap <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 3 | Step 2: Foundation and Graph grant (T-7) |
| Step 3 | T-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 4 | T-1 (1 day before day one) | Team lead + Everyone | Everyone 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 probes | Step 4: Vending (T-1) |
| Event | Day 1, 08:30 | Everyone | Attend the 30-minute tech lead introduction, then start C1: Define the opportunity at 09:00 | Challenges |
| After | T+2 | Everyone, Team lead, Admin | Tear down every member scope first, then the team scope, and remove the pipeline identities | Tear 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.
| Step | When | Who | What you do | Page |
|---|---|---|---|---|
| Step 1 | T-14 (14 days before day one) | Team lead | Create 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 preflight | Step 1: Cohort repos, roster and preflight (T-14) |
| Step 2 | T-7 (7 days before day one) | Team lead + Privileged Role Administrator | Bootstrap <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 3 | T-3 (3 days before day one) | Team lead | Run 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 assessments | Step 3: Datacenters and Arc (T-3) |
| Step 4 | T-1 (1 day before day one) | Team lead | Start 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 Cards | Step 4: Vending and collaborator invites (T-1) |
| Onboarding | Before Day 1 (20–30 min) | Every student | Accept 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 main | Student onboarding (before Day 1) |
| Event | Day 1, 08:30 | Everyone | Attend the 30-minute tech lead introduction, then start C1: Define the opportunity at 09:00 | Challenges |
| After | T+2 | Students, Team lead, Admin | Students 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 identity | Tear down: Lead-provisioned cohort (T+2) |
Automatic readiness check before vending
Section titled “Automatic readiness check before vending”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.
Reference pages in this section
Section titled “Reference pages in this section”- How it works: what each stage builds, how the pipeline signs in, profile models for Path A and Path B, and scaling thresholds for larger cohorts.
- Path A (Self-service teams): Step 1, Step 2, Step 3, Step 4, and Tear down.
- Path B (Lead-provisioned cohort): Step 1, Step 2, Step 3, Step 4, Student onboarding, and Tear down.
Look up PIM, Tenant Root, and member index in the glossary. Accounts, tools, and network rules are on Requirements.