Deploy ScalarDL Ledger and ScalarDL Auditor on Azure Kubernetes Service (AKS)
This guide explains how to deploy ScalarDL Ledger and ScalarDL Auditor on Azure Kubernetes Service (AKS).
In this guide, you will create one of the following three environments in your Azure environment. To make Byzantine fault detection work properly, we recommend deploying ScalarDL Ledger and ScalarDL Auditor on different administrative domains (i.e., separate environments).
-
Use different Azure accounts (most recommended way)
-
Use different Azure Virtual Networks (VNets) (second recommended way)
-
Use different namespaces (third recommended way)
Note: This guide follows the second recommended way, "Use different VNets."
Step 1. Get the ScalarDL Ledger and ScalarDL Auditor container images
You must get the ScalarDL Ledger and ScalarDL Auditor container images. For details, see How to get the container images of Scalar products.
Step 2. Create an AKS cluster for ScalarDL Ledger
You must create an AKS cluster for the ScalarDL Ledger deployment. For details, see Guidelines for creating an AKS cluster for Scalar products.
Step 3. Create an AKS cluster for ScalarDL Auditor
You must also create an AKS cluster for the ScalarDL Auditor deployment. For details, see Guidelines for creating an AKS cluster for Scalar products.
Step 4. Set up a database for ScalarDL Ledger
You must prepare a database before deploying ScalarDL Ledger. Because ScalarDL Ledger uses ScalarDB internally to access databases, refer to ScalarDB Supported Databases to see which types of databases ScalarDB supports.
For details on setting up a database, see Set up a database for ScalarDB/ScalarDL deployment in Azure.
Step 5. Set up a database for ScalarDL Auditor
You must also prepare a database before deploying ScalarDL Auditor. Because ScalarDL Auditor uses ScalarDB internally to access databases, refer to ScalarDB Supported Databases to see which types of databases ScalarDB supports.
For details on setting up a database, see Set up a database for ScalarDB/ScalarDL deployment in Azure.
Step 6. Create a bastion server for ScalarDL Ledger
To execute some tools for deploying and managing ScalarDL Ledger on AKS, you must prepare a bastion server in the same VNet of the AKS cluster that you created in Step 2. For details, see Create a Bastion Server.
Step 7. Create a bastion server for ScalarDL Auditor
To execute some tools for deploying and managing ScalarDL Auditor on AKS, you must prepare a bastion server in the same VNet of the AKS cluster that you created in Step 3. For details, see Create a Bastion Server.
Step 8. Create network peering between two AKS clusters
To make ScalarDL work properly, ScalarDL Ledger and ScalarDL Auditor need to connect to each other. You must connect two VNets by using virtual network peering. For details, see Configure Network Peering for ScalarDL Auditor Mode.
Step 9. Prepare custom values files for the Scalar Helm Charts for both ScalarDL Ledger and ScalarDL Schema Loader
To perform tasks, like accessing information in the database that you created in Step 4, you must configure custom values files for the Scalar Helm Charts for both ScalarDL Ledger and ScalarDL Schema Loader (for Ledger) based on your environment. For details, see Configure a custom values file for Scalar Helm Charts.