# 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.

{% hint style="info" %}
To make it easier for you to follow the steps in this example case, it is <mark style="color:red;">**recommended**</mark> that you <mark style="color:red;">**subscribe Deka DNS**</mark> on the Cloudeka portal service.
{% endhint %}

### VPC Configuration

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

{% hint style="info" %}
You can click for further explanation on how to create a VPC [this link](https://docs.google.com/document/d/15YePR6Q11MJCCwbv70fBgNH7YH7QU8o8QmTQuIzPjhc/edit#heading=h.3znysh7) to go to the Create VPC module.
{% endhint %}

(input gambar disini)

### Create VM Instance

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

{% hint style="info" %}
You can click for further explanation on how to create a VM, you can press this link to go to the Create VM module.
{% endhint %}

(input gambar disini)

### 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.

{% hint style="info" %}
You can click for further explanation of the steps for adding floating IP configuration to the VPC, you can press [this link](https://docs.cloudeka.id/deka_flexi/deka-flexi-network/6.2_floating_ip/assign-floating-ip) to go to the Floating IP module.
{% endhint %}

(input gambar disini)

### 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.

(input gambar disini)

* Enter the username and password used to log in to the virtual machine.

(input gambar disini)

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

```
sudo apt-get update
```

(input gambar disini)

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

```
sudo apt-get install apache2
```

(input gambar disini)

Type **Y** to continue the installation process.

(input gambar disini)

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

(input gambar disini)

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

```
systemctl status apache2
```

(input gambar disini)

### 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.

(input gambar disini)

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

(input gambar disini)

### 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.

(input gambar disini)

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

(input gambar disini)

### 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](https://docs.cloudeka.id/network/deka-dns/create-dns). 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.

(input gambar disini)

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

(input gambar disini)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/guidance-for-individual/deka-flexi/deka-glb/example-use-case.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
