Skip to content

Commit

Permalink
final readmes
Browse files Browse the repository at this point in the history
  • Loading branch information
JamJarchitect committed Oct 3, 2023
1 parent 84acbec commit 72517ba
Show file tree
Hide file tree
Showing 14 changed files with 49 additions and 326 deletions.
10 changes: 5 additions & 5 deletions infra-as-code/bicep/modules/subscriptionPlacement/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This module moves one or more subscriptions to be a child of the specified manag

## Deployment

In this example, the subscription `xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx` will be moved to `alz-platform-connectivity` management group. The inputs for this module are defined in `parameters/subscriptionPlacement.parameters.all.json`.
In this example, the subscription `xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx` will be moved to `alz-platform-connectivity` management group. The inputs for this module are defined in `parameters/subscriptionPlacement.parameters.all.bicepparam`.

> For the examples below we assume you have downloaded or cloned the Git repo as-is and are in the root of the repository as your selected directory in your terminal of choice.
Expand All @@ -28,7 +28,7 @@ NAME="alz-SubscriptionPlacementDeployment-${dateYMD}"
LOCATION="eastus"
MGID="alz"
TEMPLATEFILE="infra-as-code/bicep/modules/subscriptionPlacement/subscriptionPlacement.bicep"
PARAMETERS="@infra-as-code/bicep/modules/subscriptionPlacement/parameters/subscriptionPlacement.parameters.all.json"
PARAMETERS="@infra-as-code/bicep/modules/subscriptionPlacement/parameters/subscriptionPlacement.parameters.all.bicepparam"

az deployment mg create --name ${NAME:0:63} --location $LOCATION --management-group-id $MGID --template-file $TEMPLATEFILE --parameters $PARAMETERS
```
Expand All @@ -41,7 +41,7 @@ NAME="alz-SubscriptionPlacementDeployment-${dateYMD}"
LOCATION="chinaeast2"
MGID="alz"
TEMPLATEFILE="infra-as-code/bicep/modules/subscriptionPlacement/subscriptionPlacement.bicep"
PARAMETERS="@infra-as-code/bicep/modules/subscriptionPlacement/parameters/subscriptionPlacement.parameters.all.json"
PARAMETERS="@infra-as-code/bicep/modules/subscriptionPlacement/parameters/subscriptionPlacement.parameters.all.bicepparam"

az deployment mg create --name ${NAME:0:63} --location $LOCATION --management-group-id $MGID --template-file $TEMPLATEFILE --parameters $PARAMETERS
```
Expand All @@ -56,7 +56,7 @@ $inputObject = @{
Location = 'eastus'
ManagementGroupId = 'alz'
TemplateFile = "infra-as-code/bicep/modules/subscriptionPlacement/subscriptionPlacement.bicep"
TemplateParameterFile = 'infra-as-code/bicep/modules/subscriptionPlacement/parameters/subscriptionPlacement.parameters.all.json'
TemplateParameterFile = 'infra-as-code/bicep/modules/subscriptionPlacement/parameters/subscriptionPlacement.parameters.all.bicepparam'
}
New-AzManagementGroupDeployment @inputObject
Expand All @@ -70,7 +70,7 @@ $inputObject = @{
Location = 'chinaeast2'
ManagementGroupId = 'alz'
TemplateFile = "infra-as-code/bicep/modules/subscriptionPlacement/subscriptionPlacement.bicep"
TemplateParameterFile = 'infra-as-code/bicep/modules/subscriptionPlacement/parameters/subscriptionPlacement.parameters.all.json'
TemplateParameterFile = 'infra-as-code/bicep/modules/subscriptionPlacement/parameters/subscriptionPlacement.parameters.all.bicepparam'
}
New-AzManagementGroupDeployment @inputObject
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ param parSubscriptionIds = [
'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
]

param parTelemetryOptOut = false
param parTelemetryOptOut = false
22 changes: 11 additions & 11 deletions infra-as-code/bicep/modules/vnetPeering/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ During the deployment step, we will take parameters provided in the example para

| Azure Cloud | Bicep template | Input parameters file |
| -------------- | ------------------- | ---------------------------------------- |
| All regions | vnetPeering.bicep | parameters/vnetPeering.parameters.all.json |
| All regions | vnetPeering.bicep | parameters/vnetPeering.parameters.all.bicepparam |

> For the examples below we assume you have downloaded or cloned the Git repo as-is and are in the root of the repository as your selected directory in your terminal of choice.
Expand All @@ -53,7 +53,7 @@ dateYMD=$(date +%Y%m%dT%H%M%S%NZ)
NAME="alz-vnetPeeringDeploy-${dateYMD}"
GROUP="rg-$TopLevelMGPrefix-vnet-peering-001"
TEMPLATEFILE="infra-as-code/bicep/modules/vnetPeering/vnetPeering.bicep"
PARAMETERS="@infra-as-code/bicep/modules/vnetPeering/parameters/vnetPeering.parameters.all.json"
PARAMETERS="@infra-as-code/bicep/modules/vnetPeering/parameters/vnetPeering.parameters.all.bicepparam"

# Create Resource Group - optional when using an existing resource group
az group create \
Expand All @@ -76,7 +76,7 @@ dateYMD=$(date +%Y%m%dT%H%M%S%NZ)
NAME="alz-vnetPeeringDeploy-${dateYMD}"
GROUP="rg-$TopLevelMGPrefix-vnet-peering-001"
TEMPLATEFILE="infra-as-code/bicep/modules/vnetPeering/vnetPeering.bicep"
PARAMETERS="@infra-as-code/bicep/modules/vnetPeering/parameters/vnetPeering.parameters.all.json"
PARAMETERS="@infra-as-code/bicep/modules/vnetPeering/parameters/vnetPeering.parameters.all.bicepparam"

# Create Resource Group - optional when using an existing resource group
az group create \
Expand All @@ -98,19 +98,19 @@ Select-AzSubscription -SubscriptionId $LandingZoneSubscriptionId
# Set the top level MG Prefix in accordance to your environment. This example assumes default 'alz'.
$TopLevelMGPrefix = "alz"
# Create Resource Group - optional when using an existing resource group
New-AzResourceGroup `
-Name $inputObject.ResourceGroupName `
-Location eastus
# Parameters necessary for deployment
$inputObject = @{
DeploymentName = 'alz-vnetPeeringDeploy-{0}' -f (-join (Get-Date -Format 'yyyyMMddTHHMMssffffZ')[0..63])
ResourceGroupName = "rg-$TopLevelMGPrefix-vnet-peering-001"
TemplateFile = "ALZ-Bicep/infra-as-code/bicep/modules/vnetPeering/vnetPeering.bicep"
TemplateParameterFile = "infra-as-code/bicep/modules/vnetPeering/parameters/vnetPeering.parameters.all.json"
TemplateFile = "infra-as-code/bicep/modules/vnetPeering/vnetPeering.bicep"
TemplateParameterFile = "infra-as-code/bicep/modules/vnetPeering/parameters/vnetPeering.parameters.all.bicepparam"
}
# Create Resource Group - optional when using an existing resource group
New-AzResourceGroup `
-Name $inputObject.ResourceGroupName `
-Location eastus
New-AzResourceGroupDeployment @inputObject
```
OR
Expand All @@ -134,7 +134,7 @@ $inputObject = @{
DeploymentName = 'alz-vnetPeeringDeploy-{0}' -f (-join (Get-Date -Format 'yyyyMMddTHHMMssffffZ')[0..63])
ResourceGroupName = "rg-$TopLevelMGPrefix-vnet-peering-001"
TemplateFile = "ALZ-Bicep/infra-as-code/bicep/modules/vnetPeering/vnetPeering.bicep"
TemplateParameterFile = "infra-as-code/bicep/modules/vnetPeering/parameters/vnetPeering.parameters.all.json"
TemplateParameterFile = "infra-as-code/bicep/modules/vnetPeering/parameters/vnetPeering.parameters.all.bicepparam"
}
New-AzResourceGroupDeployment @inputObject
Expand Down
12 changes: 6 additions & 6 deletions infra-as-code/bicep/modules/vnetPeeringVwan/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Module: VNet Peering with vWAN

This module is used to perform virtual network peering with the Virtual WAN virtual hub. This network topology is based on the Azure Landing Zone conceptual architecture which can be found [here](https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/virtual-wan-network-topology) and the hub-spoke network topology with Virtual WAN [here](https://learn.microsoft.com/en-us/azure/architecture/networking/hub-spoke-vwan-architecture). Once peered, virtual networks exchange traffic by using the Azure backbone network. Virtual WAN enables transitivity among hubs which is not possible solely by using peering. This module draws parity with the Enterprise Scale implementation in the ARM template [here](https://github.com/Azure/Enterprise-Scale/blob/main/eslzArm/subscriptionTemplates/vnetPeeringVwan.json).
This module is used to perform virtual network peering with the Virtual WAN virtual hub. This network topology is based on the Azure Landing Zone conceptual architecture which can be found [here](https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/virtual-wan-network-topology) and the hub-spoke network topology with Virtual WAN [here](https://learn.microsoft.com/en-us/azure/architecture/networking/hub-spoke-vwan-architecture). Once peered, virtual networks exchange traffic by using the Azure backbone network. Virtual WAN enables transitivity among hubs which is not possible solely by using peering. This module draws parity with the Enterprise Scale implementation in the ARM template [here](https://github.com/Azure/Enterprise-Scale/blob/main/eslzArm/subscriptionTemplates/vnetPeeringVwan.bicepparam).

Module deploys the following resources which can be configured by parameters:

Expand Down Expand Up @@ -28,7 +28,7 @@ In this example, the remote spoke Vnet will be peered with the Vwan Virtual Hub

| Azure Cloud | Bicep template | Input parameters file |
| -------------- | ------------------- | ---------------------------------------- |
| All regions | vnetPeeringVwan.bicep | parameters/vnetPeeringVwan.parameters.all.json |
| All regions | vnetPeeringVwan.bicep | parameters/vnetPeeringVwan.parameters.all.bicepparam |

> For the examples below we assume you have downloaded or cloned the Git repo as-is and are in the root of the repository as your selected directory in your terminal of choice.
Expand All @@ -44,7 +44,7 @@ dateYMD=$(date +%Y%m%dT%H%M%S%NZ)
NAME="alz-vnetPeeringVwanDeployment-${dateYMD}"
LOCATION="eastus"
TEMPLATEFILE="infra-as-code/bicep/modules/vnetPeeringVwan/vnetPeeringVwan.bicep"
PARAMETERS="@infra-as-code/bicep/modules/vnetPeeringVwan/parameters/vnetPeeringVwan.parameters.all.json"
PARAMETERS="@infra-as-code/bicep/modules/vnetPeeringVwan/parameters/vnetPeeringVwan.parameters.all.bicepparam"

az deployment sub create --name ${NAME:0:63} --location $LOCATION --template-file $TEMPLATEFILE --parameters $PARAMETERS
```
Expand All @@ -59,7 +59,7 @@ dateYMD=$(date +%Y%m%dT%H%M%S%NZ)
NAME="alz-vnetPeeringVwanDeployment-${dateYMD}"
LOCATION="chinaeast2"
TEMPLATEFILE="infra-as-code/bicep/modules/vnetPeeringVwan/vnetPeeringVwan.bicep"
PARAMETERS="@infra-as-code/bicep/modules/vnetPeeringVwan/parameters/vnetPeeringVwan.parameters.all.json"
PARAMETERS="@infra-as-code/bicep/modules/vnetPeeringVwan/parameters/vnetPeeringVwan.parameters.all.bicepparam"

az deployment sub create --name ${NAME:0:63} --location $LOCATION --template-file $TEMPLATEFILE --parameters $PARAMETERS
```
Expand All @@ -77,7 +77,7 @@ $inputObject = @{
DeploymentName = 'alz-VnetPeeringWanDeployment-{0}' -f (-join (Get-Date -Format 'yyyyMMddTHHMMssffffZ')[0..63])
Location = 'eastus'
TemplateFile = "infra-as-code/bicep/modules/vnetPeeringVwan/vnetPeeringVwan.bicep"
TemplateParameterFile = 'infra-as-code/bicep/modules/vnetPeeringVwan/parameters/vnetPeeringVwan.parameters.all.json'
TemplateParameterFile = 'infra-as-code/bicep/modules/vnetPeeringVwan/parameters/vnetPeeringVwan.parameters.all.bicepparam'
}
New-AzDeployment @inputObject
Expand All @@ -95,7 +95,7 @@ $inputObject = @{
DeploymentName = 'alz-VnetPeeringWanDeployment-{0}' -f (-join (Get-Date -Format 'yyyyMMddTHHMMssffffZ')[0..63])
Location = 'chinaeast2'
TemplateFile = "infra-as-code/bicep/modules/vnetPeeringVwan/vnetPeeringVwan.bicep"
TemplateParameterFile = 'infra-as-code/bicep/modules/vnetPeeringVwan/parameters/vnetPeeringVwan.parameters.all.json'
TemplateParameterFile = 'infra-as-code/bicep/modules/vnetPeeringVwan/parameters/vnetPeeringVwan.parameters.all.bicepparam'
}
New-AzDeployment @inputObject
Expand Down
16 changes: 8 additions & 8 deletions infra-as-code/bicep/modules/vwanConnectivity/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Module: Virtual WAN

This module is used to deploy the Virtual WAN network topology and its components according to the Azure Landing Zone conceptual architecture which can be found [here](https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/virtual-wan-network-topology). This module draws parity with the Enterprise Scale implementation in the ARM template [here](https://github.com/Azure/Enterprise-Scale/blob/main/eslzArm/subscriptionTemplates/vwan-connectivity.json).
This module is used to deploy the Virtual WAN network topology and its components according to the Azure Landing Zone conceptual architecture which can be found [here](https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/virtual-wan-network-topology). This module draws parity with the Enterprise Scale implementation in the ARM template [here](https://github.com/Azure/Enterprise-Scale/blob/main/eslzArm/subscriptionTemplates/vwan-connectivity.bicepparam).

Module deploys the following resources which can be configured by parameters:

Expand All @@ -20,7 +20,7 @@ Module deploys the following resources which can be configured by parameters:
> **NOTE:** Although there are generated parameter markdowns for Azure Commercial Cloud, this same module can still be used in Azure China. Example parameter are in the [parameters](./parameters/) folder.
<!-- markdownlint-disable -->
> NOTE: When deploying using the `parameters/vwanConnectivity.parameters.all.json` you must update the `parPrivateDnsZones` parameter by replacing the `xxxxxx` placeholders with the deployment region. Failure to do so will cause these services to be unreachable over private endpoints.
> NOTE: When deploying using the `parameters/vwanConnectivity.parameters.all.bicepparam` you must update the `parPrivateDnsZones` parameter by replacing the `xxxxxx` placeholders with the deployment region. Failure to do so will cause these services to be unreachable over private endpoints.
> For example, if deploying to East US the following zone entries:
> - `privatelink.xxxxxx.azmk8s.io`
> - `privatelink.xxxxxx.backup.windowsazure.com`
Expand Down Expand Up @@ -52,8 +52,8 @@ In this example, the resources required for Virtual WAN connectivity will be dep

| Azure Cloud | Bicep template | Input parameters file |
| -------------- | ---------------------- | ------------------------------------------------- |
| Global regions | vwanConnectivity.bicep | parameters/vwanConnectivity.parameters.all.json |
| China regions | vwanConnectivity.bicep | parameters/mc-vwanConnectivity.parameters.all.json |
| Global regions | vwanConnectivity.bicep | parameters/vwanConnectivity.parameters.all.bicepparam |
| China regions | vwanConnectivity.bicep | parameters/mc-vwanConnectivity.parameters.all.bicepparam |

> For the examples below we assume you have downloaded or cloned the Git repo as-is and are in the root of the repository as your selected directory in your terminal of choice.
Expand All @@ -71,7 +71,7 @@ dateYMD=$(date +%Y%m%dT%H%M%S%NZ)
NAME="alz-vwanConnectivityDeploy-${dateYMD}"
GROUP="rg-$TopLevelMGPrefix-vwan-001"
TEMPLATEFILE="infra-as-code/bicep/modules/vwanConnectivity/vwanConnectivity.bicep"
PARAMETERS="@infra-as-code/bicep/modules/vwanConnectivity/parameters/vwanConnectivity.parameters.all.json"
PARAMETERS="@infra-as-code/bicep/modules/vwanConnectivity/parameters/vwanConnectivity.parameters.all.bicepparam"

# Create Resource Group - optional when using an existing resource group
az group create \
Expand All @@ -94,7 +94,7 @@ dateYMD=$(date +%Y%m%dT%H%M%S%NZ)
NAME="alz-vwanConnectivityDeploy-${dateYMD}"
GROUP="rg-$TopLevelMGPrefix-vwan-001"
TEMPLATEFILE="infra-as-code/bicep/modules/vwanConnectivity/vwanConnectivity.bicep"
PARAMETERS="@infra-as-code/bicep/modules/vwanConnectivity/parameters/mc-vwanConnectivity.parameters.all.json"
PARAMETERS="@infra-as-code/bicep/modules/vwanConnectivity/parameters/mc-vwanConnectivity.parameters.all.bicepparam"

# Create Resource Group - optional when using an existing resource group
az group create \
Expand All @@ -121,7 +121,7 @@ $inputObject = @{
DeploymentName = 'alz-vwanConnectivityDeploy-{0}' -f (-join (Get-Date -Format 'yyyyMMddTHHMMssffffZ')[0..63])
ResourceGroupName = "rg-$TopLevelMGPrefix-vwan-001"
TemplateFile = "infra-as-code/bicep/modules/vwanConnectivity/vwanConnectivity.bicep"
TemplateParameterFile = "infra-as-code/bicep/modules/vwanConnectivity/parameters/vwanConnectivity.parameters.all.json"
TemplateParameterFile = "infra-as-code/bicep/modules/vwanConnectivity/parameters/vwanConnectivity.parameters.all.bicepparam"
}
Expand All @@ -147,7 +147,7 @@ $inputObject = @{
DeploymentName = 'alz-vwanConnectivityDeploy-{0}' -f (-join (Get-Date -Format 'yyyyMMddTHHMMssffffZ')[0..63])
ResourceGroupName = "rg-$TopLevelMGPrefix-vwan-001"
TemplateFile = "infra-as-code/bicep/modules/vwanConnectivity/vwanConnectivity.bicep"
TemplateParameterFile = "infra-as-code/bicep/modules/vwanConnectivity/parameters/mc-vwanConnectivity.parameters.all.json"
TemplateParameterFile = "infra-as-code/bicep/modules/vwanConnectivity/parameters/mc-vwanConnectivity.parameters.all.bicepparam"
}
New-AzResourceGroup `
Expand Down
8 changes: 4 additions & 4 deletions infra-as-code/bicep/orchestration/hubPeeredSpoke/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ NAME="alz-HubPeeredSpoke-${dateYMD}"
LOCATION="eastus"
MGID="alz"
TEMPLATEFILE="infra-as-code/bicep/orchestration/hubPeeredSpoke/hubPeeredSpoke.bicep"
PARAMETERS="@infra-as-code/bicep/orchestration/hubPeeredSpoke/parameters/hubPeeredSpoke.parameters.all.json"
PARAMETERS="@infra-as-code/bicep/orchestration/hubPeeredSpoke/parameters/hubPeeredSpoke.parameters.all.bicepparam"

az deployment mg create --name ${NAME:0:63} --location $LOCATION --management-group-id $MGID --template-file $TEMPLATEFILE --parameters $PARAMETERS
```
Expand All @@ -64,7 +64,7 @@ NAME="alz-HubPeeredSpoke-${dateYMD}"
LOCATION="chinaeast2"
MGID="alz"
TEMPLATEFILE="infra-as-code/bicep/orchestration/hubPeeredSpoke/hubPeeredSpoke.bicep"
PARAMETERS="@infra-as-code/bicep/orchestration/hubPeeredSpoke/parameters/hubPeeredSpoke.parameters.all.json"
PARAMETERS="@infra-as-code/bicep/orchestration/hubPeeredSpoke/parameters/hubPeeredSpoke.parameters.all.bicepparam"

az deployment mg create --name ${NAME:0:63} --location $LOCATION --management-group-id $MGID --template-file $TEMPLATEFILE --parameters $PARAMETERS
```
Expand All @@ -79,7 +79,7 @@ $inputObject = @{
Location = 'EastUS'
ManagementGroupId = 'alz'
TemplateFile = "infra-as-code/bicep/orchestration/hubPeeredSpoke/hubPeeredSpoke.bicep"
TemplateParameterFile = 'infra-as-code/bicep/orchestration/hubPeeredSpoke/parameters/hubPeeredSpoke.parameters.all.json'
TemplateParameterFile = 'infra-as-code/bicep/orchestration/hubPeeredSpoke/parameters/hubPeeredSpoke.parameters.all.bicepparam'
}
New-AzManagementGroupDeployment @inputObject
Expand All @@ -93,7 +93,7 @@ $inputObject = @{
Location = 'chinaeast2'
ManagementGroupId = 'alz'
TemplateFile = "infra-as-code/bicep/orchestration/hubPeeredSpoke/hubPeeredSpoke.bicep"
TemplateParameterFile = 'infra-as-code/bicep/orchestration/hubPeeredSpoke/parameters/hubPeeredSpoke.parameters.all.json'
TemplateParameterFile = 'infra-as-code/bicep/orchestration/hubPeeredSpoke/parameters/hubPeeredSpoke.parameters.all.bicepparam'
}
New-AzManagementGroupDeployment @inputObject
Expand Down
Loading

0 comments on commit 72517ba

Please sign in to comment.