Dokumentasi teknologi layanan cloud hosting milik X-code (PT. Teknologi Server Indonesia)

Sistem cloud hosting X-code menggunakan teknologi infrastruktur modern dan terbaru dari Canonical, meliputi MicroCloud berbasis Ubuntu, LXD Cluster dengan 3 Node yang mendukung Leader dan replikasi database, penyimpanan terdistribusi menggunakan Ceph RBD dan CephFS, sistem High Availability dengan mekanisme Leader Election dan redundansi storage, lingkungan hosting containerized berbasis LXD, keamanan HTTPS melalui Cloudflare, serta runtime environment PHP versi 8.3. https://xcodecloud.biz.id

Teknologi yang Digunakan

[Internet / Client]
       |
       v
[Cloudflare
       |
       v
[IP Publik (Di data center x-code (PT. Teknologi Server Indonesia))]
       |
       v
[HAProxy 192.168.1.146 - Round Robin, Failover, Health check] - Intel Xeon E3-1220 v3
       |
       |-----------------------------|
       |                             |
       v                             v
Intel Core i5 12400         Intel Core 15 10400f
 [Node 3] (Utama)            [Node 2] (Aktif biasa)
  192.168.1.149 (Ceph)          192.168.1.148 (Ceph)
  Round Robin                        |
  Health Check                       |
  Failover                           |
       |                             |
       |                             |
       |                             |
       |                             |
       |-----------------------------|
                     |
                     v
         Intel Core Core i4 11400
        [Node 1] (Backup/fallback)
               192.168.1.147 (Ceph)
               Round Robin
               Health Check
                 Failover

Diagram CPU Tiap Server (Terlampir)

Diagram CPU Tiap Server dan Reverse Proxy

Status MicroCloud Cluster

Status: HEALTHY

Name Address OSDs MicroCeph Units MicroOVN Units Status
cloudhosting1 192.168.1.147 1 mds, mgr, mon central, chassis, switch ONLINE
cloudhosting2 192.168.1.148 1 mds, mgr, mon central, chassis, switch ONLINE
cloudhosting3 192.168.1.149 1 mds, mgr, mon central, chassis, switch ONLINE

Cluster List

NAME URL ROLES ARCHITECTURE FAILURE DOMAIN DESCRIPTION STATE MESSAGE
cloudhosting1 https://192.168.1.147:8443 database-leader, database x86_64 default ONLINE Fully operational
cloudhosting2 https://192.168.1.148:8443 database x86_64 default ONLINE Fully operational
cloudhosting3 https://192.168.1.149:8443 database x86_64 default ONLINE Fully operational

Storage List

NAME DRIVER DESCRIPTION USED BY STATE
ceph ceph 4 CREATED
default dir 3 CREATED

Daftar Container pada Node cloudhosting1

NAME STATE IPV4 IPV6 TYPE SNAPSHOTS LOCATION
containerdir RUNNING 240.147.0.151 (eth0) CONTAINER 0 cloudhosting1
xcodehosterdata RUNNING 240.149.0.189 (eth0) CONTAINER 0 cloudhosting3

Konfigurasi Container: xcodehosterdata

architecture: x86_64
config:
  image.architecture: amd64
  image.description: ubuntu 24.04 LTS amd64 (release) (20250805)
  image.label: release
  image.os: ubuntu
  image.release: noble
  image.serial: "20250805"
  image.type: squashfs
  image.version: "24.04"
  migration.stateful: "true"
  volatile.base_image: 5199328c409d5b9763c2eaead13eff38489b36510f97a43a681f5b9ee69b38eb
  volatile.cloud-init.instance-id: 371e9429-ba39-41bb-89bd-97be40578a42
  volatile.eth0.host_name: vethbadd841f
  volatile.eth0.hwaddr: 00:16:3e:32:f7:e2
  volatile.idmap.base: "0"
  volatile.idmap.current: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000000000},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1000000000}]'
  volatile.idmap.next: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000000000},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":1000000000}]'
  volatile.last_state.idmap: '[]'
  volatile.last_state.power: RUNNING
  volatile.last_state.ready: "false"
  volatile.uuid: 9ecbf89e-25b0-47ff-a8b5-17cfd817ed01
  volatile.uuid.generation: 9ecbf89e-25b0-47ff-a8b5-17cfd817ed01
devices:
  eth0:
    name: eth0
    network: lxdfan0
    type: nic
  root:
    path: /
    pool: ceph
    type: disk
ephemeral: false
profiles:
- default
stateful: false
description: ""

Informasi Storage Ceph

name: ceph
description: ""
driver: ceph
status: Created
config:
  ceph.cluster_name: ceph
  ceph.osd.pg_num: "32"
  ceph.osd.pool_name: lxd
  ceph.user.name: admin
  volatile.pool.pristine: "true"
used_by:
- /1.0/images/5199328c409d5b9763c2eaead13eff38489b36510f97a43a681f5b9ee69b38eb
- /1.0/instances/xcodehoster
- /1.0/instances/xcodehosterdata
- /1.0/profiles/ceph-profile
locations:
- cloudhosting1
- cloudhosting2
- cloudhosting3