Register an Oracle Cloud Database
You can register Oracle cloud databases as target databases in Oracle Data Safe.
In Oracle Data Safe, use the Oracle cloud databases registration wizard to register the following databases:
- Oracle Base Database Service (DB system - Virtual Machine)
- Oracle Exadata Database Service on Dedicated Infrastructure (Exadata VM cluster)
- Oracle Database@AWS - Oracle Exadata Database Service
- Oracle Database@Azure - Oracle Exadata Database Service
- Oracle Database@Google Cloud - Oracle Exadata Database Service
Note:
Be sure to complete the preregistration tasks before using the wizard and the post-registration tasks afterward.
Preregistration Tasks
The following table lists the preregistration tasks for an Oracle cloud database.
| Task Number | Task | Link to Instructions |
|---|---|---|
| 1 | In Oracle Cloud Infrastructure Identity and Access Management (IAM), obtain permissions to register your database. | Permissions to Register an Oracle Cloud Database with Oracle Data Safe |
| 2 | Create an Oracle Data Safe service account on your database and grant it Oracle Data Safe roles. Create the service account as the SYS
user.
|
Create an Oracle Data Safe Service Account on Your Database or Grant Roles to the Oracle Data Safe Service Account on Your Target Database |
| 3 | (Optional) If you plan to configure a TLS connection to your database, create a wallet or certificates. | Create a Wallet or Certificates for a TLS Connection |
| 4 | (Optional) If you're planning to register a database with Active Data Guard association: 1) Ensure that the primary and standby databases use the same private endpoint to connect to Oracle Data Safe. 2) Ensure that your Active Data Guard association follows the prerequisites of using Oracle Data Guard on a DB System. | Use Oracle Data Guard on a DB System |
Run the Oracle Cloud Databases Wizard
The following sections detail the workflow in the Oracle cloud databases registration wizard.
Step 2: Connectivity option
If no Oracle Data Safe private endpoint exists in the VCN, the wizard creates one and shows you the proposed configuration. You can change any of the parameters that are automatically entered in the form.
- For Display name, accept the given private endpoint name or enter a different one.
- For Compartment, select the compartment to store the private endpoint. The compartment doesn't need to be the same as the database's compartment.
- For Virtual cloud network compartment and Virtual cloud network, select your VCN's compartment, and then select the VCN. The private endpoint must run in the same VCN as the database or the VCN of the private endpoint must have VCN peering set up with the VCN of the target database.
- For Subnet compartment and Subnet, select your subnet's compartment, and then select the subnet. You can use any subnet; however, Oracle recommends that you use the same subnet as your database.
- (Optional) At Private IP, enter the private IP address that should be assigned to the private endpoint. If you do not enter a private IP address, Oracle Data Safe assigns one automatically.
- (Optional) To add a tag to organize and track this resource in your tenancy, select Add tag. Select a namespace, select a key, and enter a key value.
- Select Next.
Step 3: Add peer database
If you're registering an Active Data Guard associated database, then you can add peer databases during this step.
It is also possible to register peer databases after you register the primary database. See Manage Peer Databases Associated with a Registered Active Data Guard Primary Database.
- If you're not registering an Active Data Guard associated database, select Next to skip this step.
- For each peer database that you want to add, provide the following
information as needed:
- Peer display name
- Database service name
- Database IP address
- Database port number
- TCP or TLS
- If you are configuring a TLS connection, select a TLS type (One way TLS or Mutual TLS). For Mutual TLS, upload a truststore wallet, upload a keystore wallet, and enter the wallet password. For One way TLS, upload a truststore wallet and enter the wallet password.
- Select Add row.
- Repeat steps 2 and 3 to add additional peer databases.
- Select Next.
Step 4: Add security rule
This step applies if you are using an Oracle Data Safe private endpoint. To allow communication between an Oracle cloud database and an Oracle Data Safe private endpoint, you must create both an ingress security rule and an egress security rule in Oracle Cloud Infrastructure (OCI). You can allow the wizard to create the rules for you, create them manually in OCI (see Security Rules for Oracle Cloud Databases), or skip this step if you already have security rules you want to use. The ingress and egress rules do not need to be in the same security list, network security group (NSG), or compartment. The target database remains inactive in Oracle Data Safe until the required security rules are configured.
See Also:
For more information about security lists and network security groups, see Access and Security in the Oracle Cloud Infrastructure documentation.- To bypass security rule configuration, select No.
- To allow the wizard to configure the security rules, select
Yes. For both the ingress and egress security rule
configuration, select Security list or Network
security group, and then select the name of the security list or
NSG. You can change the compartment if needed. The wizard displays the rules that
will be added.
Note:
If you add peer databases during registration, the same egress rule is created for the database and each peer database. - Select Next to continue in the wizard.
Step 5: Review and submit
The Review and submit page displays the configuration for the previous steps in the wizard.
- If the information is correct, select Register.
- If the information is incorrect, select Previous to return to any of the earlier steps, or select Close to cancel the registration.
Step 6: Registration progress
Important:
Do not select the Close button in the wizard, sign out of OCI, or close the browser tab until the wizard shows that all of the tasks listed are resolved. If you close prematurely, then the information for all of the tasks that have not yet been completed is lost and the target database is not registered.If there is no further work to do, the registration completes, and the wizard presents the Target database information page. Here you can again review the registration details and complete any post-registration tasks as required.
Post Registration Tasks
The following table lists tasks that you need to complete after you run the Oracle cloud databases wizard.
| Task Number | Task | Link to Instructions |
|---|---|---|
| 1 |
(Optional) Change which features are allowed for the Oracle Data Safe service account on your target database by granting/revoking
roles from the account. You need to be the |
Grant Roles to the Oracle Data Safe Service Account on Your Target Database |
| 2 |
(Optional) Grant users access to Oracle Data Safe features with the target database by configuring policies in Oracle Cloud Infrastructure Identity and Access Management. |
Create IAM Policies for Oracle Data Safe Users |