Prompt
How should I design an internal developer portal for a company with lots of microservices and multiple teams?
Latest observation
Design it around one goal: make the path of least resistance the right path for developers operating microservices at scale.
A good internal developer portal should reduce “search, ask, and copy-paste” work across many teams by giving people a single, trusted place to discover services, understand ownership, see operational health, and perform common tasks.
Core principles
-
Developer-centric, not platform-centric
- Optimize for common workflows:
- “What service owns this?”
- “How do I deploy or roll back?”
- “Who do I ask?”
- “Is this service healthy?”
- “What changed recently?”
- Avoid turning the portal into a dumping ground for documentation.
- Optimize for common workflows:
-
Use a canonical system of record
- The portal should aggregate metadata from source systems rather than manually re-entering it.
- Typical sources:
- Git repos
- CI/CD
- Kubernetes / cloud inventory
- Observability tools
- Pager/on-call systems
- Asset/CMDB or service registry
- Let automation keep ownership, service info, and status up to date.
-
Start with service catalog + ownership
- The service catalog is usually the backbone.
- Every service should have:
- Name and description
- Team owner
- Tech stack
- Repo links
- Runtime/environment links
- Dependencies
- APIs/events
- SLIs/SLOs
- Runbooks
- On-call/contact
- Lifecycle status
- If you get this right, everything else becomes easier.
-
Make standards visible and enforceable
- Define “golden paths”:
- approved templates
- deployment patterns
- logging/metrics/tracing defaults
- security checks
- service scaffolding
- Show compliance in the portal instead of relying on tribal knowledge.
- Define “golden paths”:
-
Integrate workflow, not just info
- A portal that only displays data gets ignored.
- Include actions like:
- create a service from a template
- open a deploy pipeline
- restart/scale a workload
- trigger incident or create ticket
- request access
- view logs/traces
- update service metadata via PR
Recommended portal sections
1. Home dashboard
A personalized landing page with:
- services you own
- services recently changed
- current incidents/alerts
- failed builds/deployments
- policy/compliance issues
- shortcuts to common tasks
2. Service catalog
Searchable catalog with filters:
- team
- language
- environment
- criticality
- tier
- lifecycle
- dependency
- tag
Service page should include:
- overview
- owner/team
- repo and CI/CD
- deployments and environments
- health metrics
- dependencies/upstream/downstream
- incidents and alerts
- docs/runbooks
- APIs/events
- security posture
- recent changes
3. Team pages
Each team gets a page with:
- mission
- members
- on-call
- services owned
- repositories
- dashboards
- current incidents
- engineering health indicators
- standards/compliance status
4. Golden paths / templates
Provide opinionated paths for:
- creating a new service
- adding an API
- publishing an event
- deploying to production
- adding observability
- rotating secrets
- incident response
5. Operational view
For platform and SRE users:
- service health across the fleet
- error budgets and SLOs
- alert noise
- deployment frequency
- change failure rate
- MTTR
- infrastructure capacity
- dependency risk
6. Documentation hub
Keep docs close to the catalog:
- architecture overviews
- runbooks
- ADRs
- onboarding guides
- standards
- troubleshooting
- common patterns
Docs should be:
- searchable
- linked to the relevant service/team
- versioned
- easy to update
7. Access and change management
Common requests should be self-service:
- repo access
- cloud role access
- secrets/certificates
- feature flags
- environment approvals
- database access
- service ownership transfers
Information model to define early
Create a few first-class entities and relationships:
- Service
- Team
- Repository
- Deployment
- Environment
- API / Event
- Dependency
- Runbook
- Dashboard
- Alert
- Incident
- Owner / On-call rotation
- System / domain
- Policy / standard
Relationships matter:
- service owned by team
- service deployed from repo
- service depends on other services
- service has dashboards/runbooks/alerts
- team owns multiple services
- service runs in one or more environments
This model should support queries like:
- “show all Tier-1 services with no owner”
- “show all services without SLOs”
- “which services depend on service X?”
- “which team has the most production incidents?”
UX guidelines
- Search first: people should find anything in 2–3 clicks.
- Opinionated defaults: don’t make every page customizable from scratch.
- Progressive disclosure: show summary first, details on demand.
- Trustworthy freshness indicators: show when data was last synced.
- Ownership everywhere: every page should make owner/contact obvious.
- Fast feedback loops: if a service is misconfigured, make it easy to fix.
- Avoid duplication: link to source systems rather than copying everything.
Governance and adoption
To make it work organizationally:
-
Define required metadata
- minimum fields every service must have
- ownership, repo, tier, runtime, contacts, criticality, runbook
-
Automate validation
- CI checks or catalog sync checks that reject incomplete entries
-
Assign stewardship
- platform team maintains portal framework
- each service team owns its metadata
-
Use incentives
- tie portal completeness to deployment readiness or platform self-service
-
Roll out in phases
- start with a few high-value services and teams
- expand after workflows prove useful
Typical architecture
A practical portal architecture often includes:
- Frontend portal UI
- Backend API / aggregation layer
- Metadata ingestion jobs
- Integrations/connectors for:
- GitHub/GitLab
- CI/CD
- Kubernetes
- cloud providers
- Datadog/Prometheus/Grafana
- PagerDuty/Opsgenie
- Jira/Linear
- Service registry/CMDB
- Metadata store
- Policy engine for standards/compliance
- AuthN/AuthZ integrated with SSO and RBAC/ABAC
Key design choice: the portal should be a federated layer over existing tools, not a replacement for all of them.
Metrics to track success
Measure whether the portal helps developers and platform teams:
- time to find service owner
- time to onboard a new engineer
- time to create a service
- percentage of services with complete metadata
- deployment success rate
- number of self-service actions completed
- reduction in support tickets/pings
- incident response time
- portal search success rate
- active weekly users by team
What not to do
- Don’t build a giant wiki with a prettier UI.
- Don’t centralize all updates manually.
- Don’t require platform engineers to maintain every service page.
- Don’t make the portal a clone of all existing tools.
- Don’t skip ownership and lifecycle metadata.
- Don’t ignore workflows; info alone won’t drive adoption.
A good MVP
If you’re starting from scratch, build this first:
- searchable service catalog
- team ownership pages
- service detail pages
- links to repo, CI/CD, dashboards, runbooks, on-call
- freshness/completeness indicators
- self-service metadata updates via PR
- incident/alert integration
- simple standards checks
That alone can deliver real value quickly.
If you want, I can also sketch:
- a sample data model
- a portal page wireframe
- or a build-vs-buy recommendation for tools like Backstage.