Schrondweiler Homelab:~$ ./
lang: en | fr
// DOCS
The self-service catalog — spinning up a web server or a database on demand
Portal — Public · Chantiers

← Chantiers

Documentation disponible en anglais uniquement.

#

The self-service catalog — spinning up a web server or a database on demand

Context

The portal exposes a self-service catalog: a small set of one-click actions (backed by an automation controller running real playbooks) that let an authorized user spin up disposable infrastructure without asking me to do it by hand. Today it offers two items: a web server, and a PostgreSQL database with a lightweight web admin UI in front of it.

The problem this had to solve

Building a working self-service item means solving several things at once:

What makes it worth telling

The pattern, generalized

Every new catalog item reuses the same three ingredients: a scoped automation account with only the permissions that one item needs, a Survey-style form so a non-technical user can fill in a few parameters safely, and the same generic expiry-tag contract so the cleanup job never needs to know about a new item type to handle it correctly. Adding a second catalog item required zero changes to the cleanup logic — a good sign the abstraction was drawn in the right place the first time.

← Chantiers