Skip to content
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

docs: aisearch resiliency recommendations #584

Closed
wants to merge 18 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions azure-resources/CognitiveServices/AIsearch/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: AiSearch
geekdocCollapseSection: true
geekdocHidden: false
---

{{< azure-resources-recommendationlist name="azure-resources-recommendationlist" >}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please follow the standards defined for ARGs, all ARGs should project the same properties with the same names in the same order. https://azure.github.io/Azure-Proactive-Resiliency-Library-v2/contributing/create-content/create-arg-queries/

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done, please confirm

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please include screenshots of the output confirming that it is working as anticipated?

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please follow the standards defined for ARGs, all ARGs should project the same properties with the same names in the same order. https://azure.github.io/Azure-Proactive-Resiliency-Library-v2/contributing/create-content/create-arg-queries/

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please confirm kql are correct

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Azure Resource Graph Query
// Provides a list of AI search deployments
resources
| where type == "microsoft.search/searchservices"
| project name, location, resourceGroup, subscriptionId
| project recommendationId = "dff62efe-c3a3-4621-98b3-c877c65cb195", name, param1 = strcat(location)
| order by id asc
36 changes: 36 additions & 0 deletions azure-resources/CognitiveServices/AIsearch/recommendations.yaml
ripadrao marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---

- 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
potentialBenefits: High availability
ripadrao marked this conversation as resolved.
Show resolved Hide resolved
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"
Loading