Cloud Storage Optimization

aj-geddes/useful-ai-prompts/skills/cloud-storage-optimization

作者 aj-geddes3f5182cfd739無授權條款355 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫7 個月前更新

Optimize cloud storage across AWS S3, Azure Blob, and GCP Cloud Storage with compression, partitioning, lifecycle policies, and cost management.

包含腳本DevOps & Cloud
AI 產生的概覽

透過壓縮、分割、生命週期與成本策略,最佳化 AWS S3、Azure Blob 和 GCP 的雲端儲存。

功能
此技能指導如何最佳化跨 AWS S3、Azure Blob 和 GCP Cloud Storage 的雲端物件儲存。內容涵蓋壓縮、智慧分層、資料分割、生命週期原則和成本管理,並提供 S3 最佳化、壓縮與分割策略、Terraform 多雲儲存設定,以及資料湖分割策略的參考指南。它也附帶一支驗證指令碼和一個設定起始範本。
適用情境
適用於降低儲存成本、實作分層或封存儲存、整理大型資料集,或最佳化資料湖與資料倉儲的情境。也適合提升資料擷取效能,以及滿足所儲存資料的合規要求。
執行需求
需要存取雲端儲存服務(AWS S3、Azure Blob、GCP Cloud Storage)及其 CLI 或 API,多雲設定指南還需要 Terraform。附帶一支可執行驗證指令碼和一個 YAML 起始範本。

Cloud Storage Optimization

Table of Contents

Overview

Optimize cloud storage costs and performance across multiple cloud providers using compression, intelligent tiering, data partitioning, and lifecycle management. Reduce storage costs while maintaining accessibility and compliance requirements.

When to Use

  • Reducing storage costs
  • Optimizing data access patterns
  • Implementing tiered storage strategies
  • Archiving historical data
  • Improving data retrieval performance
  • Managing compliance requirements
  • Organizing large datasets
  • Optimizing data lakes and data warehouses

Quick Start

Minimal working example:

bash
# Enable Intelligent-Tieringaws s3api put-bucket-intelligent-tiering-configuration \  --bucket my-bucket \  --id OptimizedStorage \  --intelligent-tiering-configuration '{    "Id": "OptimizedStorage",    "Filter": {"Prefix": "data/"},    "Status": "Enabled",    "Tierings": [      {        "Days": 90,        "AccessTier": "ARCHIVE_ACCESS"      },      {        "Days": 180,        "AccessTier": "DEEP_ARCHIVE_ACCESS"      }    ]  }'
# Analyze storage usageaws s3api list-bucket-metrics-configurations --bucket my-bucket
# Enable S3 Select for cost optimizationaws s3api put-bucket-metrics-configuration \// ... (see reference guides for full implementation)

Reference Guides

Detailed implementations in the references/ directory:

GuideContents
AWS S3 Storage Optimization [blocked]AWS S3 Storage Optimization
Data Compression and Partitioning Strategy [blocked]Data Compression and Partitioning Strategy
Terraform Multi-Cloud Storage Configuration [blocked]Terraform Multi-Cloud Storage Configuration
Data Lake Partitioning Strategy [blocked]Data Lake Partitioning Strategy

Best Practices

✅ DO

  • Use Parquet or ORC formats for analytics
  • Implement tiered storage strategy
  • Partition data by time and queryable dimensions
  • Enable versioning for critical data
  • Use compression (gzip, snappy, brotli)
  • Monitor storage costs regularly
  • Implement data lifecycle policies
  • Archive infrequently accessed data

❌ DON'T

  • Store uncompressed data
  • Keep raw logs long-term
  • Ignore storage optimization
  • Use only hot storage tier
  • Store duplicate data
  • Forget to delete old test data

來源與署名

來源:aj-geddes/useful-ai-prompts位於skills/cloud-storage-optimization提交3f5182c

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架