Microsoft Azure/OCI Multicloud Installation
The Oracle Backend for Parse Platform is available to install in Multicloud (Microsoft Azure and Oracle Cloud Infrastructure (OCI)). This installation deplpoys the Oracle Backend for Parse Platform in Azure with an Oracle Autonomous Database running in OCI.
You must meet the following prerequisites to use the Oracle Backend for Spring Boot Multicloud (Microsoft Azure and OCI). You need:
- An account on Microsoft Azure (Azure)
- An account on OCI
Download Oracle Backend for Parse Server.
A few setup steps are required in both OCI and Azure to deploy the Oracle Backend for Parse Platform application.
The Multicloud installation provisions an Oracle Autonomous Database in OCI using the OCI Service Operator for Kubernetes (OraOperator).
To allow the OraOperator access to OCI, an API key must be generated. Process these steps:
-
Log in to OCI.
-
Open the Profile menu and click My profile.
-
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 that you need. 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 Spring Boot and Microservices stack. For example:
-
Upload the API Private Key (
private_key.pem
). -
Unzip the stack to the following directory:
unzip azure-mbaas_latest.zip -d obaas
-
Move the
private_key.pem
file to:mv private_key.pem obaas/
-
Run the configuration helper script, specifying the values from the API key. For example:
cd ~/obaas
./obaas_configure.py
Install Ansible to run the Configuration Management Playbook. The helper scripts create a Python virtual environment and installs Ansible and any additional modules. For example:
cd ~/obaas/ansible
./setup_ansible.sh
source ./activate.env
Deploy the infrastructure from the Azure Cloud Shell using these commands:
cd ~/obaas
terraform init
terraform plan -out=multicloud.plan
terraform apply "multicloud.plan"
Next, go to the On-Premises Installation page to learn how to use the newly installed environment.