Move MVP tile delivery to dedicated VM
This commit is contained in:
@@ -51,27 +51,33 @@ and publishes:
|
||||
|
||||
## Current MVP VM
|
||||
|
||||
The first Unraid-hosted MVP tile server is running on the existing
|
||||
`Ubuntu-Codex` VM while we keep costs at zero and avoid creating a new paid
|
||||
cloud host too early.
|
||||
The first Unraid-hosted MVP tile server is running inside its own dedicated
|
||||
Ubuntu VM. Unraid is only the hypervisor and VM storage host for this service;
|
||||
the tile service itself does not run on the Unraid OS.
|
||||
|
||||
Current endpoint:
|
||||
|
||||
```text
|
||||
http://192.168.5.10:18080
|
||||
http://192.168.5.14:18080
|
||||
```
|
||||
|
||||
The uncommon port is intentional for this local MVP proof. The server publishes:
|
||||
VM:
|
||||
|
||||
- `http://192.168.5.10:18080/health`
|
||||
- `http://192.168.5.10:18080/manifest.json`
|
||||
- `http://192.168.5.10:18080/ground_zero_tiles.json`
|
||||
- `http://192.168.5.10:18080/tiles/gz_us_ca_pacifica_utm10n_e544_n4160/v0/...`
|
||||
```text
|
||||
Agrarian-TileServer
|
||||
```
|
||||
|
||||
The attempted dedicated `Agrarian-TileServer` VM bootstrap was deferred because
|
||||
the Ubuntu cloud image download from Unraid was too slow to be practical during
|
||||
this pass. A dedicated VM remains the next hardening step before exposing the
|
||||
tile server outside the LAN.
|
||||
The uncommon port is intentional for this local MVP proof. The server publishes
|
||||
from `/srv/agrarian/tile-delivery/public`:
|
||||
|
||||
- `http://192.168.5.14:18080/health`
|
||||
- `http://192.168.5.14:18080/manifest.json`
|
||||
- `http://192.168.5.14:18080/ground_zero_tiles.json`
|
||||
- `http://192.168.5.14:18080/tiles/gz_us_ca_pacifica_utm10n_e544_n4160/v0/...`
|
||||
|
||||
The Ubuntu cloud image was downloaded from the workstation and copied to
|
||||
Unraid's ISO storage because direct download from Unraid was too slow. The VM
|
||||
was then created from that cloud image with cloud-init.
|
||||
|
||||
## Verify Client Lookup And Cache
|
||||
|
||||
@@ -79,7 +85,7 @@ From a representative Linux client with the repo mounted:
|
||||
|
||||
```bash
|
||||
cd /mnt/projects/AgrarianGameBulid
|
||||
Scripts/verify_tile_delivery_client.sh http://192.168.5.10:18080
|
||||
Scripts/verify_tile_delivery_client.sh http://192.168.5.14:18080
|
||||
```
|
||||
|
||||
The verification script:
|
||||
@@ -115,6 +121,5 @@ Keep the MVP server small:
|
||||
## Next Proof
|
||||
|
||||
The current implementation proves static lookup/download/cache/redownload on
|
||||
the LAN. The next operational hardening step is to move this from shared
|
||||
`Ubuntu-Codex` hosting to a dedicated `Agrarian-TileServer` VM or external cloud
|
||||
host when we need public testing.
|
||||
the LAN. The next operational hardening step is deciding whether this VM stays
|
||||
LAN-only or is replaced by an external cloud host when we need public testing.
|
||||
|
||||
Reference in New Issue
Block a user