What Is Platform Engineering? Secure Self-Service for DevOps
Platform engineering is the practice of building an internal platform that gives development teams self-service access to the infrastructure, pipelines and tools they need, with security and compliance built in.
Topic: DevOps & Platform Engineering in IT Infrastructure · Explainer
Also covers: Cloud & Container Security
Quick answer: Platform engineering is the practice of building an internal platform that gives development teams self-service access to the infrastructure, pipelines and tools they need, with security and compliance built in. Instead of each team assembling its own CI/CD, Kubernetes setup and cloud accounts, a platform team offers tested "golden paths": templates and APIs that create a new service, pipeline, database or environment in minutes, already configured with logging, scanning, secrets management and policy guardrails. It extends DevOps by reducing the cognitive load on product teams.
Key takeaways
- A platform is a product for internal developers, with users, feedback and a roadmap.
- Golden paths make the secure, compliant way the easiest way.
- Security moves from review gates into templates and policy as code.
- Backstage, Crossplane, Argo CD and Kyverno are common open source building blocks.
- Measure success by developer adoption and DORA metrics, not by features shipped.
Table of Contents
- What Is Platform Engineering?
- Why Has It Grown Out of DevOps?
- What Does an Internal Developer Platform Include?
- How Does a Platform Make Infrastructure Secure by Default?
- What Does a Golden Path Look Like?
- How Do You Measure Platform Maturity?
- What Are Common Pitfalls?
- How Do You Start Building a Platform?
- What Do Cloud Providers Offer for Platform Teams?
- References
What Is Platform Engineering?
The CNCF Platforms white paper describes a platform as an integrated collection of capabilities, documented and presented so that users can consume them through self-service. Platform engineering is the discipline of building and running that platform. Team Topologies calls the owning group a platform team, whose job is to make stream-aligned product teams faster.
Why Has It Grown Out of DevOps?
"You build it, you run it" gave product teams ownership, but also asked every developer to master Kubernetes, Terraform, cloud IAM, observability and security scanning. Teams built the same pipelines repeatedly and inconsistently. Platform engineering centralises that common work while keeping ownership with product teams. DORA now lists platform engineering as a capability, noting that a platform must be built around user needs to help.
What Does an Internal Developer Platform Include?
| Capability | Examples |
|---|---|
| Developer portal and service catalogue | Backstage |
| Templates and scaffolding | Backstage Software Templates, cookiecutter |
| CI/CD | GitHub Actions, GitLab CI, Tekton |
| Deployment (GitOps) | Argo CD, Flux |
| Infrastructure provisioning | Terraform modules, Crossplane |
| Runtime | Managed Kubernetes, serverless |
| Secrets | Vault, External Secrets Operator, cloud secret managers |
| Policy and guardrails | Kyverno, OPA Gatekeeper |
| Observability | OpenTelemetry, Prometheus, Grafana |
How Does a Platform Make Infrastructure Secure by Default?
- Templates include security: every new service starts with dependency scanning, SAST, image signing and non-root containers.
- Policy as code: admission policies reject workloads that break rules, such as privileged pods or images from untrusted registries.
- Managed secrets: services receive secrets from a vault; developers never handle production credentials.
- Pre-approved infrastructure: Terraform modules or Crossplane compositions create databases already encrypted, private and backed up.
- Central logging: audit and application logs flow to the SIEM automatically.
A Kyverno policy that blocks containers running as root across the cluster:
apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
name: require-non-root
spec:
validationFailureAction: Enforce
rules:
- name: run-as-non-root
match:
any:
- resources: { kinds: [Pod] }
validate:
message: "Containers must run as non-root."
pattern:
spec:
securityContext:
runAsNonRoot: true
What Does a Golden Path Look Like?
A developer opens the portal, chooses "New Python API", enters a name and team. The template then:
- Creates a repository with a starter app, Dockerfile, tests and README.
- Adds a CI pipeline with tests, scanning and signed image builds.
- Registers the service in the catalogue with its owner and on-call rota.
- Creates Kubernetes manifests in the GitOps repository so Argo CD deploys it to development.
- Provisions dashboards and alerts.
The developer writes business logic on day one, and the service meets security standards without a separate review.
How Do You Measure Platform Maturity?
The CNCF maturity model looks at investment, adoption, interfaces, operations and measurement, from provisional to optimising. Practical metrics:
- Share of services created through golden paths.
- Time for a new team to deploy its first service.
- DORA metrics for teams using the platform.
- Developer satisfaction surveys.
- Policy violations caught before production.
What Are Common Pitfalls?
- Building a platform nobody asked for; interview developers first.
- Making golden paths mandatory before they are better than the alternatives.
- A platform team that becomes a ticket queue, the silo DevOps tried to remove.
- Hiding so much that teams cannot debug their own services.
Related: DevOps security practices and DevOps culture. WebAsha offers Kubernetes and DevOps training.
How Do You Start Building a Platform?
- Interview product teams about their slowest, most error-prone tasks.
- Choose one golden path with the biggest pay-off, often "create and deploy a new service".
- Build it on existing tools: a template repository, a reusable CI workflow and a Helm chart.
- Document it, measure adoption and collect feedback.
- Add a portal only when there are enough capabilities to present.
A reusable GitHub Actions workflow is a simple first platform capability. Product repositories call it instead of copying pipeline code:
# In a product repository: .github/workflows/ci.yml
jobs:
build:
uses: my-org/platform-workflows/.github/workflows/build-scan-sign.yml@v3
with:
image-name: orders-api
secrets: inherit
See GitHub's documentation on reusing workflows. Security fixes to the shared workflow then reach every service at once.
What Do Cloud Providers Offer for Platform Teams?
| Provider | Relevant services |
|---|---|
| AWS | AWS Service Catalog, Proton, Control Tower for account guardrails |
| Microsoft Azure | Azure Deployment Environments, Azure Policy, Dev Center |
| Google Cloud | Config Sync, Policy Controller, Cloud Deploy |
| Kubernetes | Pod Security Admission, namespaces and RBAC for team isolation |
These services handle guardrails at the cloud level, while the internal platform presents them to developers in a consistent way.
References
- CNCF, Platforms white paper
- CNCF, Platform Engineering Maturity Model
- Backstage, What is Backstage?
- DORA, Platform engineering
- Crossplane documentation
- Kyverno documentation
- GitHub Docs, Reusing workflows
- AWS Service Catalog
- Microsoft Learn, Azure Deployment Environments
- Kubernetes, Pod Security Admission
Frequently Asked Questions
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Wow
0
Sad
0
Angry
0