Logo Cloud Native Storage Strategy

Cloud Native Storage Strategy

Cộng đồng
selvarajmurugesan90
cloud-native-storage-strategy

Guides choosing and configuring cloud storage services — object storage (S3, Azure Blob, GCS), block storage, file storage, and lifecycle/ tiering policies — with encryption, access control, and cost-tiering best practices across AWS, Azure, and GCP. Use when a user asks to "design a storage architecture", "choose between object/block/file storage", "set up storage lifecycle/tiering policies", "encrypt data at rest", "prevent a storage bucket from being public", "reduce storage costs", or "pick a storage class for infrequently accessed data".

Tổng quan

Nhà phát hànhselvarajmurugesan90
Kho mãops-engineering-skills
Tên kỹ năngcloud-native-storage-strategy
Sao
44
Bản fork
18
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được selvarajmurugesan90 công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Cloud Native Storage Strategy trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/selvarajmurugesan90/ops-engineering-skills/tree/main/plugins/cloud/skills/cloud-native-storage-strategy
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/selvarajmurugesan90/ops-engineering-skills.git /tmp/ops-engineering-skills
mkdir -p .claude/skills
cp -r /tmp/ops-engineering-skills/plugins/cloud/skills/cloud-native-storage-strategy .claude/skills/cloud-native-storage-strategy
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Cloud Native Storage Strategy trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Cloud Native Storage Strategy ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Cloud Native Storage Strategy với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Cloud-Native Storage Strategy

Purpose

Storage decisions compound: the wrong storage class silently inflates cost every month, a bucket/container left with default-permissive access becomes a headline data breach, and a lifecycle policy applied without understanding retrieval patterns can turn "save money" into "delete data we needed." This skill covers choosing the right storage primitive (object, block, file) for the workload, applying encryption and access-control defaults that are safe out of the box, and designing lifecycle/tiering policies that reduce cost without silently increasing retrieval latency or cost for data that's actually still needed regularly.

When to use

  • Choosing between object storage (S3/Blob/GCS), block storage (EBS/ Managed Disks/Persistent Disk), and file storage (EFS/Azure Files/ Filestore) for a new workload.
  • Designing or auditing bucket/container/storage-account access controls and encryption defaults.
  • Setting up lifecycle policies to move data between storage tiers (hot/cool/cold/archive) based on access patterns.
  • Investigating unexpectedly high storage costs or unexpectedly slow/ expensive data retrieval.
  • Responding to a security finding like "publicly accessible storage bucket" or "storage account without encryption enforced."
  • Planning storage for a new data pipeline, backup target, or static content/CDN origin.

Prerequisites & environment

  • Clarity on the workload's actual access pattern before choosing a storage class: how often is data read/written, how quickly must a read return (milliseconds vs. minutes-to-hours for archive tiers), and how long must data be retained (see disaster-recovery-and-backup-strategy for retention/backup-specific concerns, which overlap but are not identical to lifecycle tiering).
  • Cloud CLI/Terraform access appropriate to the storage service: Terraform ≥ 1.5 with aws/azurerm/google providers ≥ their current major version for lifecycle and encryption resources.
  • The account/subscription/project's landing-zone guardrails already in place (e.g. an SCP/Organization Policy/Azure Policy that blocks public bucket ACLs by default) — storage security should be defense-in-depth, not solely per-resource configuration; see the relevant *-landing-zone-setup skill.
  • A key management strategy decided (cloud-managed keys vs. customer-managed keys in AWS KMS / Azure Key Vault / GCP Cloud KMS) — customer-managed keys add operational overhead (rotation, access policy) but are often required for regulated data.

Step-by-step guidance

  1. Match the storage primitive to the access pattern:

    • Object storage (S3, Azure Blob, GCS) for unstructured data accessed over HTTP(S) APIs — static assets, data lake files, backup targets, logs. Effectively unlimited scale, pay-per-GB-and-request.
    • Block storage (EBS, Azure Managed Disks, GCP Persistent Disk) for a single VM's low-latency, POSIX-filesystem-backed disk — databases, boot volumes. Attached to one instance at a time in most configurations (multi-attach exists but is the exception, not the default).
    • File storage (EFS, Azure Files, Filestore) for POSIX or SMB file shares accessed concurrently by multiple instances — shared config, content management systems, legacy lift-and-shift apps expecting a shared filesystem. Don't default to block storage for something object storage handles better (e.g. storing user-uploaded files on an EBS volume instead of S3) — it's a common lift-and-shift anti-pattern that blocks horizontal scaling later.
  2. Set secure defaults at creation, not as an afterthought:

    • AWS S3: enable S3 Block Public Access at the account level (in addition to per-bucket), default encryption with SSE-KMS, and versioning for anything mutable:
      hcl
      resource "aws_s3_bucket_public_access_block" "this" {
        bucket                  = aws_s3_bucket.data.id
        block_public_acls       = true
        block_public_policy     = true
        ignore_public_acls      = true
        restrict_public_buckets = true
      }
      
      resource "aws_s3_bucket_server_side_encryption_configuration" "this" {
        bucket = aws_s3_bucket.data.id
        rule {
          apply_server_side_encryption_by_default {
            sse_algorithm     = "aws:kms"
            kms_master_key_id = aws_kms_key.data.arn
          }
        }
      }
    • Azure Blob: set the storage account's public network access and "allow blob public access" to disabled, enforce HTTPS-only traffic, and use a customer-managed key in Key Vault if required by compliance scope.
    • GCP Cloud Storage: enable uniform bucket-level access (disables legacy per-object ACLs), set the bucket's public access prevention to enforced, and use a CMEK from Cloud KMS if required.
  3. Design the lifecycle/tiering policy from real access-frequency data, not intuition. Example AWS S3 lifecycle rule moving log data through tiers:

    hcl
    resource "aws_s3_bucket_lifecycle_configuration" "logs" {
      bucket = aws_s3_bucket.logs.id
      rule {
        id     = "tier-down-logs"
        status = "Enabled"
        transition {
          days          = 30
          storage_class = "STANDARD_IA"
        }
        transition {
          days          = 90
          storage_class = "GLACIER"
        }
        expiration { days = 365 }
      }
    }

    Equivalent tiering exists as Azure Blob lifecycle management policies (Hot → Cool → Cold → Archive) and GCP Cloud Storage Object Lifecycle Management (Standard → Nearline → Coldline → Archive). Confirm the minimum storage duration and early-deletion/retrieval fees for each tier before committing data to it — archive tiers commonly carry both a minimum retention period charge and a retrieval delay measured in hours, not seconds.

  4. Separate lifecycle tiering from retention/deletion policy. Tiering changes where data is stored to reduce cost; it should not be conflated with whether data should still exist. Any expiration rule that deletes data must be reviewed against actual compliance/ backup retention requirements — see disaster-recovery-and-backup-strategy for retention policy design.

  5. Enable versioning and object lock / immutability for anything that must survive accidental overwrite or deletion — S3 Versioning + Object Lock (compliance or governance mode), Azure Blob immutability policies, or GCP Bucket Lock — particularly for backup targets, audit logs, and anything subject to a regulatory retention requirement (WORM).

  6. Monitor cost and access patterns continuously. Use S3 Storage Lens / Azure Storage insights / GCP Storage Insights (or the organization's FinOps tooling — see cloud-cost-finops-optimization) to catch data that was tiered to archive but is now being retrieved frequently (a sign the lifecycle policy needs adjusting the other direction) or data sitting in an expensive hot tier that hasn't been accessed in months.

  7. Test retrieval before relying on an archive tier operationally. Confirm actual retrieval latency (e.g. AWS Glacier Flexible Retrieval standard tier is hours, not the milliseconds of S3 Standard) meets the business requirement before moving data that might be needed urgently into a cold tier.

Best practices

  • Default to encrypted, private, versioned for any new object storage bucket/container — make the secure configuration the templated default (via the landing-zone module), not an opt-in step each team remembers separately.
  • Use uniform/account-level public-access blocking in addition to per-resource settings — defense in depth against one misconfigured bucket policy.
  • Prefer customer-managed keys (CMEK) only where genuinely required (compliance scope, cross-account key control) — they add real operational burden (rotation schedules, key access policy management) that isn't worth it for every bucket.
  • Right-size block storage IOPS/throughput to the workload, not the largest available tier "to be safe" — over-provisioned IOPS is a common, invisible cost leak that FinOps rightsizing (see cloud-cost-finops-optimization) should catch.
  • Treat file storage (EFS/Azure Files/Filestore) as the exception, not the default, for new cloud-native workloads — it exists mainly for shared-filesystem compatibility with legacy applications; new workloads should generally be designed around object storage or a managed database instead.
  • Model lifecycle transitions against real retrieval-fee and minimum-duration terms — moving data to archive tiers too aggressively can make the total cost (storage + early-deletion fee + retrieval fee) higher than leaving it in a warmer tier, if it turns out to be accessed sooner than expected.

Common pitfalls

  • Symptom: A storage bucket/container is found publicly accessible during a security review, months after creation. Fix: Public-access blocking was set per-resource but not enforced at the account/subscription/project level, and a later change (a well-meaning but overly broad bucket policy, or a CORS misconfiguration) silently reopened access. Enforce public-access prevention at the account/landing-zone level (see the *-landing-zone-setup skills) so no single resource-level change can reopen it, and add continuous scanning (AWS Config rule s3-bucket-public-read-prohibited, Azure Policy, GCP Security Command Center finding) rather than a one-time check.

  • Symptom: A cost review finds a large volume of data in an archive/ cold storage tier with a surprisingly high bill, higher than when it was in the standard tier. Fix: Data is being retrieved far more often than the tier's access pattern assumption, incurring per-retrieval fees and, in some cases, early-deletion charges from data that hadn't met the tier's minimum storage duration before being moved again. Re-tier based on actual access logs (Storage Lens / Storage insights), not a one-time assumption, and consider an intermediate tier (Infrequent Access/Cool/ Nearline) instead of jumping straight to archive/deep-archive tiers.

  • Symptom: An application unexpectedly loses the ability to read data it needs same-day, after a "cost optimization" lifecycle policy rollout. Fix: The lifecycle rule moved data to an archive tier with hours-long retrieval latency without validating the application's actual latency requirement. Before applying archive-tier transitions, confirm the data's access-time SLA with the owning team, and stage the lifecycle rule on a subset of data first.

  • Symptom: An engineer runs a cleanup script that deletes what appears to be an old, unused storage bucket/account, and a downstream reporting job breaks weeks later. Fix: Never delete a storage bucket/container/account (or run aws s3 rb --force, az storage account delete, or gsutil rm -r against a bucket) based on "looks unused" without confirming no lifecycle policy, replication rule, backup job, or IAM policy references it, and without a recoverable grace period — soft delete or a staged rename-then-delete-later process is much safer than irreversible deletion. Cross-check dependencies (see multi-cloud-networking-patterns for shared-network implications and disaster-recovery-and-backup-strategy for backup-target implications) before any destructive storage action.

Worked example

Scenario: A data-platform team stores 50 TB of application logs in AWS S3 Standard, at rest for 18 months, most of it never queried after the first 30 days, and the FinOps review flags it as the largest single storage cost line item.

  1. Query S3 Storage Lens / CloudTrail data-event logs to confirm actual access pattern: 95%+ of objects older than 30 days have zero GET requests; the remaining 5% (recent incident-investigation lookups) are accessed within the first 90 days only.
  2. Design a lifecycle policy: Standard for 0-30 days, Standard-IA for 30-90 days, Glacier Flexible Retrieval for 90-365 days, expire (delete) after 365 days — cross-checked against the company's 18-month-to-1-year log retention compliance requirement, adjusting the expiration to align with the actual required retention (not shorter than compliance mandates).
  3. Enable S3 Block Public Access at the account level and confirm default SSE-KMS encryption is applied bucket-wide, since the audit also flagged that the bucket previously had no explicit encryption configuration (relying on account defaults that changed over time).
  4. Roll out the lifecycle policy to a 10% sample of prefixes first, monitor for a week to confirm no unexpected retrieval-fee spike from the incident-investigation access pattern colliding with the Glacier tier's retrieval latency, then apply to the remaining prefixes.
  5. Result: storage cost for this bucket drops materially (moving the bulk of aged data out of Standard tier) while the 90-day investigation-lookback window remains in a tier with acceptable retrieval latency, and encryption/public-access gaps found during the review are closed as part of the same change.

Cross-references

Câu hỏi thường gặp

Kỹ năng AI Cloud Native Storage Strategy làm được gì?

Guides choosing and configuring cloud storage services — object storage (S3, Azure Blob, GCS), block storage, file storage, and lifecycle/ tiering policies — with encryption, access control, and cost-tiering best practices across AWS, Azure, and GCP. Use when a user asks to "design a storage architecture", "choose between object/block/file storage", "set up storage lifecycle/tiering policies", "encrypt data at rest", "prevent a storage bucket from being public", "reduce storage costs", or "pick a storage class for infrequently accessed data".

Vì sao nên dùng Cloud Native Storage Strategy trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Cloud Native Storage Strategy là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Cloud Native Storage Strategy trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/selvarajmurugesan90/ops-engineering-skills/tree/main/plugins/cloud/skills/cloud-native-storage-strategy. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Cloud Native Storage Strategy?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Cloud Native Storage Strategy với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Cloud Native Storage Strategy với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Cloud Native Storage Strategy có miễn phí không?

Có. Kỹ năng này được selvarajmurugesan90 phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇