Data movement & egress
Data movement & egress
Back to cost overviewData movement cost is what you pay to move data around. In the data-sharing platform we are costing, analysis is already done, so data movement is about getting finished data to teams, external partners, and different storage tiers—not shuffling it between analysis stages.
We can consider data movement as two main contributions:
-
Platform infrastructure cost – the services that enable data movement (e.g. custom orchestration stacks, APIs, access control, logging, or intermediate storage for data staging).
-
Egress cost – the cost imposed by the provider for moving the bytes themselves (per GB). This varies depending on where data moves: within a region, across regions, or out to the internet.
In general, there is a key asymmetry: uploading data into AWS is free; moving data out costs money. This asymmetry applies not just to external egress, but also to movement between storage tiers, where moving data out of a lower-tier storage class can incur significant charges.
Unlike storage cost (which grows gradually with data volume), data movement cost is event-driven: sudden spikes occur when datasets are shared with new partners, replicated to additional regions, moved between storage tiers, or accessed at scale.
Main cost components
Section titled “Main cost components”To understand where data movement costs come from, it helps to follow the journey of a dataset: first, the infrastructure that orchestrates its movement, then the actual cost of moving the bytes themselves—which varies dramatically depending on where they go.
Platform infrastructure
Section titled “Platform infrastructure”The services that orchestrate data movement incur both standing and usage-dependent costs:
-
Orchestration services coordinate copy jobs, handle approvals, and manage workflows. This can be custom-built using Step Functions and Lambda (charging per state transition and invocation), or use AWS managed services like DataSync. For cross-institutional or federated data sharing, platforms like Globus provide managed orchestration and transfer services with their own pricing models. The orchestration choice significantly affects this cost component and is discussed in Design choices.
-
APIs and access control expose datasets and enforce permissions. Beyond the baseline standing cost, API Gateway charges per request, which can become significant for high-volume access patterns. While IAM policy evaluation itself is free (cost of high access is not expected here), audit logging (CloudWatch Logs, CloudTrail) tracks who accessed what, when, and under what policy; charges scale with event volume and retention period.
-
Intermediate storage (working buckets, staging areas) holds temporary artifacts during sharing orchestration—job manifests, thaw requests, copy instructions—and working buckets needed for data operations: S3 buckets for staging data before moving, or hot buckets for thawing objects from cold storage tiers before transfer. While artifact buckets are normally small, they are persistent and generate request charges from frequent reads/writes during orchestration. Staging buckets, by contrast, are ephemeral—created and deleted as needed—but can accumulate significant costs if data movement volume is high.
These services incur both standing and usage-dependent costs. The baseline cost is covered in Standing costs; the usage-dependent component grows with the number of copy jobs, API requests, audit events, and data movement volume. In most platforms, infrastructure cost is modest compared to egress, unless request volumes, logging detail, or staging activity are very high.
Egress cost: where bytes travel
Section titled “Egress cost: where bytes travel”The cost of moving bytes depends entirely on where data goes. AWS charges per-GB rates that vary by pathway, from free (internal) to expensive (external). Understanding each pathway helps you anticipate costs and design accordingly.
-
Internal transfers (same account, same AWS region): Reads from S3 to compute, writes back to S3, and internal S3 copies all incur no data transfer charges—only S3 request charges. Note that moving data between storage classes within the same region (e.g. retrieving archived data from Glacier before sharing) also incurs no egress charges, but can have associated retrieval and request fees. These internal movements rarely dominate the bill.
-
Cross-account transfers (same AWS region): Cross-account transfers can be implemented via bucket policies or VPC endpoints at negligible egress cost. This is significantly cheaper than moving data across regions.
-
Cross-region transfers: Cross-region transfers incur per-GB charges (typically of the order of ~$0.02/GB, varying by region pair). These costs matter most when replicating large datasets for resilience, compliance, or performance. Cross-region transfers are often the first clear source of non-trivial data movement cost.
-
External egress (out of AWS): External egress is the most expensive pathway. Data leaving AWS to the public internet, on-premises environments (via VPN or Direct Connect), or other cloud providers all incur per-GB charges. Internet egress typically costs $0.09–0.12/GB depending on region. External egress can easily become the dominant movement cost.
Internal vs cross‑organisation platforms: different movement patterns
Section titled “Internal vs cross‑organisation platforms: different movement patterns”Data movement patterns differ significantly between ISP and CSP, shaping how costs accumulate over time.
Internal Sharing Platform (ISP)
Section titled “Internal Sharing Platform (ISP)”An ISP shares data within a single organisation, typically within one AWS region:
- Users and projects live in the same account or a small set of linked accounts.
- Most data movement is internal (same region), with negligible egress cost.
- Sharing is “pull” – users fetch data from central buckets – rather than “push” to external systems.
- Audit logging is tuned to internal compliance requirements.
Typical movement pattern:
- 50 active projects, each team accessing shared reference datasets and analysis results several times per month.
- Per access, data volumes are tens of GB, but movement is internal (negligible egress cost).
- Cross‑region replication may exist for resilience, but is not routine.
Data movement cost shape:
- Infrastructure cost is modest.
- Internal movement cost is negligible.
- Cross‑region cost appears only where resilience is required.
- External egress is low or absent.
Cross‑Organisation Sharing Platform (CSP)
Section titled “Cross‑Organisation Sharing Platform (CSP)”A CSP regularly shares data with external partners, often across regions and organisations:
- Partners are in different AWS accounts, different organisations, and sometimes different regions.
- Sharing is both “pull” (partners fetch from your buckets) and “push” (platform copies into partner accounts or systems).
- Data is often replicated across regions to meet data residency requirements or provide low-latency access.
- Audit logging is detailed and retention is long to meet cross‑organisational governance standards.
Typical movement pattern:
- 20 internal projects plus 10 external partners.
- Partners regularly request copies of datasets (100 GB to 1 TB per request), either downloaded to their systems or replicated into their AWS accounts in different regions.
- Some partners access data via APIs for federated queries.
- This cost model assumes replication to one additional region; real platforms may use more depending on partner, compliance, and resilience requirements.
Data movement cost shape:
- Infrastructure cost grows with the number of partners, API endpoints, and policy complexity.
- Cross‑region movement cost grows steadily as datasets are replicated to multiple regions.
- External egress becomes the dominant cost driver, especially when partners download large datasets.
- Caching and strategic replication become critical levers for cost control.
Design choices
Section titled “Design choices”Data movement cost is where design choices have the most immediate impact. A thoughtful architecture keeps costs predictable and controllable; poor choices can turn data movement into your largest and most volatile cost line item. Here are the key decisions that shape your cost trajectory.
Custom orchestration vs AWS managed services
Section titled “Custom orchestration vs AWS managed services”Platforms can implement data sharing orchestration using:
Custom orchestration (e.g. Step Functions and Lambda coordinating S3 copies)
- Pros: tailored to your data characteristics (large objects, cold storage retrieval, cross-account patterns); can optimise movement patterns and caching for cost.
- Cons: requires development and ongoing maintenance; needs careful design for scale and robustness.
AWS managed services (e.g. S3 Batch Operations, DataSync, Transfer Family)
- Pros: lower operational burden; built-in scalability and reliability.
- Cons: less tailored to specific workloads; have higher per-GB or per-operation costs.
A lightweight custom service built on core AWS primitives often strikes a good balance (see e.g. Steps S3 Copy) However, understanding the cost trade-offs between custom and managed approaches is essential for your platform’s long-term sustainability.
Movement pathway: designing for cost
Section titled “Movement pathway: designing for cost”How you route data through your infrastructure is one of the most powerful levers for controlling cost. Keep data in one region where possible. Replicate selectively—only datasets that justify the cost, only to regions where partners operate. Encourage federated access via APIs rather than direct downloads. Active monitoring and governance of data pathways are essential to prevent unplanned replication and cost drift. The key is intentionality: every copy, every region, every external download should serve a purpose.
Sharing strategy: copying vs caching
Section titled “Sharing strategy: copying vs caching”How do you handle repeated access to the same dataset?
Full copying – each partner receives their own complete copy
- Pros: simple; each partner has full control.
- Cons: multiplies storage and egress costs.
Caching and shared access – frequently accessed datasets are cached or accessed via controlled central buckets
- Pros: avoids redundant copies; reduces repeated egress and cross-region movement.
- Cons: requires cache design and management; access policies must be carefully maintained.
For most data-sharing platforms, caching and reuse are preferable to unconstrained copying, both for cost and for maintaining coherence of shared datasets. Consider which datasets justify full copies (e.g. long-term partner collaborations) versus which should be cached or accessed on-demand.
Region strategy: hub vs distributed
Section titled “Region strategy: hub vs distributed”Where you store data and where your partners access it from determines both latency and cost.
Single region – all data in one region, partners access remotely.
- Pros: simple, cheap.
- Cons: poor latency for distant partners.
Multi-region reference data – replicate reference datasets to a second region where partners operate.
- Pros: fast local access, avoids repeated egress.
- Cons: higher transfer cost.
On-demand replication – replicate project outputs only when partners request them.
- Pros: balances cost and flexibility.
- Cons: requires coordination and delays.
Data movement cost at a glance
Section titled “Data movement cost at a glance”Data movement cost is event-driven, not gradual. Unlike storage, which grows steadily with data volume, data movement spikes when you make architectural choices—replicate to a new region, let partners download freely, or scale to new collaborators. This makes data movement both easier to control and easier to get wrong.
The table below summarises modeled monthly data movement costs for the ISP and CSP scenarios. The assumptions behind these estimates are described in the Assumptions section. Costs are shown in USD.
| Internal Sharing Platform (ISP) | Cross‑Organisation Sharing Platform (CSP) | |
|---|---|---|
| Platform infrastructure (orchestration, APIs, logging, intermediate storage) | ~$0.06 | ~$1.15 |
| Internal transfers (same region) | ~$0.04 | ~$0.10 |
| Cross‑region transfers | ~$20 | ~$200 |
| External egress (internet, on‑premises, other clouds) | ~$23 | ~$360 |
| Total data movement cost | ~$43 | ~$561 |
Assumptions
Section titled “Assumptions”The assumptions below set out the data volumes, transfer routes, and orchestration activity used to model monthly data movement for each platform.
Platform infrastructure (orchestration, APIs, logging, intermediate storage)
Section titled “Platform infrastructure (orchestration, APIs, logging, intermediate storage)”ISP
- 100 Step Functions Standard workflow executions per month, with 5 state transitions per execution.
- 1,000 additional Lambda orchestration invocations per month, each using 512 MB of memory for 1 second.
- 50 GB of temporary staging data per month, held for an average of 1 day; assume 500 S3 GET requests and 100 S3 PUT requests per month.
- API requests, baseline compute, and audit logs are counted under standing costs, not here.
CSP
- 1,000 Step Functions Standard workflow executions per month, with 8 state transitions per execution.
- 10,000 additional Lambda orchestration invocations per month, each using 512 MB of memory for 2 seconds.
- 500 GB of temporary staging data per month, held for an average of 2 days; assume 5,000 S3 GET requests and 1,000 S3 PUT requests per month.
- API requests, baseline compute, and audit logs are counted under standing costs, not here.
External orchestration services (e.g. Globus) are not included.
AWS pricing references:
API Gateway, Lambda, Step Functions, CloudWatch, S3.
Internal transfers (same region)
Section titled “Internal transfers (same region)”ISP
- 50 active projects each read 20 GB of shared data 4 times per month, for 4 TB of same-region reads.
- Model 100,000 S3 GET requests per month for these reads.
- No S3-to-S3 copies or storage-class transitions are included here.
CSP
- 20 internal projects each read 50 GB of shared data 4 times per month, for 4 TB of same-region reads.
- 10 partner AWS accounts in the same region each read 100 GB per month, for 1 TB of same-region cross-account reads.
- Model 250,000 S3 GET requests per month across these reads.
- No S3-to-S3 copies or storage-class transitions are included here.
AWS pricing references:
S3, EC2 data transfer.
Cross‑region transfers
Section titled “Cross‑region transfers”ISP
- Replicate 1 TB of selected datasets to a secondary region each month for resilience.
CSP
- The 15 TB active dataset is already replicated to one additional region, as described in storage assumptions.
- Assume 10% of that dataset changes each month (1.5 TB), plus 8.5 TB of reference and project data copied to partner regions, for 10 TB of cross-region transfers per month.
- The initial 15 TB replication is excluded from the monthly estimate.
AWS pricing references:
S3 replication and multi‑region storage.
External egress (internet, on‑premises, other clouds)
Section titled “External egress (internet, on‑premises, other clouds)”ISP
- Assume 250 GB of downloads to the public internet, on-premises systems, or other clouds per month.
CSP
- 10 external partners each download 400 GB to the public internet, on-premises systems, or other clouds per month, for 4 TB of external egress.
AWS pricing references:
EC2 / S3 data transfer out, Direct Connect.