Page cover image

Example Use Case

This section explains examples of Deka GLB configuration use cases on the Cloudeka portal service. There are several stages that will be carried out in the case of using the Deka GLB configuration in the Cloudeka portal service.

To make it easier for you to follow the steps in this example case, it is recommended that you subscribe Deka DNS on the Cloudeka portal service.

VPC Configuration

The first step is to add VPC configuration on the project that will be created by Deka GLB

You can click for further explanation on how to create a VPC this link to go to the Create VPC module.

VPC Configuration

Create VM Instance

The next step is to Add a VM in the Instance.

You can click for further explanation on how to create a VM, you can press this link to go to the Create VM module.

Virtual Machine

Floating IP Configuration

The second step is to add a floating IP configuration to the VPC that was previously created. Used to make VMs able to access the Internet network.

You can click for further explanation of the steps for adding floating IP configuration to the VPC, you can press this link to go to the Floating IP module.

Configuration Floating IP

VM Configuration

After adding the floating IP to the VM in the Instance, next install Apache on the VM. Open the console on the newly created VM. On the newly created VM, in the Instance menu, press the More button then select Access Console.

Access Console
  • Enter the username and password used to log in to the virtual machine.

Access Console - Login

Enter the following command to update the package management version that the VM will use.

sudo apt-get update
Update Packet

Enter the following command to install the Apache HTTPServer package on the VM.

sudo apt-get install apache2
Install Apache2

Type Y to continue the installation process.

Install Apache2

Press Enter to continue the installation process and wait until the process is complete.

Install Apache2
Install Apache2

After you have finished installing Apache, next, check the status that Apache has been installed, enter the command below.

systemctl status apache2
Check Status Apache2

Deka GLB Configuration

The next step is to add two load balancer configurations type Global Load Balancer via the Network menu. In the Floating IP column on glb1 using 109.199.14.13 and on glb2 using 109.199.14.65 note down the IP address used on each GLB Deka.

GLB Configuration

In each GLB configuration, add HTTP configuration to the backend and frontend.

glb1 Configuration
glb2 Configuration

Security Configuration

On the Security menu, press the Create Security button, in the Inbound Rule section, add the two IP addresses used in each Deka GLB, namely glb1 using 109.199.14.13 and glb2 using 109.199.14.65.

Security Configuration

For the Apply to Instance section, add it to the previously created VM.

Security Configuration

DNS Configuration

To add a Deka GLB IP address via the Cloudeka portal service via Deka DNS.If you haven't added a Deka DNS configuration, you can press click this link. For further configuration of Deka DNS, you can contact the Cloudeka Team.

DNS Checker

After entering the DNS configuration by the Cloudeka Team with an example domain demo-glb.cloudeka.id. To ensure the configuration used is appropriate, you can check via dnschecker.org. On website dnschcker.org used to check the extent to which DNS configuration changes have propagated across DNS servers in various locations.

DNS Checker (a)

In the DNS Check results you can see two IP addresses propagated in various locations.

Last updated