Copy a file from a Cloud-based source to a Cloud-based target using Data Integration Platforms in both Clouds.

Pattern Definition
Problem | How do I transfer a data file from a cloud-based source to a target in another Cloud where both Clouds use a Data Integration Platform? | |
Context | This pattern is applicable when there is a desire to transfer files from a Cloud-based source to a Cloud-based target. The source and target may be SaaS, PaaS, or IaaS. | |
Forces |
| |
Solution | The pattern employs one Data Integration Platform in each Cloud that has sources or targets. | |
Consequences | Pros:
|
Interaction View
- Upload Cloud to Cloud
- Upload By Reference Cloud to Cloud
- Download Cloud to Cloud
- Download By Reference Cloud to Cloud
Upload Cloud to Cloud
Transfer data (via file) from a SaaS or Cloud-based application to SaaS or Cloud-based application in another cloud

Interactions
- The Data Integration Platform notifies the Cloud-based application to export a file. The Cloud-based application could be SaaS or an application running on PaaS or IaaS. This notification could be time based or business event driven. The notification could also be replaced by a timed export from the Cloud-based application.
- The Cloud-based application exports data to a file.
- The Data Integration Platform retrieves the file.
- The Data Integration Platform processes the file and sends the file to the other Data Integration Platform.
- The Data Integration Platform processes the file and writes a file to a Cloud-based storage.
- The Data Integration Platform notifies the Cloud-based application that the file is ready for processing. The Cloud-based application could be SaaS, or an application running on PaaS or IaaS. The notification could also be replaced by a timed import or polling from the Cloud-based application.
- The Cloud-based application reads the file and processes the contents.
Notes
- The notifications to the applications are shown as a single call, but there could be multiple API calls to export or import the files.
- The Data Integration Platforms tend to support:
- REST with HTTP Basic or OAuth security, or
- SOAP with WS Security using username and timestamp.
Upload By Reference Cloud to Cloud
Transfer data (via file) from a SaaS or Cloud-based application to SaaS or Cloud-based application in another cloud by passing the file by reference.

Interactions
- The Data Integration Platform notifies the Cloud-based application to export a file. The Cloud-based application could be SaaS or an application running on PaaS or IaaS. This notification could be time based or business event driven. The notification could also be replaced by a timed export from the Cloud-based application.
- The Cloud-based application exports data to a file.
- The Data Integration Platform creates a handle for the file.
- The Data Integration Platform passes the file handle to the Data Integration Platform.
- The Data Integration Platform reads the file from Cloud-based storage.
- The Data Integration Platform processes the file and writes a file to a Cloud-based storage.
- The Data Integration Platform notifies the Cloud-based application that the file is ready for processing. The Cloud-based application could be SaaS, or an application running on PaaS or IaaS. The notification could also be replaced by a timed import or polling from the Cloud-based application.
- The Cloud-based application reads the file and processes the contents.
Notes
- The Data Integration Platform must support pass by reference file transfers.
- The notifications to the applications are shown as a single call, but there could be multiple API calls to export or import the files.
- The Data Integration Platform tend to support:
- REST with HTTP Basic or OAuth security, or
- SOAP with WS Security using username and timestamp.
Download Cloud to Cloud
Transfer data (via file) from SaaS or Cloud-based application to a SaaS or Cloud-based application in another cloud.

Interactions
- The Data Integration Platform notifies the Cloud-based application to export a file. The Cloud-based application could be SaaS, or an application running on PaaS or IaaS. This notification could be time based or business event driven. The notification could also be replaced by a timed export from the Cloud-based application.
- The Cloud-based application exports data to a file.
- The Data Integration Platform retrieves the file.
- The Data Integration Platform processes the file and sends the file to Data Integration Platform in another Cloud.
- The Data Integration Platform processes the file and writes a file to a Cloud-based storage.
- The Data Integration Platform notifies the Cloud-based application that the file is ready for processing. The Cloud-based application could be SaaS or an application running on PaaS or IaaS. The notification could also be replaced by a timed import or polling from the Cloud-based application.
- The Cloud-based application reads the file and processes the contents.
Notes
- The notifications to the applications are shown as a single call, but there could be multiple API calls to export or import the files.
- The Data Integration Platforms tend to support:
- REST with HTTP Basic or OAuth security, or
- SOAP with WS Security using username and timestamp.
Download By Reference Cloud to Cloud
Transfer data (via file) from an SaaS or Cloud-based application to a SaaS or Cloud-based application in another cloud passing the file by reference.

Interactions
- The Data Integration Platform notifies the Cloud-based application to export a file. The Cloud-based application could be SaaS, or an application running on PaaS or IaaS. This notification could be time based or business event driven. The notification could also be replaced by a timed export from the Cloud-based application.
- The Cloud-based application exports data to a file.
- The Data Integration Platform creates a handle for the file.
- The Data Integration Platform passes the file handle to the Data Integration Platform.
- The Data Integration Platform reads the file from Cloud-based storage.
- The Data Integration Platform processes the file and writes a file to a Cloud-based storage.
- The Data Integration Platform notifies the Cloud-based application that the file is ready for processing. The Cloud-based application could be SaaS, or an application running on PaaS or IaaS. The notification could also be replaced by a timed import or polling from the Cloud-based application.
- The Cloud-based application reads the file and processes the contents.
Notes
- The Data Integration Platform must support pass by reference file transfers.
- The notifications to the applications are shown as a single call, but there could be multiple API calls to export or import the files.
- The Data Integration Platforms tend to support:
- REST with HTTP Basic or OAuth security, or
- SOAP with WS Security using username and timestamp.