-
Notifications
You must be signed in to change notification settings - Fork 109
docs: update APRL for vWAN recommendations #566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 11 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
83f2a7a
Added: - Establish a tunnel between the on-premises device(s) and eac…
66232fd
Merge branch 'aprlvwanv2' of https://github.com/maurojasmsft/Azure-Pr…
5610d78
Merge branch 'Azure:main' into aprlvwanv2
maurojasmsft 4a8e7a8
Added: vWAN from Basic to Standard recommendation
3f72769
Merge branch 'aprlvwanv2' of https://github.com/maurojasmsft/Azure-Pr…
631f93a
Added KQL queries
d820a9b
Added KQL queries for ExR GW, vhub GW, VPN GW Monitoring
a27ce3b
corrected KQL for VPN GW on vWAN
385dd3b
added Vnet to Vnet No Virtual Wan traffic KQL query and changed recom…
c525006
Added queries for P2S monitoring
5500d54
Merge branch 'Azure:main' into aprlvwanv2
maurojasmsft fa851ef
change: minor change Shortest path between VNETs. Avoids hairpinning …
2881e01
removed spaces on some recomendationControl
e5059d2
format errors
c7a5272
fix: shortened potentialBenefits in Avoid using ExpressRoute circuits…
fbf4538
removed additional line
67da877
removed publishedToLearn: false
801e7c7
formated project according to APRL template
04fc7e2
Merge branch 'main' into aprlvwanv2
oZakari File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
29 changes: 28 additions & 1 deletion
29
azure-resources/Network/expressRouteGateways/kql/17e8d380-e4b4-41a1-9b37-2e4df9fd5125.kql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,28 @@ | ||
// under-development | ||
// Azure Resource Graph Query | ||
// Find what Express Route Gateways do not have Monitoring Enabled on a Virtual Hub | ||
|
||
resources | ||
| where type =~ "Microsoft.Network/expressRouteGateways" | ||
| extend ergwId = tolower(tostring(id)), ergwName = name, ergwTags = tags, ergwLocation = location, vhubId = tolower(tostring(properties.virtualHub.id)) | ||
| join kind=leftouter ( | ||
resources | ||
| where type =~ "microsoft.insights/metricalerts" | ||
| mv-expand scope = properties.scopes | ||
| where scope has "Microsoft.Network/expressRouteGateways" | ||
| extend scope = tolower(tostring(scope)) | ||
| project scope | ||
) on $left.ergwId == $right.scope | ||
| where strlen(scope) == 0 | ||
| join kind=leftouter ( | ||
resources | ||
| where type =~ "Microsoft.Network/virtualHubs" | ||
| where ['kind'] != 'RouteServer' | ||
| extend vhubId = tolower(tostring(id)), vhubName = name, vwanId = tolower(tostring(properties.virtualWan.id)) | ||
) on $left.vhubId == $right.vhubId | ||
| join kind=leftouter ( | ||
resources | ||
| where type =~ "Microsoft.Network/virtualWans" | ||
| extend vwanId = tolower(tostring(id)), vwanName = name | ||
) on $left.vwanId == $right.vwanId | ||
| project recommendationId = "17e8d380-e4b4-41a1-9b37-2e4df9fd5125", ergwName, ergwId, ergwTags, param1=strcat("vHub Name: ", vhubName), param2=strcat("vWAN Name: ", vwanName) | ||
|
21 changes: 21 additions & 0 deletions
21
azure-resources/Network/expressRouteGateways/kql/560a76a7-8f64-4ce3-ad27-d174468861a1.kql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// Azure Resource Graph Query | ||
// Find what Express Route Gateways have allow Non Virtual Wan Traffic enabled | ||
|
||
resources | ||
| where type =~ "Microsoft.Network/expressRouteGateways" | ||
| where properties.allowNonVirtualWanTraffic == "true" | ||
| extend ergwId = tolower(tostring(id)), ergwName = name, ergwTags = tags, ergwLocation = location, vhubId = tolower(tostring(properties.virtualHub.id)) | ||
| join kind=leftouter ( | ||
resources | ||
| where type =~ "Microsoft.Network/virtualHubs" | ||
| where ['kind'] != 'RouteServer' | ||
| extend vhubId = tolower(tostring(id)), vhubName = name, vwanId = tolower(tostring(properties.virtualWan.id)) | ||
) on $left.vhubId == $right.vhubId | ||
| join kind=leftouter ( | ||
resources | ||
| where type =~ "Microsoft.Network/virtualWans" | ||
| extend vwanId = tolower(tostring(id)), vwanName = name | ||
) on $left.vwanId == $right.vwanId | ||
| project recommendationId = "560a76a7-8f64-4ce3-ad27-d174468861a1", ergwName, ergwId, ergwTags, param1=strcat("vHub Name: ", vhubName), param2=strcat("vWAN Name: ", vwanName) | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 26 additions & 1 deletion
27
azure-resources/Network/p2sVpnGateways/kql/fd43ea32-2ccf-49a8-ada4-9a78794e3ff1.kql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,26 @@ | ||
// under-development | ||
// Azure Resource Graph Query | ||
// Find what Point to Site Gateways do not have Monitoring Enabled on a Virtual Hub | ||
resources | ||
| where type =~ "microsoft.network/p2svpngateways" | ||
| extend p2sgwId = tolower(tostring(id)), p2sgwName = name, p2sgwTags = tags, p2sgwLocation = location, vhubId = tolower(tostring(properties.virtualHub.id)) | ||
| join kind=leftouter ( | ||
resources | ||
| where type =~ "microsoft.insights/metricalerts" | ||
| mv-expand scope = properties.scopes | ||
| where scope has "microsoft.network/p2svpngateways" | ||
| extend scope = tolower(tostring(scope)) | ||
| project scope | ||
) on $left.p2sgwId == $right.scope | ||
| where isnull(scope) or strlen(scope) == 0 | ||
| join kind=leftouter ( | ||
resources | ||
| where type =~ "Microsoft.Network/virtualHubs" | ||
| where ['kind'] != 'RouteServer' | ||
| extend vhubId = tolower(tostring(id)), vhubName = name, vwanId = tolower(tostring(properties.virtualWan.id)) | ||
) on $left.vhubId == $right.vhubId | ||
| join kind=leftouter ( | ||
resources | ||
| where type =~ "Microsoft.Network/virtualWans" | ||
| extend vwanId = tolower(tostring(id)), vwanName = name | ||
) on $left.vwanId == $right.vwanId | ||
| project recommendationId = "fd43ea32-2ccf-49a8-ada4-9a78794e3ff1", p2sgwName, p2sgwId, p2sgwTags, param1=strcat("vHub Name: ", vhubName), param2=strcat("vWAN Name: ", vwanName) |
1 change: 0 additions & 1 deletion
1
azure-resources/Network/virtualHubs/kql/0390bf34-8be5-44ee-b454-d6b8d5dd3790.kql
This file was deleted.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
azure-resources/Network/virtualHubs/kql/30ec8a5e-46de-4323-87e9-a7c56b72813b.kql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// Azure Resource Graph Query | ||
// Find what virtual Hubs do not have Monitoring Enabled. | ||
|
||
resources | ||
| where type =~ "Microsoft.Network/virtualHubs" | ||
| where ['kind'] != 'RouteServer' | ||
| extend hubId = tolower(tostring(id)), hubName = name, hubTags = tags, hubLocation = location, vwanId = tolower(tostring(properties.virtualWan.id)) | ||
| join kind=leftouter ( | ||
resources | ||
| where type =~ "microsoft.insights/metricalerts" | ||
| mv-expand scope = properties.scopes | ||
| where scope has "Microsoft.Network/virtualHubs" | ||
| where ['kind'] != 'RouteServer' | ||
| extend scope = tolower(tostring(scope)) | ||
| project scope | ||
) on $left.hubId == $right.scope | ||
| where strlen(scope) == 0 | ||
| join kind=leftouter ( | ||
resources | ||
| where type =~ "Microsoft.Network/virtualWans" | ||
| extend vwanId = tolower(tostring(id)), vwanName = name | ||
| project vwanId, vwanName | ||
) on $left.vwanId == $right.vwanId | ||
| project recommendationId = "30ec8a5e-46de-4323-87e9-a7c56b72813b", hubName, hubId, hubTags, param1=strcat("vWAN Name : ",vwanName) |
13 changes: 13 additions & 0 deletions
13
azure-resources/Network/virtualHubs/kql/f29e56a1-6a80-4295-a663-1cce0ea2b10a.kql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Azure Resource Graph Query | ||
// Find all Virtual WANs with Basic SKU. This is done at the Virtual Hub Resource Provider | ||
|
||
resources | ||
| where type == "microsoft.network/virtualhubs" | ||
| extend sku = tostring(properties.sku), virtualWanId = tostring(properties.virtualWan.id) | ||
| where sku == "Basic" | ||
| join ( | ||
resources | ||
| where type == "microsoft.network/virtualwans" | ||
| project id, name, tags | ||
) on $left.virtualWanId == $right.id | ||
| project recommendationId = "f29e56a1-6a80-4295-a663-1cce0ea2b10a", name, id = virtualWanId, sku |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: virtualWans | ||
geekdocCollapseSection: true | ||
geekdocHidden: true | ||
geekdocHidden: false | ||
--- | ||
|
||
{{< azure-resources-recommendationlist name="azure-resources-recommendationlist" >}} |
28 changes: 27 additions & 1 deletion
28
azure-resources/Network/vpnGateways/kql/f0d4f766-ac19-48c4-b228-4601cc038baa.kql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,27 @@ | ||
// under-development | ||
// Azure Resource Graph Query | ||
// Find what VPN Gateways on Virtual WAN do not have Monitoring Enabled. | ||
|
||
resources | ||
| where type =~ "microsoft.network/vpngateways" | ||
| extend vpngwId = tolower(tostring(id)), vpngwName = name, vpngwTags = tags, vpngwLocation = location, vhubId = tolower(tostring(properties.virtualHub.id)) | ||
| join kind=leftouter ( | ||
resources | ||
| where type =~ "microsoft.insights/metricalerts" | ||
| mv-expand scope = properties.scopes | ||
| where scope has "Microsoft.Network/vpnGateways" | ||
| extend scope = tolower(tostring(scope)) | ||
| project scope | ||
) on $left.vpngwId == $right.scope | ||
| where isnull(scope) or strlen(scope) == 0 | ||
| join kind=leftouter ( | ||
resources | ||
| where type =~ "Microsoft.Network/virtualHubs" | ||
| where ['kind'] != 'RouteServer' | ||
| extend vhubId = tolower(tostring(id)), vhubName = name, vwanId = tolower(tostring(properties.virtualWan.id)) | ||
) on $left.vhubId == $right.vhubId | ||
| join kind=leftouter ( | ||
resources | ||
| where type =~ "Microsoft.Network/virtualWans" | ||
| extend vwanId = tolower(tostring(id)), vwanName = name | ||
) on $left.vwanId == $right.vwanId | ||
| project recommendationId = "f0d4f766-ac19-48c4-b228-4601cc038baa", vpngwName, vpngwId, vpngwTags, param1=strcat("vHub Name: ", vhubName), param2=strcat("vWAN Name: ", vwanName) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: vpnSites | ||
geekdocCollapseSection: true | ||
geekdocHidden: true | ||
geekdocHidden: false | ||
--- | ||
|
||
{{< azure-resources-recommendationlist name="azure-resources-recommendationlist" >}} |
16 changes: 16 additions & 0 deletions
16
azure-resources/Network/vpnSites/kql/02bdbdb8-d138-4090-951c-23e45b8700f7.kql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// Azure Resource Graph Query | ||
// Find if Virtual Hub has less than one VPN Site Link | ||
|
||
resources | ||
| where type == "microsoft.network/vpnsites" | ||
| extend vpnSiteLinks = properties.vpnSiteLinks | ||
| mv-expand vpnSiteLink = vpnSiteLinks | ||
| extend virtualWanId = tostring(properties.virtualWan.id) | ||
| summarize vpnSiteLinksCount = count() by virtualWanId | ||
| where vpnSiteLinksCount < 2 | ||
| join ( | ||
resources | ||
| where type == "microsoft.network/virtualwans" | ||
| project id, name, tags | ||
) on $left.virtualWanId == $right.id | ||
| project recommendationId = "02bdbdb8-d138-4090-951c-23e45b8700f7", name, id = virtualWanId, tags, param1 = vpnSiteLinksCount |
oZakari marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
- description: Configure diverse VPN Site links to different VPN concentrators on-premises. | ||
aprlGuid: 02bdbdb8-d138-4090-951c-23e45b8700f7 | ||
recommendationTypeId: null | ||
recommendationControl: Disaster Recovery | ||
recommendationImpact: Medium | ||
recommendationResourceType: Microsoft.Network/vpnSites | ||
recommendationMetadataState: Active | ||
longDescription: Deploying active-active VPN concentrators leverages the High Availability capabilities of the VPN Gateway on Virtual Hubs using a fully-meshed topology with four IPSec tunnels. | ||
potentialBenefits: Fault tolerance and high availability. | ||
pgVerified: false | ||
publishedToLearn: false | ||
automationAvailable: false | ||
tags: null | ||
learnMoreLink: | ||
- name: vWAN VPN Gateway Disaster Recovery | ||
url: "https://learn.microsoft.com/en-us/azure/virtual-wan/disaster-recovery-design#multi-link-topology" | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.