选择您的 Cookie 首选项

我们使用必要 Cookie 和类似工具提供我们的网站和服务。我们使用性能 Cookie 收集匿名统计数据,以便我们可以了解客户如何使用我们的网站并进行改进。必要 Cookie 无法停用,但您可以单击“自定义”或“拒绝”来拒绝性能 Cookie。

如果您同意,AWS 和经批准的第三方还将使用 Cookie 提供有用的网站功能、记住您的首选项并显示相关内容,包括相关广告。要接受或拒绝所有非必要 Cookie,请单击“接受”或“拒绝”。要做出更详细的选择,请单击“自定义”。

Apply a snapshot

聚焦模式
Apply a snapshot - Research and Engineering Studio
此页面尚未翻译为您的语言。 请求翻译

Once you have created a snapshot of an environment, you can apply that snapshot to a new environment to migrate data. You will need to add a new policy to the bucket allowing the environment to read the snapshot.

Applying a snapshot copies data such as user permissions, projects, software stacks, permission profiles, and file systems with their associations to a new environment. User sessions will not be replicated. When the snapshot is applied, it checks the basic information of each resource record to determine if it already exists. For duplicate records, the snapshot skips resource creation in the new environment. For records that are similar, such as share a name or key, but other basic resource information varies, it will create a new record with a modified name and key using the following convention: RecordName_SnapshotRESVersion_ApplySnapshotID. The ApplySnapshotID looks like a timestamp and identifies each attempt to apply a snapshot.

During the snapshot application, the snapshot checks for the availability of resources. Resource not available to the new environment will not be created. For resources with a dependent resource, the snapshot checks for the availability of the dependent resource. If the dependent resource is not available, it will create the main resource without the dependent resource.

If the new environment is not as expected or fails, you can check the CloudWatch logs found in the log group /res-<env-name>/cluster-manager for details. Each log will have the [apply snapshot] tag. Once you have applied a snapshot, you can check its status from the Snapshot management page.

To add permissions to the bucket:
  1. Select the bucket you created from the Buckets list.

  2. Select the Permissions tab.

  3. Under Bucket policy, choose Edit.

  4. Add the following statement to the bucket policy. Replace these values with your own:

    • AWS_ACCOUNT_ID

    • RES_ENVIRONMENT_NAME

    • AWS_REGION

    • S3_BUCKET_NAME

    { "Version": "2012-10-17", "Statement": [ { "Sid": "Export-Snapshot-Policy", "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::{AWS_ACCOUNT_ID}:role/{RES_ENVIRONMENT_NAME}-cluster-manager-role-{AWS_REGION}}" }, "Action": [ "s3:GetObject", "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::{S3_BUCKET_NAME}", "arn:aws:s3:::{S3_BUCKET_NAME}/*" ] }, { "Sid": "AllowSSLRequestsOnly", "Action": "s3:*", "Effect": "Deny", "Resource": [ "arn:aws:s3:::{S3_BUCKET_NAME}", "arn:aws:s3:::{S3_BUCKET_NAME}/*" ], "Condition": { "Bool": { "aws:SecureTransport": "false" } }, "Principal": "*" } ] }
To apply snapshot:
  1. Choose Apply snapshot.

  2. Enter the name of the Amazon S3 bucket containing the snapshot.

  3. Enter the file path to the snapshot within the bucket.

  4. Choose Submit.

    Apply a snapshot
  5. After five to ten minutes, choose Refresh on the Snapshot management page to check the status.

隐私网站条款Cookie 首选项
© 2025, Amazon Web Services, Inc. 或其附属公司。保留所有权利。