Azure/OCI Multicloud Installation
The Oracle Backend for Microservices and AI is available to install in Multicloud (Microsoft Azure (Azure) and Oracle Cloud Infrastructure (OCI)). This installation deploys the Oracle Backend for Microservices and AI in Azure with an Oracle Autonomous Database running in OCI.
You must meet the following prerequisites to use the Oracle Backend for Microservices and AI Multicloud (Azure and OCI). You need:
- An account on Azure.
- An account on OCI.
Watch this video for a quick overview of the setup process.
Download Oracle Backend for Microservices and AI.
A few setup steps are required in both OCI and Azure to deploy the Oracle Backend for Microservices and AI application.
The Multicloud installation provisions an Oracle Autonomous Database in OCI using the Oracle Database Operator for Kubernetes (OraOperator).
To allow the OraOperator access to OCI, an API Key must be generated using these steps:
- Log in to OCI.
- Open the Profile menu and click User settings.
- In the Resources section at the lower left, click API Keys.
- Click Download Private Key and save the key as
private_key.pem
. You do not need to download the public key. - Click Add.
The key is added and the Configuration File Preview is displayed. The file snippet includes the required parameters and values. Copy and paste the configuration file snippet from the text box and save for later steps.
The Multicloud installation is done using the Azure Cloud Shell. The following steps are required in Azure to prepare for the installation:
-
Log in to Azure.
-
Open the Azure Cloud Shell. For example:
-
Upload the Oracle Backend for Microservices and AI stack. For example:
-
Upload the API Private Key (
private_key.pem
). -
Unzip the stack to a directory called
obaas
. For example:unzip azure-ebaas_latest.zip -d ~/obaas
-
Move the
private_key.pem
file to theobaas
directory. For example:mv private_key.pem ~/obaas/
-
Run the configuration Helper script using the values from the API Key. For example:
cd ~/obaas ./obaas_configure.py
Install Ansible to run the Configuration Management Playbook. The Helper script creates a Python virtual environment and installs Ansible and some additional modules. For example:
cd ~/obaas/ansible
./setup_ansible.sh /tmp
source ./activate.env /tmp
From the Azure Cloud Shell, run these commands to deploy the infrastructure:
cd ~/obaas
terraform init
terraform plan -out=multicloud.plan
terraform apply "multicloud.plan"