Skip to content

Commit

Permalink
docs: aisearch resiliency recommendations (#627)
Browse files Browse the repository at this point in the history
  • Loading branch information
ripadrao authored Jan 28, 2025
1 parent c097454 commit b80503c
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Azure Resource Graph Query
// Provides a list of all deployments for AI search with less than two replicas
resources
| where type == "microsoft.search/searchservices"
| extend replicaCount = properties['replicaCount']
| where properties['replicaCount'] < 2
| project recommendationId = "b376281d-bfec-4695-8f90-9a44544fdfa4", name, id, param1 = strcat(properties['replicaCount']) , param2 = strcat(location)
| order by id asc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// under-development
33 changes: 33 additions & 0 deletions azure-resources/Search/searchServices/recommendations.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
- description: Enable AZ support in AI Search by configuring multiple replicas to your search service
aprlGuid: b376281d-bfec-4695-8f90-9a44544fdfa4
recommendationTypeId: null
recommendationControl: HighAvailability
recommendationImpact: High
recommendationResourceType: Microsoft.Search/searchServices
recommendationMetadataState: Active
longDescription: |
Availability zones are used when adding multiple replicas to your search service. Each replica is assigned to a different zone in the region. If there are more replicas than zones, they are distributed as evenly as possible across the available zones.
potentialBenefits: High availability
pgVerified: false
automationAvailable: true
tags: null
learnMoreLink:
- name: Reliability in Azure AI Search
url: "https://learn.microsoft.com/en-us/azure/search/search-reliability#availability-zone-support"

- description: Enable Multi Region deployments for AI Search
aprlGuid: dff62efe-c3a3-4621-98b3-c877c65cb195
recommendationTypeId: null
recommendationControl: HighAvailability
recommendationImpact: Medium
recommendationResourceType: Microsoft.Search/searchServices
recommendationMetadataState: Active
longDescription: |
Azure AI Search lacks automatic failover. For continuity and global reach, deploy multiple services in different regions. Sync data via indexers or REST APIs, and manage routing with Azure Traffic Manager.
potentialBenefits: High availability
pgVerified: false
automationAvailable: true
tags: null
learnMoreLink:
- name: Reliability in Azure AI Search
url: "https://learn.microsoft.com/en-us/azure/search/search-reliability#multiple-services-in-separate-geographic-regions"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// cannot-be-validated-with-arg
17 changes: 17 additions & 0 deletions azure-specialized-workloads/ai/recommendations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,20 @@
learnMoreLink:
- name: Data collection, retention, and storage in Application Insights
url: "https://learn.microsoft.com/en-us/azure/azure-monitor/logs/data-retention-configure?tabs=portal-3%2Cportal-1%2Cportal-2"

- description: Use Azure Traffic Manager to route search requests via geo-located clients for failover redundancy.
aprlGuid: a6c8f3f3-199a-4a13-aaf0-eb51eed5352e
recommendationTypeId: null
recommendationControl: HighAvailability
recommendationImpact: Medium
recommendationResourceType: Microsoft.Subscription/subscriptions
recommendationMetadataState: Active
longDescription: |
Azure Traffic Manager enhances redundancy by routing search requests to geo-located clients. If a primary search client or region fails, Traffic Manager redirects requests to a backup client in another region. This setup ensures continuous availability and seamless failover for search services.
potentialBenefits: High availability
pgVerified: false
automationAvailable: true
tags: null
learnMoreLink:
- name: Reliability in Azure AI Search
url: "https://learn.microsoft.com/en-us/azure/search/search-reliability#fail-over-or-redirect-query-requests"

0 comments on commit b80503c

Please sign in to comment.