NetOpsT

Cloud Backup & Lifecycle Generator

Create AWS, Azure and GCP storage lifecycle policies with CLI and Terraform output.

Runs locally

CLOUD / STORAGE

Cloud Backup & Lifecycle Generator

Backup lifecycle policy

Move data through lower-cost tiers and set a planned expiry date.

# Save this policy as lifecycle.json
aws s3api put-bucket-lifecycle-configuration \
+  --bucket company-backups \
+  --lifecycle-configuration file://lifecycle.json

{
  "Rules": [
    {
      "ID": "netops-lifecycle",
      "Status": "Enabled",
      "Filter": {
        "Prefix": ""
      },
      "Transitions": [
        {
          "Days": 30,
          "StorageClass": "STANDARD_IA"
        },
        {
          "Days": 90,
          "StorageClass": "GLACIER"
        }
      ],
      "Expiration": {
        "Days": 365
      }
    }
  ]
}
Retention warningLifecycle rules can make data unavailable or delete it permanently. Confirm backup restores, legal retention, object locks and archive retrieval costs before deployment.

Cloud TOOL

Cloud Backup & Lifecycle Generator

Create AWS, Azure and GCP storage lifecycle policies with CLI and Terraform output.

When to use this tool

Use it to plan backup tiering, archive timing and deletion retention for a cloud storage target.

Use it in three steps

  1. Choose the provider and storage target, set the lifecycle days and review the generated retention rules.
  2. Review the calculated values against your environment and its requirements.
  3. Copy or document the result only after validating it for production use.

Related Cloud tools