Building GetSol IDP V2: An Enterprise GitOps Internal Developer Platform on AWS
GetSol IDP V2: An enterprise-grade, GitOps-driven Internal Developer Platform, engineered by Muhammad Zubair.
Modern engineering organizations frequently hit an invisible velocity ceiling: developer ticket friction. While cloud platforms provide immense power, product developers are often trapped waiting days for operations teams to provision cloud infrastructure, forced to master hundreds of lines of complex Terraform and Kubernetes manifests, or navigating the constant risk of un-tagged resources and runaway AWS bills.
To permanently bridge this gap, I engineered GetSol IDP V2—an enterprise-grade, GitOps-driven Internal Developer Platform acting as a centralized control plane for zero-YAML self-service cloud infrastructure provisioning across AWS RDS (PostgreSQL/MySQL), AWS EC2 Compute, and AWS S3 Storage.
By pairing a lightweight Kubernetes control plane (K3s) with Argo CD, Crossplane Compositions (XRDs), Kyverno Policy-as-Code, and Spotify Backstage, GetSol V2 eliminates ticketing bottlenecks, enforces shift-left FinOps cost controls, and guarantees production safety through automated environment-driven lifecycle guardrails.
The Tech Stack: The Modern Cloud Platform Matrix
Engineering an enterprise platform requires a decoupled, declarative architecture where each layer has a distinct responsibility. Every platform component is reconciled continuously against Git as the single source of truth.
| Layer | Technology Used | Enterprise Role / Capability |
| :--------------------- | :------------------------------ | :---------------------------------------------------- |
| **Self-Service Portal**| GetSol V2 Custom Web Portal | Zero-YAML self-service UI with FinOps pricing & Day-2 ops|
| **Service Catalog** | Spotify Backstage (:30070) | Centralized service registry & cloud dependency graph |
| **GitOps Engine** | Argo CD (App-of-Apps) | Continuous reconciliation, self-healing, drift shield |
| **Cloud Control Plane**| Crossplane & Upbound AWS Family | Declarative Custom Resource Definitions (XRDs) for AWS |
| **Policy & FinOps** | Kyverno Admission Controller | Automated team quota enforcement & mandatory metadata |
| **Runtime Infrastructure**| Rancher K3s, AWS EC2, Ubuntu 22.04| Production-grade lightweight Kubernetes host runtime |
| **Cloud Workloads** | Containerized Microservices | High-availability backend wired directly to RDS |
Platform Architecture & Closed-Loop GitOps Reconciliation
The platform establishes an end-to-end, deterministic reconciliation loop connecting developer intent, policy admission webhooks, and live cloud providers:
[ Developer ]
│
┌───────────────────┴───────────────────┐
│ Interacts via Web UI (Zero YAML) │
▼ ▼
┌─────────────────────────────┐ ┌─────────────────────────────┐
│ GetSol V2 Developer Portal │ │ Spotify Backstage Catalog │
│ (Port 30080) │ │ (Port 30070) │
│ - Dropdowns: RDS, EC2, S3 │ │ - Service & System Graph │
│ - FinOps Cost Estimation │ │ - Microservice Inventory │
│ - Day-2 Decommissioning │ │ - Cloud Dependency Map │
└──────────────┬──────────────┘ └──────────────┬──────────────┘
│ │
▼ (Submits Declarative Claim) │
┌──────────────────────────────────────────────────────┴──────────────┐
│ KUBERNETES CONTROL PLANE │
│ │
│ ┌───────────────────────────────────────────────────────────────┐ │
│ │ 🛡️ KYVERNO ADMISSION CONTROLLER (Policy-as-Code) │ │
│ │ - Enforces mandatory ownership metadata labels │ │
│ │ - Evaluates FinOps Team Quotas (Blocks > 2 DBs per team) │ │
│ │ - Intercepts CREATE operations; allows background syncs │ │
│ └───────────────────────────────┬───────────────────────────────┘ │
│ │ Approved │
│ ▼ │
│ ┌───────────────────────────────────────────────────────────────┐ │
│ │ 🔄 ARGO CD GITOPS ENGINE (App-of-Apps Pattern) │ │
│ │ - Continuously reconciles cluster state against Git │ │
│ │ - Automated self-healing (reverses manual cluster drift) │ │
│ └───────────────────────────────┬───────────────────────────────┘ │
│ │ Synchronized │
│ ▼ │
│ ┌───────────────────────────────────────────────────────────────┐ │
│ │ ☁️ CROSSPLANE COMPOSITIONS & XRDS │ │
│ │ - Custom APIs: xdatabases.getsol.io, xvms.getsol.io │ │
│ │ - Day-2 Guardrails: dev -> Delete, prod -> Orphan │ │
│ └───────────────────────────────┬───────────────────────────────┘ │
│ │ │
│ ┌───────────────────────────────┴───────────────────────────────┐ │
│ │ 📦 DEVELOPER WORKLOAD RUNTIME │ │
│ │ - getsol-backend-service (High-Availability Replicas) │ │
│ │ - Automatically wired to provisioned AWS RDS endpoints │ │
│ └───────────────────────────────────────────────────────────────┘ │
└──────────────────────────────────┬──────────────────────────────────┘
│ AWS Provider API (us-east-1)
▼
┌─────────────────────────────────────────────────────────────────────┐
│ AMAZON WEB SERVICES (AWS) │
│ │
│ 🗄️ AWS RDS: PostgreSQL 16 / MySQL managed engines │
│ 💻 AWS EC2: Ubuntu 22.04 LTS Compute instances │
│ 🪣 AWS S3: Multi-region encrypted cloud object storage │
└─────────────────────────────────────────────────────────────────────┘
Core Pillars of GetSol IDP V2
1. Zero-YAML Multi-Resource Developer Portal (:30080)
Developers no longer write raw YAML manifests or wait on infrastructure tickets. Through an intuitive, dark-mode self-service interface, developers select resource parameters through dropdowns (e.g., PostgreSQL 16 on db.t3.micro), preview live monthly FinOps burn estimates before deploying, and receive real-time connection endpoints once AWS finishes provisioning.
2. Cloud Abstraction via Crossplane Compositions (XRDs)
Instead of exposing raw AWS VPC subnet IDs, route tables, and security groups to developers, GetSol V2 abstracts them into company-standard APIs (xdatabases.getsol.io and xvirtualmachines.getsol.io). A developer specifies only 5 intent-driven properties: engine, instance tier, storage capacity, environment, and ownership. Crossplane automatically binds the underlying AWS network topology, parameter groups, and master secret generation.
3. Shift-Left FinOps & Admission Quotas (Kyverno)
To combat forgotten test instances and runaway cloud costs, Kyverno acts as an in-cluster financial guardrail. Before any database claim reaches Crossplane or AWS, Kyverno queries the Kubernetes API in real time. If a team already owns 2 active databases, Kyverno rejects the request at admission time with an actionable cost-control message, saving company cloud spend automatically.
4. Enterprise Day-2 Lifecycle Guardrails (Dev vs. Prod)
Accidental infrastructure deletion is an operational nightmare. GetSol V2 dynamically calculates deletion policies based on the target environment:
devEnvironment (deletionPolicy: Delete): When a developer decommissions a test instance from the portal, Crossplane instructs AWS to terminate the database immediately, bringing resource waste down to $0.prodEnvironment (deletionPolicy: Orphan): If a production database claim is accidentally deleted from Kubernetes, the safety lock preserves the live AWS database and customer storage volumes, averting catastrophic data loss.
5. Centralized Software Catalog (Spotify Backstage :30070)
Through native Backstage integration, every provisioned microservice (getsol-backend-service), cloud resource (Production PostgreSQL 16 Database), and owning team (Backend Engineering Team) is registered in a single catalog. Engineers can visually inspect dependencies in a unified graph, eliminating mystery infrastructure.
Visual Tour & Production Verification
1. The GetSol V2 Multi-Resource Developer Portal
The developer self-service UI featuring tabbed provisioning for AWS RDS, AWS EC2, and AWS S3, with live status indicators and real-time AWS endpoints.
2. Kyverno FinOps Team Quota Policy Blocking Excess Database
Real-time demonstration of Kyverno evaluating live team quotas. When team-backend attempts to provision a 3rd database, the admission webhook intercepts and denies the request before it reaches AWS.
3. Spotify Backstage Service Catalog & Dependency Graph
The live Spotify Backstage catalog displaying getsol-backend-service and its explicit architectural dependency on the provisioned production PostgreSQL 16 database.
4. Argo CD App-of-Apps GitOps Dashboard
The Argo CD control plane maintaining 100% synchronization and automated self-healing across platform modules (backstage, crossplane, kyverno, and developer workloads).
5. Live AWS Management Console Verification
Direct verification of cloud infrastructure provisioned in AWS us-east-1, triggered natively by the Kubernetes control plane.
6. Live Containerized Backend Microservice
The live microservice running in high availability across multiple replicas, connected to the provisioned AWS RDS database.
Engineering War Stories: Battle-Testing & Midnight Recovery
Enterprise systems prove their value when things break. During the architectural hardening of GetSol V2, I executed live failure drills to test platform resilience:
War Story 1: The Kyverno Admission Controller Deadlock
- The Incident: During live stress-testing, database claims became stuck in
SYNCED: Falsewith Crossplane retrying over 1,500 times. - Root-Cause Analysis: Running
kubectl describe database.getsol.iorevealed that Kyverno's quota policy matched bothCREATEandUPDATEoperations without distinction. When Crossplane attempted to update an existing database with status metadata, Kyverno counted the team's existing databases, evaluatedcount >= 2, and blocked Crossplane's background controller. - The Engineering Fix: I updated the Kyverno
ClusterPolicyto scope evaluation strictly tooperations: [CREATE]. This allowed Crossplane background reconciliation updates to execute without friction while continuing to block developers attempting to spawn excess resources:
apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
name: limit-team-databases
spec:
validationFailureAction: Enforce
background: false
rules:
- name: check-database-quota
match:
any:
- resources:
kinds:
- getsol.io/v1alpha1/Database
operations:
- CREATE
context:
- name: currentCount
apiCall:
urlPath: "/apis/getsol.io/v1alpha1/namespaces/default/databases"
jmesPath: "items[?metadata.labels.\"getsol.io/owner\" == '{{ request.object.metadata.labels.\"getsol.io/owner\" }}'] | length(@)"
validate:
message: "Cost Control Policy: Team '{{ request.object.metadata.labels.\"getsol.io/owner\" }}' has already reached the maximum limit of 2 databases."
deny:
conditions:
all:
- key: "{{ currentCount }}"
operator: GreaterThanOrEquals
value: 2
War Story 2: Testing the Production Accidental Deletion Drill
- The Chaos Drill: To verify data loss prevention, I provisioned
zynex-prod-dbwithenvironment: prodand deliberately deleted the Kubernetes database claim. - The Result: The Kubernetes custom resource was removed from
etcd, but Crossplane honoreddeletionPolicy: Orphan. In the AWS Management Console (us-east-1), the underlying PostgreSQL instance (db-V574RNDDBZYSR4BOBSDW2YTHQ4) remained inAvailablestatus with 100% data integrity preserved. - The Recovery Path: Demonstrated that platform engineers can re-adopt orphaned live cloud infrastructure back into the control plane using Crossplane's
crossplane.io/external-nameannotation without re-creating or wiping live data.
War Story 3: GitOps Automated Self-Healing Against Manual Drift
- The Chaos Drill: Simulating unauthorized cluster tampering, I scaled the backend microservice deployment down to 0 replicas directly using
kubectl scale deployment getsol-backend-api --replicas=0. - The Result: Argo CD detected the configuration drift between Git (
replicas: 2) and live cluster state (replicas: 0). The GitOps self-healing engine overrode the manual change, restoring the high-availability pods to running status within 17 seconds.
The Operational Midnight Runbook
For on-call platform engineers managing GetSol V2, this 2-minute diagnostic flow provides instant visibility during P1 incidents:
# 1. Check all core platform control plane pods
kubectl get pods -n crossplane-system
kubectl get pods -n argocd
kubectl get pods -n kyverno
# 2. Check for out-of-sync or degraded GitOps applications
kubectl get applications.argoproj.io -n argocd \
-o custom-columns=NAME:.metadata.name,SYNC:.status.sync.status,HEALTH:.status.health.status
# 3. Identify desynchronized or stuck Crossplane claims
kubectl get databases.getsol.io -A
# 4. Inspect detailed reconcile error events
kubectl describe database.getsol.io <FAILED_DATABASE_NAME>
Future Horizon: GetSol V3 Roadmap
With V2 delivering full zero-YAML self-service across compute, databases, and storage, the platform's architectural evolution continues toward V3:
- Dynamic IAM Role Provisioning: Implement Crossplane IRSA (IAM Roles for Service Accounts) compositions to automatically generate least-privilege AWS IAM policies per microservice.
- Backstage Scaffolder Templates: Fully wire the GetSol V2 provisioning forms directly into Backstage Golden Path templates for single-click microservice creation with pre-wired CI/CD and databases.
- OpenTelemetry Full-Stack Tracing: Deploy cluster-wide distributed tracing connecting the Developer Portal, Kubernetes workloads, and AWS managed service telemetry into a unified Grafana dashboard.
The Business & Engineering Impact
GetSol IDP V2 illustrates how thoughtful platform engineering transforms modern engineering organizations. By uniting declarative GitOps, policy-as-code guardrails, and self-service abstractions, companies can eliminate infrastructure ticketing queues, achieve bulletproof FinOps governance, and empower developers to move at maximum velocity with complete production safety.
About the Developer
I am Muhammad Zubair, a Software Engineer from Pakistan specializing in cloud-native infrastructure, Kubernetes, and enterprise platform engineering. I build resilient, automated platforms that solve complex distributed systems challenges.
- GitHub: github.com/Muhammad-Zubair796
- LinkedIn: Connect with me on LinkedIn
- Portfolio: mzubair.online
- Project Repository: GetSol IDP V2 on GitHub