Skip to content

Commit

Permalink
updated for SQLMI
Browse files Browse the repository at this point in the history
  • Loading branch information
ramyerrabotu committed Oct 9, 2024
1 parent dc8da44 commit 68fc6b8
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
// under-development

//////Managed Instance storage backup redundancy check – any server that is not configured for GZRS
resources
| where type =~ 'Microsoft.Sql/managedInstances'
| extend backupredundancy=properties.storageAccountType
| extend ServiceTier = sku.tier
| where backupredundancy != 'GeoZone'
| project name, ServiceTier, backupredundancy
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
// under-development

resources
| where type =~ 'Microsoft.Sql/managedInstances'
| extend connectionpolicy=properties.proxyOverride
| where connectionpolicy != 'Redirect'
| project name, connectionpolicy
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
// under-development

//////Managed Instance zone redundancy check – any server that is not configured for ZR
resources
| where type =~ 'Microsoft.Sql/managedInstances'
| extend InstanceName = properties.fullyQualifiedDomainName
| extend ServiceTier = sku.tier
| extend zoneRedundant=properties.zoneRedundant
| where zoneRedundant == 'false'
| project name, ServiceTier, zoneRedundant
16 changes: 8 additions & 8 deletions azure-resources/Sql/managedInstances/recommendations.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
- description: Enable zone redundancy for Azure SQL Managed Instance to achieve high availability and resiliency
- description: Enable zone redundancy for Azure SQL Managed Instance to improve high availability and resiliency
aprlGuid: f8f834a9-c761-4e84-b2cb-ac55494d0c37
recommendationTypeId: null
recommendationControl: High Availability
recommendationImpact: High
recommendationResourceType: Microsoft.Sql/managedInstances
recommendationMetadataState: Active
longDescription: |
By default, Azure SQL Database premium tier provisions multiple copies within the same region. For geo redundancy, databases can be set as Zone Redundant, distributing copies across Azure Availability Zones to maintain availability during regional outages.
By default, Azure SQL Managed Instance has built in availability that is based on deploying multiple replicas within the same zone. To achieve high availability leverage zone-redundant configuration that is based on placing replicas across three Azure availability zones in the primary region. Each availability zone is a separate physical location with independent power, cooling, and networking.
potentialBenefits: Enhanced availability and reliability
pgVerified: false
publishedToLearn: false
Expand All @@ -19,12 +19,12 @@
- description: Use Zone-redundant or Geo-zone-redundant Backup storage redundancy
aprlGuid: 15e2712c-f3ea-4a8d-9081-11e822b1ccfb
recommendationTypeId: null
recommendationControl: High Availability
recommendationControl: Disaster Recovery
recommendationImpact: High
recommendationResourceType: Microsoft.Sql/managedInstances
recommendationMetadataState: Active
longDescription: |
This copies your backups synchronously across three Azure availability zones in the primary region, if Geo is selected it creates 3 more copies in a secondary region.
Configuring zone redundancy option for backups copies your backup file synchronously across three Azure availability zones in the primary region. If Geo is selected, then it copies your data asynchronously three times to a single physical location in the paired secondary region.
potentialBenefits: Enhanced availability and reliability
pgVerified: false
publishedToLearn: false
Expand All @@ -42,7 +42,7 @@
recommendationResourceType: Microsoft.Sql/managedInstances
recommendationMetadataState: Active
longDescription: |
Redirect mode enables direct connectivity to the instance resulting in improved latency and throughput. Redirect mode applies to the VNet-local endpoint only, while the public endpoint will always default to Proxy connection mode.
Redirect mode enables direct connectivity to the instance bypassing the local gateway component and resulting in improved latency and throughput. Redirect mode applies to the VNet-local endpoint only, while the public and private endpoint will always operate in Proxy connection mode.
potentialBenefits: Improved latency and throughput
pgVerified: false
publishedToLearn: false
Expand All @@ -60,7 +60,7 @@
recommendationResourceType: Microsoft.Sql/managedInstances
recommendationMetadataState: Active
longDescription: |
If an outage impacts one or more of the databases in the managed instance, you can manually or automatically failover all the databases inside the instance to a secondary region.
If an outage impacts managed instance, with failover group you can manually or automatically failover all the databases inside the instance to a secondary region. Make sure to route connections to failover group’s listener instead of the primary instance, so that you don’t need to change connection string after geo-failover.
potentialBenefits: Ensure seamless service with cross-region failover
pgVerified: false
publishedToLearn: false
Expand All @@ -78,15 +78,15 @@
recommendationResourceType: Microsoft.Sql/servers
recommendationMetadataState: Active
longDescription: |
Monitoring and alerting are an important part of database operations. When working with Azure SQL Database, make use of Azure Monitor and SQL Insights to ensure that you capture relevant database metrics.
Monitoring and alerting are an important part of database operations. When working with Azure SQL Managed Instance, make use of Azure Monitor and Database watcher to ensure that you capture relevant database metrics.
potentialBenefits: Quick incident detection and response
pgVerified: false
publishedToLearn: false
automationAvailable: false
tags: null
learnMoreLink:
- name: Azure SQL Managed Instance monitoring options
url: "https://techcommunity.microsoft.com/t5/azure-sql/monitoring-options-available-for-azure-sql-managed-instance/ba-p/1065416"
url: "https://learn.microsoft.com/azure/azure-sql/managed-instance/monitoring-sql-managed-instance-azure-monitor?view=azuresql-mi"

- description: Back Up Your Keys
aprlGuid: 9fad5392-b852-4807-9b6d-3f700ff9771a
Expand Down
Binary file not shown.
Binary file not shown.
Binary file modified tools/sample-output/WARA Action Plan 2024-05-07_12_07.xlsx
Binary file not shown.

0 comments on commit 68fc6b8

Please sign in to comment.