PolarDB for MySQL provides free disk encryption based on block storage. It encrypts the entire data disk so that even if a data backup is leaked, the data cannot be decrypted. You do not need to modify your applications, and snapshots automatically inherit the encryption property.
Applicable scope
-
Cluster configuration:
-
Edition: Standard Edition.
-
Minor version: General-purpose or Dedicated.
-
CPU architecture: Yitian ARM or x86.
-
Storage type: ESSD PL0, ESSD PL1, ESSD PL2, ESSD PL3, or ESSD AutoPL disk.
NoteDisk encryption can only be enabled when you purchase a cluster. It cannot be enabled after purchase.
-
-
Key: Only the default key (Default Service CMK) is supported. Custom KMS keys are not supported.
-
Create the PolarDB service-linked role.
Precautions
-
Disk encryption cannot be disabled after it is enabled.
-
Disk encryption does not affect your business. No application changes are required.
-
After disk encryption is enabled, snapshots generated by the cluster and Standard Edition clusters created from those snapshots automatically inherit the encryption property.
Billing
Disk encryption is a free feature. Read and write operations on encrypted disks do not incur additional charges.
Enable disk encryption
When purchasing a cluster, if the Applicable scope requirements are met, you can select Enable Disk Encryption after choosing a storage type, and then select the default key (Default Service CMK).
Verify disk encryption status
-
Log in to the PolarDB console,In the navigation pane on the left, click Clusters. Select the Region where the cluster is deployed, and then click the cluster ID to go to the cluster details page。
-
In the left navigation pane, choose .
-
Click the Cloud Drive Encryption tab. If Data disk encryption status: shows Encrypted, disk encryption is enabled for the cluster.