Azure Proactive Resiliency Library v2
Tools Glossary GitHub GitHub Issues Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

flexibleServers

Summary

RecommendationImpactCategoryAutomation AvailablePG Verified
ゾーン冗長性による HA の有効化HighHigh AvailabilityYesVerified
カスタム メンテナンス スケジュールを有効にするHighScalabilityYesVerified
地理的冗長バックアップ ストレージを構成するHighDisaster RecoveryYesPreview
1 つ以上のリードレプリカを構成するMediumDisaster RecoveryYesPreview
ストレージの自動拡張を構成するHighScalabilityYesPreview

Details


ゾーン冗長性による HA の有効化

Impact:  High Category:  High Availability PG Verified:  Verified

Description:

フレキシブル サーバー インスタンス上でゾーン冗長性を備えた HA を有効にして、スタンバイ レプリカを別のゾーンにデプロイし、信頼性と災害復旧を向上させるための自動フェイルオーバー機能を提供します。

Potential Benefits:

Enhanced uptime and data protection
Learn More:
High availability concepts in Azure Database for MySQL - Flexible Server

ARG Query:

Click the Azure Resource Graph tab to view the query

// Azure Resource Graph Query
// Find Database for MySQL instances that are not zone redundant
resources
| where type == "microsoft.dbformysql/flexibleservers"
| where properties.highAvailability.mode != "ZoneRedundant"
| project recommendationId = "88856605-53d8-4bbd-a75b-4a7b14939d32", name, id, tags, param1 = "ZoneRedundant: False"


カスタム メンテナンス スケジュールを有効にする

Impact:  High Category:  Scalability PG Verified:  Verified

Description:

フレキシブル サーバー インスタンスでカスタム メンテナンス スケジュールを使用して、サービス更新を適用する希望の時間を選択します。

Potential Benefits:

Control update timings
Learn More:
Scheduled maintenance in Azure Database for MySQL - Flexible Server

ARG Query:

Click the Azure Resource Graph tab to view the query

// Azure Resource Graph Query
// Find Database for MySQL instances that do not have a custom maintenance window
resources
| where type =~ "microsoft.dbformysql/flexibleservers"
| where properties.maintenanceWindow.customWindow != "Enabled"
| project recommendationId = "82a9a0f2-24ee-496f-9ad2-25f81710942d", name, id, tags, param1 = strcat("customWindow:", properties['maintenanceWindow']['customWindow'])


地理的冗長バックアップ ストレージを構成する

Impact:  High Category:  Disaster Recovery PG Verified:  Preview

Description:

GRS を構成して、障害や災害が発生した場合でもデータベースが可用性と耐久性の目標を確実に満たすようにします。

Potential Benefits:

Recover from regional failure and/or disaster
Learn More:
Backup and restore in Azure Database for MySQL - Flexible Server

ARG Query:

Click the Azure Resource Graph tab to view the query

// Azure Resource Graph Query
// Find Database for MySQL instances that do not have geo redundant backup storage enabled
resources
| where type =~ "microsoft.dbformysql/flexibleservers"
| where properties.backup.geoRedundantBackup != "Enabled"
| project recommendationId = "5c96afc3-7d2e-46ff-a4c7-9c32850c441b", name, id, tags, param1 = strcat("geoRedundantBackup:", properties['backup']['geoRedundantBackup'])


1 つ以上のリードレプリカを構成する

Impact:  Medium Category:  Disaster Recovery PG Verified:  Preview

Description:

1 つ以上のリードレプリカを構成して、障害や災害が発生した場合でもデータベースが可用性と耐久性の目標を確実に満たすようにします。

Potential Benefits:

Recover from regional failure and/or disaster
Learn More:
Read replicas in Azure Database for MySQL - Flexible Server

ARG Query:

Click the Azure Resource Graph tab to view the query

// Azure Resource Graph Query
// Find Database for MySQL instances that do not have a read replica configured
resources
| where type =~ "microsoft.dbformysql/flexibleservers"
| where properties.replicationRole == "None"
| project recommendationId = "b49a8653-cc43-48c9-8513-a2d2e3f14dd1", name, id, tags, param1 = strcat("replicationRole:", properties['replicationRole'])


ストレージの自動拡張を構成する

Impact:  High Category:  Scalability PG Verified:  Preview

Description:

サーバーのストレージが不足して読み取り専用になるのを防ぐために、ストレージの自動拡張を構成します。

Potential Benefits:

Scale storage automatically to meet increasing demand
Learn More:
Azure Database for MySQL - Flexible Server service tiers - Storage auto grow

ARG Query:

Click the Azure Resource Graph tab to view the query

// Azure Resource Graph Query
// Find Database for MySQL instances that do not have a storage auto-grow
resources
| where type =~ "microsoft.dbformysql/flexibleservers"
| where properties.storage.autoGrow != "Enabled"
| project recommendationId = "8176a79d-8645-4e52-96be-a10fc0204fe5", name, id, tags, param1 = strcat("autoGrow:", properties['storage']['autoGrow'])