Skip to content

Updates from AWS

Where it runs: in Amazon Web Services, outside every installation. An installation only reads from it.

Each version of Government Data and of its modules is published in AWS. Installations pull what they need from there; AWS never connects to an installation, and an installation opens no port for it. Four services are used:

Service What it holds or does
Amazon S3Simple Storage Service Amazon's interface for storing files, which many storage systems (RustFS among them) also offer. The signed version index, each module’s package, and the reports installations write after an update
Amazon ECR The container images of every module, by digest, including copies of the third-party images a module runs
AWS KMS The key that signs the index; the key itself never leaves KMS
IAM Roles Anywhere Exchanges an installation’s certificate for credentials that last one hour
  • The index is signed. It lists every version and, for each module, the fingerprint of its package and the digest of each image. The agent trusts it only if its signature matches the public key the agent carries, never because of where the file came from.
  • Everything else is pinned by the index. A package whose fingerprint or an image whose digest does not match is refused.
  • Publishing is split. Each module’s repository may publish only its own images and package; only the platform’s release may sign the index. Taking over one module’s publishing cannot reach an installation.
  • Third-party images are copied. An image a module runs but does not build, such as PostgreSQL or Trino, is copied into ECR and pinned by digest: installations never pull from a third party’s registry.

When an installation is set up, its agent makes a private key that never leaves the server, and the request is signed into an enrolment certificate. With it, the agent gets AWS credentials that last one hour and allow only reading versions, pulling images and writing its own report. There is no long-lived password or access key.

Revoking an installation’s certificate stops its updates. The installation itself keeps working.

  • The core’s server needs outbound HTTPSHypertext Transfer Protocol Secure The secure web protocol: the product is reached over it, with the certificate the installer makes. to AWS’s public service endpoints for S3Simple Storage Service Amazon's interface for storing files, which many storage systems (RustFS among them) also offer., ECR and IAM Roles Anywhere. Whoever supports your installation gives you the list for your firewall. No inbound ruleRule It applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. is needed.
  • Reports carry versions, steps, durations and errors, never the organisation’s data.

Government Data · Guide v0.8.1