[New Feature] Ali cloud Snapshot Service Technical Analysis

One, background

  Currently on the cloud has become the development trend of the industry, more and more enterprise customers to migrate business systems and databases to the cloud. The traditional backup machine / backup software the way, is not suitable for cloud ECS, RDS products such as backup and disaster recovery services. Ali clouds storage service provides a snapshot of native cloud services, in the event of a disaster can quickly recover business through automatic and manual snapshots for business-critical systems, and ensure that users of business systems.

Second, the principle of analytical techniques

  Ali cloud service takes a snapshot ROW (Redirect On Write) mode. When you first create a snapshot of a user, a complete copy of the backup data, all subsequent snapshots are made "incremental forever" mode. Snapshots and asynchronous data stored on a cluster with the Region of OSS. OSS block storage cluster Cluster and physical isolation deployment, and to provide data reliability. 9 11. Therefore, to ensure adequate security snapshot data. Ali cloud following diagram snapshot services:

image

  When creating a snapshot, the snapshot service multi-threading mechanism to block cloud intraday variation (snapshot does not back up empty blocks), asynchronous replication to OSS cluster in the same Region. Currently snapshot backup speed can reach 35MB / S-40MB / S.
  Using permanent incremental snapshots, each save only the changed blocks of data. But each time the snapshot is complete backup data. When performing a snapshot rollback or disk-based snapshots to create a cloud, Ali goes defaults Lazyload way, second-level rollback cloud disk immediately available. We do not need to wait for a snapshot of all copy all the data to the cloud disk.
  For disk in massive cloud scene, Ali cloud services provide a snapshot automation strategy. Users can create a timing based on the specified point in time (daily, weekly) snapshots, and specify the retention time of the snapshot, expired snapshots are automatically deleted.

Third, the snapshot data encryption

  With the 2.0 release such as insurance, more and more industries for security and compliance data made more stringent requirements. Ali cloud support BYOK snapshot data encryption. For a snapshot BYOK encrypted cloud disk creation, the default is encrypted, using the corresponding CMK ID encryption. Users with the corresponding key privileges can be rolled back snapshot data, to create a mirror-based snapshots and other operations.
image

Fourth, the snapshot disaster recovery scenarios

As a convenient and efficient means of data protection, we recommend that you use snapshots in the following business scenarios:

  • Disaster Recovery: Creating a snapshot of a piece of disk, the data as a basis for other data disks. Disaster recovery and remote disaster recovery to achieve the same city.
  • Version rollback: When the system issues after the upgrade version, you can use the snapshot rollback to achieve cloud disk version rollback.
  • Environmental copy: If you want to purchase a new instance of the existing examples have exactly the same environment, you can use snapshots to create a custom system disk mirroring, and then create an instance of the use of custom images.
  • Data development: by creating a snapshot of production data, which is data mining, reporting, query and develop test applications to provide near real-time real production data.
  • Improve operational fault tolerance:

    • When the team members accidentally stored on disk the wrong data, ECS instance is released by mistake, application errors lead to data errors or malicious hackers exploit application vulnerabilities to read and write data, you can use the snapshot to restore the data on the disk to the desired status.
    • Use a snapshot regularly back up your important business data on the disk, data should misuse, attacks and viruses due to the risk of loss.
    • Before a major operation to replace the operating system, application software upgrades or business data migration, it is recommended that you create in one or more snapshots. Once the upgrade or any problems during the migration process, the system can be restored to normal status data snapshot in time

Guess you like

Origin yq.aliyun.com/articles/706706