CloudVectra Logo CloudVectra
CloudVectra Knowledge Hub

AWS Data Architecture Mistakes: Why Storing and Moving Data Gets Expensive

Control dataset copies, S3 lifecycle transitions, snapshots, replication and repeated ETL without compromising retention or recovery.

6 min read

1. The scenario: one event creates several durable copies

A product analytics pipeline receives 1 TB of events each day. Raw objects land in S3, an ETL job creates normalized data, another job exports a database snapshot, and three teams keep their own curated copies. Every dataset is retained indefinitely and most stays in S3 Standard.

The pattern has legitimate reasons: replay, independent development and reproducible analytics. Cost escalates when copies, transformations and recovery points have no explicit owner, reuse policy or deletion criterion.

Examples use illustrative USD rates and decimal GB/TB. They exclude discounts and taxes and are not regional price quotes.

2. How it works: data architecture is a lifecycle graph

Map each dataset from ingestion through staging, canonical storage, curated products and recovery copies. Include object versions, failed multipart uploads, database exports, temporary processing output and snapshots. A user-facing bucket size can conceal much of the retained estate.

S3 storage classes change the balance of capacity, access, minimum duration and retrieval behavior. S3 Standard-IA is still online. Glacier Instant Retrieval is different from Glacier Flexible Retrieval and Deep Archive, which require restore workflows for ordinary object access. Start with access deadlines before selecting a class.

Lifecycle transitions move eligible objects according to configured rules, not a universal business retention policy. Current and noncurrent versions require separate reasoning. The S3 transition documentation also describes default small-object constraints and transition-duration considerations.

AWS data architecture showing resource dependencies and the costs to evaluate.

3. Cost components: capacity is only one line

ComponentArchitectural driver
StorageLive data, versions, staging, replicas and backup copies
RequestsObject count, listings, transitions and repeated reads/writes
RetrievalClass-specific bytes and restore options
ProcessingETL runtime, scan volume, shuffle and orchestration
ReplicationDestination storage, requests, transfer and optional features
ProtectionChargeable snapshot/backup storage, retention and tests

A replicated destination and a manually copied dataset can both be justified, but they must serve distinct requirements. Price each physical copy and its service meters once. S3’s built-in durability does not mean you should multiply the published GB-month rate by its internal copy count.

4. Where things go wrong

Keeping rarely used raw history in an expensive online class is one error; archiving files needed for a daily scan is another. Retrieval charges, latency and temporary restored copies can overwhelm the capacity saving.

Small objects can cost more to transition than they save. New or modified lifecycle configurations normally prevent transitions below 128 KB by default; overrides and legacy behavior require care. Per-object request cost still matters. Consolidate when application access and rewrite behavior make larger objects appropriate.

Versioned bucket expiration can leave noncurrent data behind. Delete markers are not proof that underlying versions have disappeared. Incomplete multipart upload cleanup is a separate action. Inspect version and upload inventory before declaring a bucket empty or cheap.

Repeatedly moving S3 data through EC2 and back does not always create a same-region transfer charge. Applicable S3/EC2 paths can have no transfer fee; requests, processing, NAT detours and cross-region legs may still bill. Do not invent a universal per-GB S3-to-EC2 fee.

Snapshots are often incremental underneath. A retained snapshot can keep blocks needed for recovery even after another snapshot is deleted. An age-only cleanup policy must also respect retention, legal holds, dependencies and restore requirements.

5. Real-world example: separate useful retention from duplication

Assume 30,000 GB of new raw data arrives over a modeled month. Three full long-lived copies create 90,000 GB of retained footprint at a steady-state comparison point. At an assumed $0.023/GB-month, that footprint costs $2,070/month. One authoritative 30,000 GB copy costs $690/month, a $1,380 difference before alternative protection costs.

This is a full-month footprint comparison, not the ingestion month’s prorated bill. Removing two copies is justified only if they are redundant artifacts rather than required recovery or independent data products.

For an existing 30,000 GB archive-eligible dataset, suppose a lower-cost class saves $0.010/GB-month: gross capacity saving is $300/month. If it contains ten million objects and transition requests are assumed at $0.01 per 1,000, transitioning costs $100 once. A monthly full read of 30,000 GB at an assumed $0.01/GB adds $300 in retrieval, eliminating that modeled monthly capacity advantage before request costs.

The conclusion depends on object count, residency time and access frequency. A storage-only comparison cannot make the decision.

6. Alternatives: canonical data with explicit derived products

Keep a documented source of truth and define which derived datasets can be rebuilt. Prefer incremental ingestion, partition pruning and reuse of a validated curated table over repeatedly rebuilding identical outputs.

Columnar formats, appropriate partitioning and compaction can reduce scan work. Avoid excessive tiny partitions and tiny files: metadata operations and planning time can offset pruning benefits. Benchmark actual queries and update patterns.

Use cross-region replication when residency, recovery or locality needs it. A replica mirrors selected changes and is not automatically a historical backup against accidental deletion. Combine replication, versioning and protected backups according to the failure model.

7. Practical recommendations

Create a dataset register: owner, source, consumers, daily change, access deadline, retention, classification and rebuild time. Inventory bytes and object counts by class and version status.

Before changing a lifecycle policy, calculate transition charges, minimum-duration exposure, restore latency and representative retrieval cost. Apply it to a limited prefix and verify behavior before broad rollout. Never delete regulated or required recovery data merely because it is old.

Measure bytes scanned and rewritten per useful data product. Set expiry for temporary outputs and failed jobs, and review backup retention separately from analytics history.

8. CloudVectra perspective: assign cost to the data product

Use CloudVectra cost insights to connect storage, processing and network expenditure in the same review. Cost Centers can assign canonical datasets and shared pipelines to accountable owners.

Track cost per retained useful TB and per successful refresh alongside freshness and restore objectives. Billing identifies where to investigate; inventories, query plans and pipeline lineage establish which copy or transformation can safely change.

Continue the architecture series

Sources and further reading

Choose whether CloudVectra may load optional analytics. You can change this at any time.

Cookie names, providers, and retention