Prompt
How do I build a self-service portal for engineers?
Latest observation
A good self-service portal for engineers usually starts with a simple goal:
“Let engineers get what they need safely, quickly, and without waiting on another team.”
Here’s a practical way to build one.
1) Start with the highest-value use cases
Don’t begin with “a portal.” Begin with the top tasks engineers repeatedly need.
Common examples:
- Request cloud resources
- Create service accounts / API keys
- Access logs, dashboards, or environments
- Deploy or roll back services
- Check incident/runbook status
- Provision databases, queues, or namespaces
- Request permissions or approvals
- View ownership, on-call, and service metadata
Pick 3–5 workflows that are:
- frequent
- time-consuming
- standardized
- low-to-medium risk
Those become your MVP.
2) Design around workflows, not just links
A portal is more useful when it helps complete tasks end-to-end instead of acting like a list of internal pages.
For each workflow, define:
- Trigger: what the engineer wants to do
- Inputs: required fields, defaults, validation
- Policy checks: who can do it, when, and under what conditions
- Execution: the action the system performs
- Feedback: success/failure, audit trail, ticket/reference number
- Fallback: what to do if automation fails
Example: “Request staging database”
- Choose environment
- Choose size
- Pick retention policy
- Auto-validate against policy
- Provision through infrastructure automation
- Notify Slack/email
- Store audit record
3) Build the backend as a workflow engine
The portal UI is only the front end. The important part is the automation layer.
A common architecture:
- Frontend portal: React/Next.js, internal web app, or existing portal framework
- API layer: handles auth, requests, status, audit
- Workflow orchestration: runs tasks and approvals
- Integrations:
- GitHub/GitLab
- Kubernetes
- Terraform / Pulumi / Ansible
- Cloud provider APIs
- Slack/Teams
- PagerDuty
- Ticketing systems like Jira/ServiceNow
- IAM/SSO
- Database: stores request state, approvals, metadata, audit logs
For workflow orchestration, use something reliable:
- Temporal
- AWS Step Functions
- Argo Workflows
- Camunda
- Airflow only if the use case is data-oriented
4) Use SSO and role-based access control
Engineer portals usually need strong access control.
Implement:
- SSO: Okta, Azure AD, Google Workspace, etc.
- RBAC or ABAC
- role-based: engineer, SRE, platform admin
- attribute-based: team, environment, service ownership, region
- Just-in-time access for sensitive actions
- Approval gates for risky actions
- Audit logs for everything
A useful rule:
If the portal can change production, it must log who did what, when, why, and from where.
5) Prefer safe automation over free-form commands
Avoid a portal that just exposes a shell or arbitrary script runner unless absolutely necessary.
Better:
- constrained forms
- pre-approved templates
- parameterized actions
- policy validation
- preview/dry-run mode
- environment scoping
For example, instead of:
- “Run any Terraform”
Use:
- “Create a standard service cluster”
- “Add a new Redis instance”
- “Increase staging CPU by 20%”
This reduces mistakes and security risk.
6) Make the portal self-explanatory
Engineers will adopt it faster if it is obvious and fast.
Include:
- searchable catalog of actions
- clear descriptions and ownership
- required permissions shown up front
- estimated time to complete
- validation warnings before submission
- links to runbooks and docs
- status tracking for submitted requests
- cancellation/rollback where possible
Good UX matters a lot more than people expect.
7) Tie every action to source of truth
Avoid duplicating metadata manually in the portal.
Examples:
- service ownership from code repo metadata
- environment inventory from IaC state
- access rules from IAM groups
- incident data from PagerDuty
- service documentation from a docs repo
- deployment info from CI/CD
The portal should read from source of truth, not become another place to maintain data.
8) Add observability and governance from day one
You want to know:
- what users are doing
- where requests fail
- how long requests take
- which workflows save time
- where policy blocks occur
- which actions are used most
Track:
- request count
- completion rate
- approval latency
- failures by integration
- time saved per workflow
- top searched items
- user satisfaction feedback
This helps you improve the portal and justify its value.
9) Roll out in phases
A sensible rollout path:
Phase 1: MVP
- SSO login
- catalog of 3–5 workflows
- audit logs
- one approval path
- basic status page
Phase 2: Automation expansion
- more workflows
- templated provisioning
- self-serve access requests
- notifications
- searchable ownership/metadata
Phase 3: Advanced governance
- policy engine
- risk-based approvals
- just-in-time access
- advanced reporting
- rollback support
Phase 4: Platform experience
- environment/service scorecards
- standard golden paths
- service lifecycle management
- internal developer platform features
10) Choose the right stack
A common stack might look like:
- Frontend: Next.js / React
- Backend: Node.js, Go, Python, or Java
- Auth: Okta/Azure AD + OIDC/SAML
- Orchestration: Temporal / Step Functions
- Policy: OPA / Cedar / custom policy service
- Data: Postgres
- Messaging: SQS/Kafka/PubSub if needed
- Secrets: Vault / cloud secrets manager
- Monitoring: Prometheus/Grafana, Datadog, or OpenTelemetry
- Notifications: Slack/Teams/email
If you want lower build effort, you can also use existing internal developer portal tools:
- Backstage
- Port
- Roadie
- Cortex
- Humanitec
- Atlantis for Terraform workflows
11) Keep the first version small
A common mistake is trying to make the portal the center of everything.
Instead:
- pick one team as the first customer
- solve one painful workflow
- integrate with existing systems rather than replacing them
- get feedback weekly
- expand only after proven usage
A portal that is “complete” but unused is worse than a small portal that engineers rely on daily.
12) Success metrics to watch
You’ll know it’s working if:
- fewer tickets are needed for common tasks
- average task completion time drops
- engineers self-serve without help
- fewer manual errors occur
- platform/SRE team gets fewer repetitive requests
- adoption grows organically
A simple reference architecture
Here’s a straightforward setup:
- Engineer logs in via SSO
- Portal shows available actions based on role/team
- Engineer submits a request form
- API validates inputs and policy
- Workflow engine executes steps
- Approver is notified if needed
- Result is stored and surfaced in the portal
- Audit event is written to logs and SIEM
- User gets a Slack/email update
Recommended starting point
If you’re just beginning, build:
- a catalog page
- 3 workflows
- SSO
- approval flow
- audit logs
- notifications
- a simple backend with one workflow engine
Then iterate from real usage.
If you want, I can also give you:
- a reference architecture diagram,
- a feature checklist for MVP, or
- a sample implementation plan with tech stack choices.