Files
defiQUG 6a8582e54d feat: comprehensive project structure improvements and Cloud for Sovereignty landing zone
- Add Cloud for Sovereignty landing zone architecture and deployment
- Implement complete legal document management system
- Reorganize documentation with improved navigation
- Add infrastructure improvements (Dockerfiles, K8s, monitoring)
- Add operational improvements (graceful shutdown, rate limiting, caching)
- Create comprehensive project structure documentation
- Add Azure deployment automation scripts
- Improve repository navigation and organization
2025-11-13 09:32:55 -08:00
..

Azure Setup Scripts

This directory contains scripts for setting up Azure infrastructure prerequisites for The Order.

Scripts

1. azure-setup.sh - Complete Azure Setup

Comprehensive setup script that:

  • Lists all available Azure Commercial regions (excluding US)
  • Sets default region to West Europe
  • Checks and registers required resource providers
  • Checks quotas for primary regions
  • Generates reports

Usage:

./infra/scripts/azure-setup.sh

Output Files:

  • azure-regions.txt - List of all non-US regions
  • azure-quotas.txt - Quota information for primary regions

2. azure-register-providers.sh - Register Resource Providers

Registers all required Azure Resource Providers for The Order.

Usage:

./infra/scripts/azure-register-providers.sh

What it does:

  • Checks registration status of all required providers
  • Registers unregistered providers
  • Waits for registration to complete
  • Reports final status

3. azure-check-quotas.sh - Check Quotas for All Regions

Checks quotas for all non-US Azure regions.

Usage:

./infra/scripts/azure-check-quotas.sh

Output:

  • azure-quotas-all-regions.txt - Detailed quota information for all regions

Prerequisites

  1. Azure CLI installed

    # Check if installed
    az --version
    
    # Install if needed
    # https://docs.microsoft.com/en-us/cli/azure/install-azure-cli
    
  2. Azure CLI logged in

    az login
    az account show
    
  3. Required permissions

    • Subscription Contributor or Owner role
    • Ability to register resource providers
    • Ability to check quotas

Quick Start

  1. Login to Azure

    az login
    
  2. Run complete setup

    ./infra/scripts/azure-setup.sh
    
  3. Verify providers are registered

    ./infra/scripts/azure-register-providers.sh
    
  4. Check quotas

    ./infra/scripts/azure-check-quotas.sh
    

Required Resource Providers

See infra/terraform/AZURE_RESOURCE_PROVIDERS.md for complete list.

Default Region

West Europe (westeurope) is the default region. US Commercial and Government regions are not used.

Troubleshooting

Script fails with "not logged in"

az login
az account set --subscription <subscription-id>

Provider registration fails

  • Check subscription permissions
  • Verify subscription is active
  • Wait 5-10 minutes and retry

Quota check fails

  • Some regions may not support all quota types
  • Check individual regions manually if needed

Output Files

All scripts generate output files in the current directory:

  • azure-regions.txt - List of available regions
  • azure-quotas.txt - Quotas for primary regions
  • azure-quotas-all-regions.txt - Quotas for all regions

Review these files to understand available resources and limits.