Skip to content

Operations

Install, run highly available, back up, upgrade, monitor and troubleshoot.

pgsilo gateways serve the S3 API, web Console, and IAM evaluation while PostgreSQL stores all objects, segments, and control state. Operate and monitor both layers together: a live gateway process does not prove that PostgreSQL is writable, and logical bucket usage does not measure physical database disk consumption.

Operations guides

TaskGuide
Prepare PostgreSQL and install gateways on Linux or macOSInstall
Scale out stateless gateways, attach read-only standbys, and handle failoverHigh availability
Back up and restore the database, WAL stream, and external encryption keysBackup and restore
Perform coordinated schema migrations and binary upgradesUpgrade
Configure health probes, scrape /minio/metrics/v3/pg, and track capacityMonitoring
Diagnose TLS, pool exhaustion (HTTP 503 / 429), IAM leases, and space growthTroubleshooting
Automate multi-gateway deployment with the unpublished Pigsty role branchDeploy with Pigsty

Operating rules

  • All gateways in a deployment must connect to the same logical PostgreSQL database (or its physical standbys) and share identical root credentials, effective region, static SSE-S3 keys, SILO_PG_SEGMENT_SIZE, and SILO_PG_MAX_OBJECT_SIZE.
  • Gateways connect as the trusted ordinary database owner (silo_owner). Applications use separate SQL logins (app_sql) with access only to silo_api and silo_bucket, never the private silo schema.
  • Even if applications access objects exclusively through silo_api over SQL, keep at least one writable silo server gateway connected to the PostgreSQL primary. That gateway runs lifecycle expiration, reaps unlinked annotation payloads, and writes the control-plane heartbeats required by standby gateways.
  • During recovery or failover, evaluate consistency at the transaction boundary: application rows and silo_api calls inside one SQL transaction recover atomically, whereas separate S3 HTTP requests commit as independent transactions.

Database preparation and installation on Linux and macOS.

Several stateless gateways, standby gateways and PostgreSQL failover.

Schema migrations and gateway upgrades.

Health endpoints and the PostgreSQL metrics endpoint.