Connect to Data Sources
In this tutorial, you create data assets for the data sources by using Object Storage as the source and Autonomous Data Warehouse as the target.
Before You Begin
You must have the following:
- Access to a Data Integration workspace. See Connect to Data Integration.
- Import sample data in an Object Storage bucket.
- The OCID of the workspace that you created. See Getting the Workspace OCID.
-
Policies in the required compartment as follows:
- To use the Object Storage service:
allow group <group_name> to use object-family in compartment <compartment-name> allow any-user to read buckets in compartment <compartment-name> where ALL {request.principal.type = 'disworkspace', request.principal.id = '<workspace_ocid>', request.operation = 'GetBucket'} allow any-user to manage objects in compartment <compartment-name> where ALL {request.principal.type = 'disworkspace', request.principal.id = '<workspace_ocid>'}
- To use Oracle Autonomous Data Warehouse as a target:
allow any-user to manage buckets in compartment <compartment-name> where ALL {request.principal.type = 'disworkspace', request.principal.id = '<workspace_ocid>', request.permission = 'PAR_MANAGE'}
For reference, see Creating a Policy Using the Console and Policy Examples to Enable Access to OCI Object Storage .
- To use the Object Storage service:
- Access to an Autonomous Data Warehouse database, including credentials and the wallet file. See Download Database Connection Information.
- The user name and password to establish a connection when creating a new data asset. You create the user name and password later in this tutorial.
1. Creating the Source Data Asset
For the purposes of this tutorial, Oracle Cloud Infrastructure Object Storage serves as the source data asset.
To create a data asset for Oracle Cloud Infrastructure Object Storage:
2. Preparing the Target Database
To complete all the tutorials in this series, configure the target autonomous database to add a schema and a table.
To prepare the target autonomous database with the BETA schema:
3. Creating the Target Data Asset
Navigate back to Data Integration to create the target data asset.
To create a data asset for the target:
Additional Resources
To learn more, see:
What's Next
Now that you have source and target data assets created, you can create a data flow to ingest and transform your data.