Startup-Scale Landing Zone
A stripped-down, opinionated, production-ready Azure Landing Zone for startups and digital-native teams. Built for companies with 5–50 engineers that need to get Azure right from day one without enterprise complexity.
environment and team. No exceptions.Why This Landing Zone
Enterprise foundations without the enterprise complexity.
1 Hour Deploy
From zero to production-ready Azure with Bicep or Terraform. No consultants required.
2 Subscriptions
One management group, prod + non-prod. A simple hierarchy you can grow later.
Security Built-in
Defender for Cloud, RBAC, NSG deny-all defaults, policy enforcement from day one.
Cost Aware
Budget alerts at 50/80/100%, tag enforcement, and reservation guidance built in.
How It Compares
ALZ (Enterprise Scale)
100+ modules, months to understand, built for 10k-seat enterprises
ALZ-Bicep
Still enterprise-scoped, overwhelming for a 10-person startup
CAF Terraform Module
Enterprise-scoped, in extended support (archived Aug 2026). Microsoft recommends migrating to Azure Verified Modules.
This Project
Deploys in 1 hour, grows with you, and is written for engineers.
Architecture Overview
Self-contained subscriptions, with no hub network or Azure Firewall until you need them.
Management Hierarchy
Network Layout
10.0.0.0/16
/20/22/22/2410.1.0.0/16
/20/22/22/24Quick Start
From zero to production-ready in under an hour.
Prerequisites
5 minClone the repo, log in to Azure, and validate your environment. You'll need Azure CLI, two subscriptions (prod + nonprod), and Owner permission on both. If you create the subscriptions yourself, you are Owner by default.
On Windows, install Git for Windows and run every command in Git Bash. The .sh scripts do not run in PowerShell or Command Prompt. Azure Cloud Shell and WSL also work.
Show commands
git clone https://github.com/ricmmartins/sslz.git
cd sslz
az login
az account set --subscription <YOUR_PROD_SUBSCRIPTION_ID>
az account show --query "{name:name, tenant:tenantId}" # confirm this is the right subscription
# Validates CLI tools, Azure auth, provider registrations, and permissions
./scripts/validate-prerequisites.sh
Management Groups (Optional)
5 minCreate the management group hierarchy. Optional: the landing zone works without it.
- Needs tenant-level permission. If the Bicep command fails with
AuthorizationFailed, it needs tenant-scope deployment permission (elevated access). The Terraform command usually does not need it. - After you give yourself the role (Contributor at
/is enough), runaz logoutandaz login. It can take several minutes to propagate, and the Azure CLI may print a Python traceback that hides the real error. - Replace every
<...>placeholder including the angle brackets, and use the same company name in every step, in lowercase letters and digits (it ends up in every resource group and resource name, such asrg-<company>-prod-networking). - The
displayNameline is optional and only changes the management group name shown in the portal. The value is used exactly as written. - Full steps are in the README.
Bicep command
az deployment tenant create \
--location eastus2 \
--template-file infra/bicep/modules/management-groups.bicep \
--parameters \
companyName='<yourcompany>' \
displayName='Contoso Landing Zone' \
prodSubscriptionId='<PROD_SUB_ID>' \
nonprodSubscriptionId='<NONPROD_SUB_ID>'
Terraform command
cd infra/terraform/modules/management-groups
terraform init
terraform apply \
-var='subscription_id=<ANY_SUB_ID>' \
-var='company_name=<yourcompany>' \
-var='display_name=Contoso Landing Zone' \
-var='prod_subscription_id=<PROD_SUB_ID>' \
-var='nonprod_subscription_id=<NONPROD_SUB_ID>'
cd ../../../..
Deploy
20 minDeploy the landing zone — policies, networking, monitoring, Defender for Cloud, and budgets. Copy the parameter file, edit with your values, preview with what-if/plan, then deploy.
Bicep: before you deploy, change budgetStartDate. The example file ships with an old date (2026-03-01T00:00:00Z). Set it to the first day of the current month, for example 2026-11-01T00:00:00Z. A past or mid-month date makes the budget deployment fail. Terraform: leave budget_start_date out and it uses the first day of the current month automatically.
Bicep commands
cd infra/bicep
# Copy and edit parameters. Change every value in SECTION 1 (companyName, location,
# securityContactEmail, monthlyBudgetAmount, budgetAlertEmails, budgetStartDate).
# SECTION 2 is optional; defaults live in main.bicep.
cp parameters/prod.bicepparam parameters/prod.local.bicepparam
# Preview changes (no resources created)
az deployment sub what-if \
--location eastus2 \
--template-file main.bicep \
--parameters parameters/prod.local.bicepparam
# Deploy
az deployment sub create \
--location eastus2 \
--template-file main.bicep \
--parameters parameters/prod.local.bicepparam \
--name "lz-prod-$(date +%Y%m%d-%H%M%S)"
Terraform commands
cd infra/terraform
# Copy and edit variables (subscription_id, company_name, emails, etc.)
cp terraform.tfvars.example terraform.tfvars
# For local dev (no remote backend):
terraform init -backend=false
# For CI/CD or team use, set up remote backend first:
# ./scripts/bootstrap-backend.sh -s <storage-account-name>
# terraform init -backend-config="storage_account_name=<name>"
terraform plan -out=tfplan # Preview changes
terraform apply tfplan # Deploy
Verify
5 minConfirm resource groups, Log Analytics, policies, and Defender plans were created correctly.
Show commands
# Check resource groups
az group list \
--query "[?contains(name, 'yourcompany')].name" -o tsv
# Check Log Analytics workspace
az monitor log-analytics workspace list \
--query "[].name" -o tsv
# Check policy assignments
az policy assignment list \
--query "[].displayName" -o tsv
# Check Defender plans
az security pricing list \
--query "value[?pricingTier=='Standard'].{Name:name, Tier:pricingTier}" -o table
# Check security contact
az security contact show --name default \
--query "{Email:emails, Roles:notificationsByRole.roles}" -o table
# Check budget
az consumption budget list \
--query "[].{Name:name, Amount:amount, TimeGrain:timeGrain}" -o table
# Check NSG rules
az network nsg list --query "[].name" -o tsv
Post-Deploy
30 minAssign RBAC roles to your team, set up CI/CD with Workload Identity Federation, and enable cost anomaly alerts. See the Day-1 Checklist below.
Teardown commands (if needed)
# Use the same --env you deployed (prod or nonprod)
./scripts/teardown.sh --tool terraform --env prod --company yourcompany
./scripts/teardown.sh --tool bicep --env prod --company yourcompany
# By default, Bicep teardown deletes only the resource groups. To also remove
# leftovers (policy assignments and their role assignments, the activity-log
# diagnostic setting, budget, security contact), add the flag below to either
# tool. Use it only on a subscription with no other workloads. Defender plans stay unless you add --reset-defender-plans.
# The management group (mg-<company>) stays by default. After tearing down both prod and nonprod,
# add --include-management-group to delete it. Subscriptions are never deleted.
./scripts/teardown.sh --tool terraform --env prod --company yourcompany --include-subscription-settings [--reset-defender-plans] [--include-management-group]
Day-1 Checklist
90 minutes from zero to production-ready, in three phases.
Pre-Deployment
30 min- Verify Entra ID tenant is set up, custom domain added
- Enable Security Defaults (Entra ID > Properties > Security Defaults)
- Create break-glass account with hardware MFA key
- Create security group
sg-azure-admins, add 2-3 founders/leads
Deploy
30 min- Run Bicep or Terraform deployment — see Step 3 above
- Verify resources in Azure Portal
Post-Deployment
30 min- Assign
sg-azure-adminsas Owner on the management group - Create Entra ID groups:
sg-azure-developers,sg-azure-readers - Assign RBAC roles (see Security docs)
- Set up CI/CD with Workload Identity Federation
- Test a sample deployment end-to-end
What's Included
Management Groups
Single MG with two subscriptions underneath
Azure Policy
Microsoft Cloud Security Benchmark (audit), required tags, allowed locations
Networking
VNet + subnets per subscription, NSGs with deny-all-inbound default
Monitoring
Log Analytics workspace, Activity Log forwarding, diagnostic settings policy
Security
Defender for Cloud CSPM, Defender for Servers P2 (prod), MFA via Security Defaults
Cost Management
Budget alerts at 50/80/100%, tagging enforcement
CI/CD
GitHub Actions workflows for Bicep and Terraform
What's NOT Included (By Design)
Enterprise components you should add later when needed.
Starter Examples
Pre-built configurations for common startup archetypes.
Documentation
Practical guides written for engineers.
Architecture Decisions
Why this layout, what we skipped, and when to revisit
Resource Inventory
Complete list of every Azure resource created
Networking Deep Dive
VNet design, NSGs, and when you actually need a hub
Security Baseline
Defender, RBAC, logging, and network security
Cost Management
Budgets, reservations, and common cost mistakes
CI/CD Setup
Workload Identity Federation and GitHub Actions
Troubleshooting
Common deployment errors and fixes
Graduation Guide
When and how to migrate to full ALZ
Architecture Diagrams
Visual diagrams of the full landing zone