GUIDO Search

SaaS portal and deployment

GUIDO installs on its own on a Windows server with a PostgreSQL database (dedicated installation), or in a hosted offer whose entry point is the GUIDO Portal: it routes each host name to the right environment and never touches that environment’s data.

What you can do

  • Create an environment with the portal start-up assistant: servers, PostgreSQL, addresses, computed firewall rules, step-by-step execution.
  • Run two active instances per environment, on two nodes as soon as there are two.
  • Move an environment to a new version by rolling replacement, with no interruption for users.
  • Obtain and renew public certificates with the built-in Let’s Encrypt component.
  • Open or close a module by subscription: the change needs no restart.
  • Back up and restore, and place a load balancer or firewall in front.
  • Export a single environment to an encrypted file, hand it over through a temporary link protected by a code, or restore it alone from a dated backup, with rollback.
  • Go back to any point in time thanks to continuous archiving of the PostgreSQL cluster’s transaction logs.

Good to know

  • Each environment is a complete, isolated GUIDO installation, with its own database and role. There is no shared data.
  • Portal administration is not exposed: it is served on the local address of the portal servers, with mandatory two-step verification.
  • Switching the PostgreSQL primary causes a pause of a few seconds on writes.
  • The PostgreSQL cluster has two servers and an arbiter. If the primary fails, the secondary is promoted within a few tens of seconds, and the former primary resynchronizes by itself on its return.

Load balancer or firewall in front

Behind a load balancer that does not decrypt traffic, GUIDO would only see the relay’s address. The PROXY protocol gives it back each person’s real address.

  • Without it, sign-in and audit logs are wrong, address-based access rules do not work, and the automatic block after failed sign-ins would block the relay’s address, so everyone at once.
  • GUIDO reads versions 1 and 2 of the protocol. The header is only trusted if it comes from a declared trusted relay (address or range); from anywhere else, the connection is closed and logged. The feature is off by default.
  • It is enabled in the portal console, or in Settings, Load balancer in front for a stand-alone server: first in GUIDO, then on the relay, then you check that the real address appears in the sign-in logs. The setting applies immediately, without a restart.
  • If your firewall distributes by NAT while keeping the source address, the PROXY protocol must not be enabled: the address is already correct.
  • The page shows counters (connections with header, without header, refused, invalid) and a procedure for several common products. A health check is provided to balance between two portals.
  • Limit: nothing has been tried with a real load balancer; the protocol reader is tested on real test connections.

Portal emails: a durable sending queue

The portal does not send its emails on the fly: it places them in a durable queue shared by all portals, with retries, rate limits and a browsable log.

  • Sending settings (SMTP server, sender, limits) are shared by all redundant portals. The SMTP password is encrypted and never shown again; the connection can require STARTTLS, or implicit TLS.
  • A temporary failure is retried after 1, 5, 15 and 30 minutes, then 1, 2, 4 and 8 hours. An abandoned email writes a line to the log and warns the internal notification address. The same event never creates two emails.
  • Templates exist in French and English, with variables, a preview on sample values, a test send and a return to the delivered template. Dates are written in the recipient’s language and time zone. No password, code or token appears in a template.
  • Everything is set in the portal console, Settings, Emails tab: sending settings, templates, sending log. The SPF, DKIM and DMARC records of the sending domain must also be set so emails do not land in spam.

See GUIDO on your own case

Tell us what you manage. We prepare a demonstration around your daily work.