Base Database VM
This topic explains the required steps to connect to Base Database VM from Azure Virtual Machine (VM).
Configuring Network Security Group (NSG) and connection to Azure VM are prerequisites for connecting to Base Database VM.
- Obtain Base Database VM IP Address
- From the Azure Portal, select Oracle AI Database@Azure, and then select Oracle Base Database Service.
- Select the Name link of your Base Database.
- From the Overview page, select the Go to OCI link.
- From the OCI console, select DB Systems, and then select the Nodes tab.
- Take a note of the Private IP address from the Private IP address (IPv4) column.
- Connect to Base Database VM
- Copy your Base Database VM Cluster's private key into the Azure Virtual Machine.
- Change your directory to the location where your private key file is copied.
Note
You must ensure that only your user account has access to the PEM file. Right-click the file, select Properties, and then navigate to the Security tab to adjust the permissions. - Select the Windows button, and then type
cmdto open Command Prompt. - Run the following command to connect to your VM using the Private IP address of your VM node.
ssh -i "%USERPROFILE%\Documents\SSH Keys\PrivateKey.pem" opc@<vm-private-ip>Example:ssh -i "%USERPROFILE%\Documents\SSH Keys\ssh-key-demo-vm-cluster-04.pem" opc@10.0.0.105 - Command prompt switching to Base Database user and IP indicate successful connection.
