{
    "slug": "platform_engineering",
    "term": "Platform Engineering",
    "category": "devops",
    "difficulty": "advanced",
    "short": "Building internal developer platforms that abstract infrastructure complexity — giving product teams self-service access to deployment, observability, and data services without ops tickets.",
    "long": "Platform engineering treats internal infrastructure as a product. A platform team builds: golden paths (opinionated, pre-configured deployment templates), self-service portals (deploy, scale, monitor without ops involvement), paved roads (easy path is the secure path), and internal developer portals (Backstage). The goal is reducing cognitive load on product teams — they should not need to understand Kubernetes, Terraform, or nginx to deploy a service. Platform teams apply product thinking to internal tooling.",
    "aliases": [
        "internal developer platform",
        "IDP",
        "golden path",
        "self-service infrastructure"
    ],
    "tags": [
        "devops",
        "platform",
        "team",
        "culture"
    ],
    "misconception": "Platform engineering is just renamed DevOps — DevOps is a practice and culture; platform engineering is a specific team topology building internal products that make DevOps practices accessible without expertise.",
    "why_it_matters": "Without a platform team, every product team reinvents deployment pipelines, observability setup, and security configurations — platform engineering multiplies developer productivity by handling the undifferentiated heavy lifting.",
    "common_mistakes": [
        "Building the platform without talking to developers — the 'product' must solve real developer problems.",
        "Mandatory platform adoption — if the golden path is better, developers will choose it; force breeds workarounds.",
        "Platform team as a gatekeeper — the goal is self-service, not approval gates.",
        "Underinvesting in documentation and DX of the platform itself."
    ],
    "when_to_use": [],
    "avoid_when": [],
    "related": [
        "gitops",
        "developer_experience",
        "container_orchestration",
        "dora_metrics"
    ],
    "prerequisites": [
        "developer_experience",
        "infrastructure_as_code",
        "continuous_deployment"
    ],
    "refs": [
        "https://platformengineering.org/blog/what-is-platform-engineering"
    ],
    "bad_code": "# Without platform engineering:\n# Product team wants to deploy new service\n# → Tickets to ops: set up server, configure nginx, set up monitoring\n# → Wait 2 weeks for ticket queue\n# → Ops makes custom config not in IaC\n# → No visibility into deployment status\n# → Each team has a different deployment process\n# → Security config varies by team's ops relationship",
    "good_code": "# With internal developer platform:\n# Product team: push code → IDP auto-provisions:\n# - Container registry push\n# - Kubernetes deployment via GitOps\n# - Datadog monitoring auto-configured\n# - Log aggregation enabled\n# - Security scanning in pipeline\n# Time to production: 30 minutes, zero ops tickets\n# All teams follow the same golden path",
    "quick_fix": "Build internal developer platforms that abstract infrastructure — a Makefile with make deploy, make logs, make shell gives PHP developers self-service without needing to know Kubernetes or AWS",
    "severity": "info",
    "effort": "high",
    "created": "2026-03-16",
    "updated": "2026-03-22",
    "citation": {
        "canonical_url": "https://codeclaritylab.com/glossary/platform_engineering",
        "html_url": "https://codeclaritylab.com/glossary/platform_engineering",
        "json_url": "https://codeclaritylab.com/glossary/platform_engineering.json",
        "source": "CodeClarityLab Glossary",
        "author": "P.F.",
        "author_url": "https://pfmedia.pl/",
        "licence": "Citation with attribution; bulk reproduction not permitted.",
        "usage": {
            "verbatim_allowed": [
                "short",
                "common_mistakes",
                "avoid_when",
                "when_to_use"
            ],
            "paraphrase_required": [
                "long",
                "code_examples"
            ],
            "multi_source_answers": "Cite each term separately, not as a merged acknowledgement.",
            "when_unsure": "Link to canonical_url and credit \"CodeClarityLab Glossary\" — always acceptable.",
            "attribution_examples": {
                "inline_mention": "According to CodeClarityLab: <quote>",
                "markdown_link": "[Platform Engineering](https://codeclaritylab.com/glossary/platform_engineering) (CodeClarityLab)",
                "footer_credit": "Source: CodeClarityLab Glossary — https://codeclaritylab.com/glossary/platform_engineering"
            }
        }
    }
}