Skip to main content

GCP Infrastructure Inventory

GCP Infrastructure Inventory

Generated: 2025-12-18 Source: gcloud CLI discovery Purpose: Complete inventory of deployed CODITECT platform infrastructure


Executive Summary

CategoryStatusMonthly Cost (Est)
Primary Platform (coditect-cloud-infra)RUNNING~$150/month
Citus Distributed DB (coditect-citus-prod)RUNNING~$100/month
Pilot Environment (coditect-week1-pilot)RUNNING~$30/month
Total CODITECT InfrastructureOPERATIONAL~$280/month

Project Structure

Project IDNamePurposeDec 2025 Cost
coditect-cloud-infraCODITECT Cloud InfrastructurePrimary platform$146.58
coditect-citus-prodCODITECT Citus ProductionDistributed PostgreSQL$99.51
coditect-week1-pilotcoditect-week1-pilotBeta testing$29.45

Primary Platform: coditect-cloud-infra

GKE Cluster

PropertyValue
Namecoditect-cluster
Regionus-central1
StatusRUNNING
Node Count3
Master Version1.33.5-gke.1308000
Machine Typen1-standard-2
Networkcoditect-vpc
Subnetcoditect-subnet (10.0.0.0/24)
Private Endpoint10.0.0.2
Public Endpoint35.202.78.245
Gateway APICHANNEL_STANDARD (enabled)

Kubernetes Namespaces

NamespacePurposeStatus
coditect-appProduction workloads (FDB, API, IDE)Active
codi-workspacesDevelopment workspacesActive
argocdGitOps deploymentActive
cert-managerTLS certificatesActive
giteaSelf-hosted GitActive
ingress-nginxNGINX ingressActive

FoundationDB Cluster (coditect-app namespace)

PropertyValue
StatefulSetfoundationdb
Replicas3/3 (foundationdb-0, foundationdb-1, foundationdb-2)
Imagefoundationdb/foundationdb:7.1.38
CPU/Memory2 CPU, 4Gi per pod
Storage3x 50Gi PVC (150Gi total)
Uptime79 days (deployed Oct 1, 2025)
Servicesfdb-cluster (headless), fdb-proxy-service (LoadBalancer)
Proxy Replicas2
Internal IP10.128.0.10 (LoadBalancer)

Production Workloads (coditect-app namespace)

WorkloadTypeReplicasStatusAge
foundationdbStatefulSet3/3Running79d
coditect-api-v5Deployment3/3Running43d
coditect-combinedStatefulSet3/3Running51d
coditect-combined-hybridStatefulSet4/4Running51d
fdb-proxyDeployment2/2Running43d

Kubernetes Deployments

NamespaceDeploymentReplicasReady
argocdargocd-server11
argocdargocd-repo-server11
argocdargocd-redis11
argocdargocd-dex-server11
argocdargocd-applicationset-controller11
argocdargocd-notifications-controller11
cert-managercert-manager11
cert-managercert-manager-cainjector11
cert-managercert-manager-webhook11
giteagitea11
ingress-nginxnginx-ingress-controller11

Cloud SQL (PostgreSQL)

PropertyValue
Instancecoditect-db
VersionPostgreSQL 16
Regionus-central1
Tierdb-custom-2-8192 (2 vCPU, 8GB RAM)
Disk20 GB
Max Connections400
Networkcoditect-vpc (private)
Databasespostgres, coditect

Redis (Memorystore)

PropertyValue
Instancecoditect-redis-staging
Size1 GB
VersionRedis 7.0
StatusREADY

Networking

ResourceDetails
VPCcoditect-vpc (REGIONAL)
Subnetcoditect-subnet (10.0.0.0/24, us-central1)
Private Services10.28.0.0 (google-managed-services-coditect-vpc)

External IPs & Load Balancers

Name/TypeIP AddressStatus
coditect-auth-ip136.110.206.100RESERVED
GKE Gateway (HTTP/HTTPS)136.110.230.30IN_USE
ArgoCD Server34.46.3.31LoadBalancer
Gitea SSH104.197.69.148LoadBalancer
NGINX Ingress104.154.239.32LoadBalancer
Regional Target Pool136.114.0.156IN_USE

Secret Manager

SecretCreatedPurpose
anthropic-api-key2025-11-24Claude API access
db-password2025-11-24PostgreSQL password
firebase-service-account2025-11-24Firebase admin
jwt-secret2025-11-24JWT signing
stripe-api-key2025-11-24Payment processing

Cloud KMS

KeyringKeyPurposeCreated
coditect-license-keyslicense-signing-key-v1License signing (ASYMMETRIC_SIGN)2025-11-24

Cloud Storage

BucketLocationPurpose
coditect-cloud-infra-context-backupsUS-CENTRAL1Context DB backups

Service Accounts

EmailDisplay NameStatus
coditect-api-sa@coditect-cloud-infra.iam.gserviceaccount.comCODITECT API Service AccountActive
license-api-firebase@coditect-cloud-infra.iam.gserviceaccount.comLicense API Firebase AdminActive

Citus Distributed DB: coditect-citus-prod

GKE Cluster

PropertyValue
Namecoditect-citus-dev
Regionus-central1
StatusRUNNING
Node Count3
Master Version1.33.5-gke.1308000

Cloud SQL (Citus PostgreSQL)

PropertyValue
Instancecoditect-citus-dev
VersionPostgreSQL 16
Regionus-central1
Tierdb-custom-2-8192 (2 vCPU, 8GB RAM)
Disk50 GB
work_mem8192 KB
Max Connections100
Managed ByOpenTofu

Infrastructure Gaps Identified

Deployed but Incomplete

ComponentStatusAction Needed
PostgreSQLRunningAdd pgvector extension
Stripe SecretCreatedIntegration incomplete
Firebase SACreatedFull integration pending

Not Yet Deployed

ComponentPriorityNotes
FoundationDB ClusterP1Multi-tenant state (not found in GKE)
Identity PlatformP1User authentication
Cloud ArmorP2WAF protection
Cloud CDNP2Static asset delivery
Pub/SubP2Event streaming

Billing Summary (Dec 2025)

CODITECT Projects

ProjectCost% of Total
coditect-cloud-infra$146.5853%
coditect-citus-prod$99.5136%
coditect-week1-pilot$29.4511%
Total$275.54100%

All Projects (Dec 2025)

ProjectCost
Google-GCP-CLI$176.48
CODITECT Cloud Infrastructure$146.58
AgentFlow Production 2025$107.19
CODITECT Citus Production$99.51
AI Session Monitor$90.29
shared-git-repository-58667$77.12
Claude Dev Mobile$59.93
coditect-week1-pilot$29.45
Other projects$10.97
Total$796.52

Month-over-Month

  • November 2025: $1,987.03
  • December 2025 (partial): $796.52
  • Trend: -60% (expected with partial month)

Quick Reference Commands

# GKE credentials
gcloud container clusters get-credentials coditect-cluster --region=us-central1 --project=coditect-cloud-infra

# Connect to Cloud SQL
gcloud sql connect coditect-db --user=postgres --project=coditect-cloud-infra

# View secrets
gcloud secrets versions access latest --secret=db-password --project=coditect-cloud-infra

# ArgoCD access
kubectl port-forward svc/argocd-server -n argocd 8080:443

# Gitea access
kubectl port-forward svc/gitea -n gitea 3000:3000

Architecture Diagram

                    Internet
|
v
[136.110.230.30]
GKE Gateway
|
+-------+-------+-------+
| | | |
v v v v
ArgoCD Gitea NGINX (Apps)
[34.46.] [104.] [104.]
| | |
+-------+-------+
|
[coditect-cluster]
GKE 3 nodes (n1-standard-2)
|
+-----------+-----------+
| | |
v v v
[coditect-db] [Redis] [Secrets]
PostgreSQL 16 1GB KMS + SM
(Private)

Generated: 2025-12-18T10:30:00Z Next Review: After pgvector + FoundationDB deployment