Appearance
Hetzner Object Storage (geführt)
Ein privater Bucket für Platform-Asset-Store (customers/) und Generator-Handoff (generator/). Siehe Spatial Production Contract.
1. S3-Credentials
- Hetzner Console → Projekt öffnen
- Linkes Menü: Security
- Oben: S3 Credentials → Generate credentials
- Beschreibung z. B.
raumgrid-prod - Access Key + Secret Key sofort speichern (Secret ist danach nicht mehr sichtbar)
Ein Credential-Paar für Platform und Generator reicht. Isolation über Prefixes.
2. Bucket anlegen
- Linkes Menü: Object Storage → Create Bucket
- Location: dieselbe Region wie der App-Server (
fsn1/nbg1/hel1) - Name: global eindeutig, z. B.
raumgrid-prod - Visibility: private (Pflicht)
- Create & Buy now
3. Endpoint / Region
| Location | Endpoint | AWS_DEFAULT_REGION |
|---|---|---|
| Falkenstein | https://fsn1.your-objectstorage.com | fsn1 |
| Nuremberg | https://nbg1.your-objectstorage.com | nbg1 |
| Helsinki | https://hel1.your-objectstorage.com | hel1 |
Notieren: Bucket-Name, Location, Endpoint, Access Key, Secret Key.
4. Smoke-Test
Mit AWS CLI (Beispiel fsn1 / Bucket raumgrid-prod):
bash
export AWS_ACCESS_KEY_ID=…
export AWS_SECRET_ACCESS_KEY=…
aws s3 ls s3://raumgrid-prod/ \
--endpoint-url https://fsn1.your-objectstorage.com \
--region fsn1
echo ok | aws s3 cp - s3://raumgrid-prod/generator/_smoke.txt \
--endpoint-url https://fsn1.your-objectstorage.com \
--region fsn1Erst danach Env in Platform/Generator setzen (siehe docker/.env.production.example und Contract).
Prefixes
| Prefix | Nutzung |
|---|---|
customers/{slug}/… | Platform Asset-Store (Web-Auslieferung) |
generator/jobs/{jobId}/splat.ply | Generator → Platform Handoff |