Skip to content

FEAT: Storage account creation for GUI deployments#1693

Merged
varunj-msft merged 1 commit into
microsoft:mainfrom
varunj-msft:varunj-msft/GUI-Deployment-Storage-Creation
May 7, 2026
Merged

FEAT: Storage account creation for GUI deployments#1693
varunj-msft merged 1 commit into
microsoft:mainfrom
varunj-msft:varunj-msft/GUI-Deployment-Storage-Creation

Conversation

@varunj-msft
Copy link
Copy Markdown
Contributor

Description

Adds per-instance storage account creation to the GUI deployment script. Previously, deployed instances reused a shared AIRT storage account, breaking the isolation model. Each new instance now gets its own storage account and blob container, with the URL auto-injected into the .env (same pattern as the SQL connection string).

Changes:

  • infra/deploy_instance.py — New create_storage_account() function. Grants Storage Blob Data Contributor on the new SA to the managed identity. Auto-injects AZURE_STORAGE_ACCOUNT_DB_DATA_CONTAINER_URL into the .env. Clarified --owner-tag help text re: subscription tag policy.
  • infra/env.demo.template — Storage URL line commented out (now auto-injected).
  • infra/DEPLOY_NEW_INSTANCE.md — Updated resource table, prerequisites, secret-update warning, new "Blob storage errors" troubleshooting section, --owner-tag marked Conditional with policy explanation.

Tests and Documentation

No unit tests — deploy_instance.py is a CLI wrapper around az commands, validated via --dry-run and mocked end-to-end testing. Manually verified Azure CLI flag compatibility (--public-access "off", Storage Blob Data Contributor role includes generateUserDelegationKey).

Documentation updated in infra/DEPLOY_NEW_INSTANCE.md.

No JupyText changes — no doc notebooks affected.

Comment thread infra/deploy_instance.py
Comment thread infra/deploy_instance.py
@varunj-msft varunj-msft added this pull request to the merge queue May 7, 2026
Merged via the queue into microsoft:main with commit 2dc2afd May 7, 2026
48 checks passed
@varunj-msft varunj-msft deleted the varunj-msft/GUI-Deployment-Storage-Creation branch May 7, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants