Azure资源组部署工具

用于基于新西兰主要城市部署Azure资源组和存储账户的基础设施即代码工具,遵循Azure最佳实践和安全标准。

  • by lukemurraynz
  • Shell
  • 本地部署
  • 更新于
在 GitHub 查看 lukemurraynz/AZD_AzureMCP_GitHub_Coding_Agent

使用说明

AZD_AzureMCP_智能家居_制冷_代理

Azure Developer CLI编码代理仓库。用于测试功能。

博客文章: 使用AZD自动化GitHub副本的Azure访问

新西兰Azure资源组

此存储库包含用于基于新西兰主要城市部署Azure资源组和存储帐户的基础设施即代码(IaC)。

快速开始

# Validate the Bicep templates
./infra/test-templates.sh

# Preview the deployment
az deployment sub what-if \
  --location newzealandnorth \
  --template-file infra/nz-resource-groups.bicep \
  --parameters environment=prod

# Deploy the infrastructure
./infra/deploy.sh

包含什么

  • 10个资源组 -每个新西兰主要城市一个(奥克兰、惠灵顿、基督城、汉密尔顿、陶朗加、纳皮尔、但尼丁、北帕默斯顿、纳尔逊、罗托鲁瓦)
  • 10个存储帐户 -每个资源组一个
  • Azure最佳实践命名约定 -遵循云采用框架指南
  • 安全最佳实践 -仅HTTPS,TLS 1.2,已启用加密
  • 综合测试 -自动验证套件

文档

看 infra/README.md 有关完整的文档、命名约定和部署说明。

命名约定

  • 资源组: rg-<city>-<environment>-<region>-001

    • 例子: rg-auckland-prod-newzealandnorth-001
  • 存储帐户: st<cityabbrev><environment>001

    • 例子: staklprod001 (奥克兰)
    • 城市缩写:akl、wlg、chc、hlt、trg、npr、dud、pmr、nsn、rot