This topic describes how to create an automatic snapshot policy in the Elastic Compute Service (ECS) console.

Prerequisites

The snapshot service is activated. For more information, see Activate ECS Snapshot.

Procedure

  1. Log on to the ECS console.
  2. In the left-side navigation pane, choose Storage & Snapshots > Snapshots.
  3. In the top navigation bar, select a region.
  4. On the Snapshots page, click the Automatic Snapshot Policies tab.
  5. In the upper-right corner of the Automatic Snapshot Policies tab, click Create Policy.
  6. In the Create Policy dialog box, configure the parameters described in the following table for the automatic snapshot policy.
    Parameter Description
    Name The name of the automatic snapshot policy.
    Executed At The hours of the day at which to create automatic snapshots. You can select one or more hours from 00:00 to 23:00.
    Note When a snapshot is created for an Elastic Block Storage (EBS) device, the I/O performance of the device can degrade by as much as 10%. This can result in a transient I/O speed decrease. We recommend that you create automatic snapshots during off-peak hours.
    Execution Frequency The days of the week on which to create automatic snapshots. You can select one or more days from Monday to Sunday.
    Keep Snapshots The retention period of the automatic snapshots. The default retention period is 30 days. The following options are available:
    • Keep For: The snapshots are retained for the specified number of days. Valid values: 1 to 65536.
    • Always Keep: If the maximum number of automatic snapshots for a disk is reached, the earliest snapshot created based on the automatic snapshot policy is deleted when a new snapshot is created.
    Tag Select existing tag keys and values, or enter new tag keys and values. Automatic snapshots created based on the automatic snapshot policy have these tags added.
    Note You cannot modify the tags added to the automatic snapshot policy after the policy is created. We recommend that you properly plan tags.
    Cross-Region Replication for Snapshots If the Cross-Region Replication for Snapshots feature is enabled, automatic snapshots that are created based on the automatic snapshot policy are copied to the destination region.

    After you select Enabled, you must specify the Destination Region and Retention Time of Snapshot Copies parameters.

    For information about the regions that support snapshot copying and the billing rules of snapshot copies, see Copy a snapshot and Snapshots.

    Destination Region The region to which to copy the snapshots.
    Retention Time of Snapshot Copies The retention period of snapshot copies within the destination region.
    • Keep For: The snapshot copies in the destination region are retained for the specified number of days. Valid values: 1 to 65536.
    • Always Keep Snapshots Regardless of the Limit of Snapshots: The snapshot copies in the destination region are permanently retained.
  7. Click OK.

What to do next

We recommend that you apply the automatic snapshot policy to disks immediately after the policy is created. For more information, see Apply or disable an automatic snapshot policy.