1. Understand the Goal: The user wants to design a "Developer Experience Portal" (DevEx Portal) that specifically surfaces three types of content:
* Runbooks: Operational guides for handling incidents or routine tasks.
* Golden Paths: Templated, approved workflows for creating new services (scaffolding), ensuring best practices by default.
* Architecture Diagrams: Visual representations of systems, dependencies, and data flows.
-
Identify the User & Context:
- User: Likely a Platform Engineer, Product Manager, or Tech Lead responsible for internal developer platforms.
- Context: They need a high-level design concept, feature list, information architecture, and potentially some UI/UX suggestions. They want to know how to build or structure this.
-
Key Components of the Request:
- Runbooks: Need to be actionable, discoverable, and context-aware.
- Golden Paths: Need to be easy to start (scaffolding) and opinionated but flexible.
- Architecture Diagrams: Need to be live/interactive (not just static images) and linked to the catalog.
-
Structure the Solution: A good design proposal should follow a logical flow:
- Concept/Vision: What is this portal? (The "Internal Developer Platform" front door).
- Core Pillars (The 3 requirements): Deep dive into each.
- Information Architecture (IA): How is it organized?
- Key Features/UI Elements: What does it look like/feel like?
- Technical Stack (Briefly): How might it be built? (Backstage is the standard here).
- Success Metrics: How do we know it works?
-
Drafting Content - Section by Section:
-
Introduction: Call it the "Internal Developer Portal." It's the one-stop shop.
-
Pillar 1: The "Golden Paths" (Creation):
- Concept: Paved roads. Opinionated defaults.
- Features: Software Templates (Backstage terminology). "Create New Service" buttons. Pre-configured CI/CD, observability, security.
- UX: A "App Store" like experience for infrastructure.
-
Pillar 2: Architecture Diagrams (Understanding):
- Concept: Dynamic visualization.
- Problem: Static diagrams in Confluence are always out of date.
- Solution: Live entity relationships. Ingest data from Kubernetes, cloud providers, etc.
- UX: Interactive graph. Click a node (service) -> see its runbooks. Zoom in/out.
-
Pillar 3: Runbooks (Operations):
- Concept: "Break glass in case of emergency."
- Integration: Don't just store text. Link to tools (PagerDuty, Grafana).
- Context: When an alert fires, show the specific runbook for that service.
-
Information Architecture (IA) / Layout:
- Home: Personalized dashboard (My Services, Active Incidents).
- Catalog: The directory of all software.
- Create: The Golden Paths entry point.
- Explore: The visual graphs.
-
The "Connective Tissue" (Crucial Step):
- The magic isn't just having these three things; it's linking them.
- Scenario: An alert comes in -> Link to the Diagram (where is it?) -> Link to the Runbook (how to fix?).
- Scenario: Creating a service -> Automatically generates the Diagram and the Skeleton Runbook.
-
Tech Stack:
- Mention Backstage: It's the industry standard for this.
- Alternatives: Port, Cortex, or custom build.
-
Refining the Design (UI/UX thoughts):
- Visuals: Clean, dark mode friendly (devs love dark mode), minimal clicks.
- Search: The most important feature. "Search for 'payments'..."
-
Review and Polish:
- Did I cover all three requirements? Yes.
- Is it actionable? Yes, described features and architecture.
- Is the tone appropriate? Professional and technical.
(Self-Correction during drafting): Initially, I might just list them separately. But the real value is integration. I need to emphasize that the Architecture Diagram is the map, the Runbook is the manual, and the Golden Path is the starting line. They must be interconnected via a Software Catalog.
-
Final Output Generation: (This aligns with the structured response provided previously, organizing into Vision, Components, IA, and Implementation.)
Designing a Developer Experience (DevEx) Portal requires shifting away from a static "Wiki" mindset to a dynamic "Platform Engineering" mindset. The goal is to create a single pane of glass that reduces cognitive load.
Here is a comprehensive design proposal for a DevEx Portal focusing on Runbooks, Golden Paths, and Architecture.
1. The Core Philosophy: "The Three Layers of Context"
The portal should be organized by the developer's immediate need:
- Creation (Golden Paths): "I need to start something new."
- Understanding (Architecture): "I need to understand how this fits together."
- Resolution (Runbooks): "Something is broken, how do I fix it?"
2. Information Architecture (The Navigation)
Global Sidebar:
- Home: Personalized dashboard (Your services, active incidents).
- Software Catalog: Searchable list of all services/resources.
- Golden Paths (Create): Scaffolding templates.
- Explorer (Visualize): Architecture and dependency graphs.
- Operations (Resolve): Runbooks and monitoring links.
- Docs: Static technical documentation.
3. Detailed Component Design
A. Golden Paths (The "App Store" for Infrastructure)
Concept: Curated, self-service templates that enforce best practices.
UI/UX Design:
- The Showcase: A card-based grid similar to a cloud marketplace.
- Filtering: By Language (Go, Python, TS), by Type (Microservice, Data Pipeline, Mobile App), and by Maturity (Beta, Stable, Deprecated).
- The "Start" Flow: A wizard-style interface.
- Step 1: Name your service and select repo.
- Step 2 (Optional): Select infrastructure addons (e.g., "Include Redis?", "Add S3 bucket?").
- Step 3: PR generated automatically to the user's repo.
Key Features:
- Opinionated Defaults: Pre-wired CI/CD pipelines, linting rules, and Dockerfiles.
- "Eject" Button: Allow advanced users to fork the template if the Golden Path is too restrictive (tracks deviation for governance).
B. Architecture Diagrams (The Live Explorer)
Concept: Moving from static Visio diagrams to dynamic, queryable service maps.
UI/UX Design:
- The Canvas: An interactive, zoomable node graph (React-Flow or Cytoscape).
- Context Awareness: Clicking a node (e.g., "Payment Service") opens a side drawer with metadata, not a new page.
- Layer Toggle: Buttons to switch views:
- Logical: High-level business domains.
- Physical: Kubernetes Pods/Deployments.
- Data: Database and cache connections.
Key Features:
- Real-time Overlays: Overlay "Health" (Red/Green nodes based on PagerDuty status) or "Security" ( vulnerabilities detected) directly onto the diagram.
- "Trace This": A button to launch a distributed trace (e.g., Jaeger/Datadog) specifically for that service.
C. Runbooks (Contextual Operations)
Concept: Operational knowledge attached directly to the service, not hidden in a wiki.
UI/UX Design:
- The "Emergency Card": When viewing a Service in the Catalog, the Runbook is the first thing visible.
- Executable Steps: Runbooks should be a mix of Markdown and Interactive Buttons.
- Static: "Check the logs in Splunk."
- Interactive: A button that says "Restart Pod" that triggers a Jenkins/Gitlab job via API.
Key Features:
- Automated Diagnosis: "Traffic Anomaly Detected" runbook that automatically graphs the last 1 hour of traffic.
- Fingerprinting: Tags for runbooks (e.g.,
#latency, #database-lock) so developers can search by symptom.
4. The "Super Page": The Service Entity View
This is the most critical screen. When a developer searches for "Order-Service," this is what they see.
Layout:
| Header | Tabs (Overview | CI/CD | Metrics | Runbooks | Dependencies) |
| :--- | :--- |
| Left Column (Context) | Right Column (Action/Visuals) |
| Status: 🟢 Healthy Repo: github.com/... Owner: Team Checkout Tags: Tier-1, PCI | Mini Architecture Diagram: A small widget showing the connections immediately surrounding this service (Upstream/Downstream). "Fast Actions": [Rollback] [Scale Up] [View Logs] |
| Current Runbook: "Handling High Latency" (Highlight this if alerting is firing). | Deployment History: Timeline of the last 3 deploys. |
5. Technical Implementation Strategy
To build this, you should leverage an existing ecosystem rather than building from scratch.
Recommended Stack:
- Core Framework: Backstage (Spotify).
- Why: It is the industry standard for Developer Portals.
- Implementation: It handles the "Software Catalog" and "Golden Paths" (Software Templates) natively.
- Visualization: Backstage TechDocs + Custom Plugins.
- Use Mermaid.js or PlantUML for architecture diagrams checked into the code repo.
- Alternatively, use the KubeView plugin for live cluster visualization.
- Runbooks: Cortex or Keep (open source).
- Integrate these into Backstage as tabs or widgets.
- Golden Path Scaffolding: Cookiecutter or Hygen.
- Used by Backstage to generate code.
Data Flow Diagram
[Developer] --> [Portal UI]
|
+-> [Search "Order Service"]
| |
| +-> Fetch Metadata (Backstage Catalog - YAML files in Git)
| +-> Fetch Live Status (Prometheus/Datadog API)
| +-> Fetch Runbook (Confluence/GitHub Markdown)
|
+-> [View Architecture]
| |
| +-> Parse Source Code/CI Config (Entity Context)
| +-> Generate Dynamic Graph (D3.js/React-Flow)
|
+-> [Click "Restart" on Runbook]
|
+-> POST Request -> [CI/CD System] -> [Kubernetes/API]
6. Developer Experience Principles (The "Do's and Don'ts")
- Don't build a Walled Garden: The portal should be a dashboard that links out to the source of truth. If a developer clicks "View Logs," take them to Splunk. Don't try to build a log viewer inside the portal.
- Docs as Code: Architecture diagrams and Runbooks should live in the application's Git repository. This ensures the documentation updates with the code via Pull Requests.
- Day 2 Operations Focus: Most portals focus on "Day 1" (Creating services). Focus your value proposition on "Day 2" (Maintaining, understanding, and fixing them).
7. Wireframe: The "Home" Dashboard
Imagine a clean, dark-mode interface:
- Top Bar: Global Search ("Search services, runbooks, or create new...").
- Left Nav: Catalog | Create (Golden Path) | Explore | Settings.
- Main Panel:
- Section 1: My Services. Cards for the services you own. Red dot indicates active incident.
- Section 2: Golden Path Shortcuts. "Create New Microservice (Go)" button.
- Section 3: Organization Health. A small traffic light indicator showing the overall health of the architecture map.