DaaS / Products / Snapshot-Protected ECS Maintenance with Log Archival

Snapshot-Protected ECS Maintenance with Log Archival

Before running a risky batch maintenance script on ECS instances via Cloud Assistant, automatically create disk snapshots for rollback protection, execute the script, then upload execution logs and results to OSS for audit and compliance tracking.

Products involved

Scenario

Before running a risky batch maintenance script on ECS instances via Cloud Assistant, automatically create disk snapshots for rollback protection, execute the script, then upload execution logs and results to OSS for audit and compliance tracking.

How the products combine

  1. ecs · ecs-execute-instances — ECS — Execute remote commands on ECS instances
  2. See ecs/ecs-execute-instances.

  3. ecs · ecs-manage-recovery — ECS — Manage data protection and recovery for ECS
  4. See ecs/ecs-manage-recovery.

  5. oss · oss-manage-objects — Object Storage Service — Manage storage objects (upload, download, copy, etc.)
  6. See oss/oss-manage-objects.

Typical questions

FAQ

Q: How do I automatically create snapshots before running maintenance scripts on ECS? A: You can automatically create disk snapshots for rollback protection before running batch maintenance scripts on ECS instances via Cloud Assistant. This workflow integrates the ECS execute-instances and ECS manage-recovery features to protect your data.

Q: How do I save execution logs to OSS after running a remote command on ECS? A: You can automatically upload execution logs and results to Object Storage Service (OSS) for audit and compliance tracking after running remote commands. This workflow combines the ECS execute-instances and OSS manage-objects integrations to archive your data.