Low-cost cross-border file transfer

Updated at:

Use acceleration endpoints of Object Storage Service (OSS) together with Function Compute and CloudFlow to quickly build a cost-effective and efficient cross-border object synchronization and transmission system.

Use cases

This solution applies when:

  • Cost control: Cross-border data transfer costs must be strictly managed, and dedicated connectivity options exceed your budget.

  • Latency tolerance: Your application is not latency-sensitive and can accept some synchronization delay introduced by network jitter.

  • Elastic scale: The data pipeline must handle large-scale file writes without pre-provisioned fixed infrastructure.

  • Cross-border object transfer: Objects must move between OSS buckets in different regions across geographic boundaries.

How it works

image

The solution connects an OSS upload event in China (Shanghai) to an automatic object copy in US (Silicon Valley), triggered through Function Compute and a CloudFlow workflow:

  1. An Elastic Compute Service (ECS) instance simulates application writes, accessing OSS buckets in both the China (Shanghai) and US (Silicon Valley) regions to produce and upload data.

  2. The ECS instance uploads the data to the OSS bucket in China (Shanghai) through an internal endpoint.

  3. When an object is uploaded, OSS triggers Function Compute, which starts a CloudFlow workflow for that object.

  4. The CloudFlow workflow uploads the object to the OSS bucket in US (Silicon Valley) through the OSS acceleration endpoint. One workflow handles each object, so synchronization tasks stay isolated and can be retried independently.

  5. An ECS instance in US (Silicon Valley) reads the replicated objects from OSS to verify data integrity.

Benefits

  • Low O&M cost: Function Compute handles invocation automatically on each upload event. Focus on business logic, not infrastructure management.

  • Low network cost: Using OSS acceleration endpoints for cross-border transfer reduces network cost compared with Cloud Enterprise Network (CEN) or Express Connect.

  • Low deployment cost: No ECS resources need to be pre-provisioned for the sync pipeline. Function Compute invokes CloudFlow on a pay-as-you-go basis, triggered by each object upload.

  • High elasticity and efficiency: Each object upload triggers an independent CloudFlow workflow. Resources scale automatically with the write volume, so they are fully utilized and objects sync efficiently.

Solution details

For more information, see Low-cost cross-border file transfer best practices.