Cloudbloc is the next step after IaaS, IaC, and SaaS — SaaS-as-Code (SaC).
Deploy a complete SaaS with one command — all inside your cloud.
🚀
Ship in minutes with a single Terraform bloc — production-ready.
With near-zero infra work.
Status: MVP / Alpha
With Cloudbloc, deploy an entire SaaS in minutes — a single Terraform "bloc" (module). Near-zero infra work required.
One Terraform module (bloc) = One SaaS replacement. Each bloc is a pre-built Terraform module that provisions the required cloud + Kubernetes resources. Set a few variables and the stack goes live — production-ready, without YAML sprawl or manual setup.
Cloudbloc is a long-horizon bet: shifting billions away from bloated SaaS contracts and back into in-house capability. Teams regain control of data, cost, and velocity with enterprise-grade reliability and security.
Stop paying for features you don’t use. Run core SaaS in your own cloud for ~10% of the cost — with minimal infra overhead.
Ship a full SaaS capability with one Terraform bloc. No YAML sprawl, no wasted weekends.
Move recurring SaaS spend into durable platform investment. Scale usage without price shocks.
Mix blocs like AppBloc, ObsBloc, and SearchBloc to fit your stack. Skip the SaaS lock-in, keep the savings.
Pick the SaaS you need and launch it with a bloc — a few lines of Terraform, that’s it.
Heroku, minus the bloat. Just ingress, TLS, redirects, and firewall — the core you actually need.
module "appbloc" {
source = "github.com/cloudbloc/cloudbloc//blocs/appbloc?ref=appbloc-0.4.2"
app_name = "cloudbloc-webapp-${var.environment}"
image = var.app_image
domains = var.domains
}
Prometheus + Grafana with ingress and minimal alerting out of the box. The core of Datadog, without the SaaS bill.
module "obsbloc" {
source = "github.com/cloudbloc/cloudbloc//blocs/obsbloc?ref=obsbloc-0.4.1"
namespace = var.namespace
domains = var.domains
edge_ip_name = var.edge_ip_name
}
Meilisearch with a sleek static UI (Nginx), PVC-backed storage, and daily automated backups. Elastic, boiled down to the essentials.
module "searchbloc" {
source = "github.com/cloudbloc/cloudbloc//blocs/searchbloc?ref=searchbloc-0.4.2"
project_id = var.project_id
namespace = "obsbloc"
app_name = "searchbloc"
}
# Exposed via ObsBloc:
# enable_searchbloc = true
# searchbloc_domains = ["searchbloc.cloudbloc.io"]
⚠️ MVP — features and stability still evolving
Infrastructure on demand (IaaS) — AWS, GCP, Azure
Declarative infra as code (IaC) — Terraform, CloudFormation
Fully managed apps (SaaS) — Datadog, Dropbox, Elasticsearch
SaaS-as-Code — Cloudbloc: AppBloc, ObsBloc, SearchBloc
Explore the repo, drop in a bloc, commit, and ship.
Pin a version with ?ref=<bloc>-vX.Y.Z.
Releases are managed via release-please (manifest mode).
gcloud auth loginproject and region.terraform init && terraform apply.
data "google_client_config" "default" {}
data "google_container_cluster" "gke" {
project = var.project_id
location = var.region
name = var.cluster_name
}
provider "google" {
project = var.project_id
region = var.region
}
provider "kubernetes" {
host = "https://${data.google_container_cluster.gke.endpoint}"
cluster_ca_certificate = base64decode(data.google_container_cluster.gke.master_auth[0].cluster_ca_certificate)
token = data.google_client_config.default.access_token
}
module "appbloc" {
source = "github.com/cloudbloc/cloudbloc//blocs/appbloc?ref=appbloc-0.4.2"
app_name = "cloudbloc-webapp-${var.environment}"
image = var.app_image
domains = var.domains
}
SaaS is bloated and costly. Cloudbloc gives you lean building blocks — 90% cheaper, deploy in one command, customize without limits.
Run transparent infra you can forecast. Pay for compute, not markup.
Drop in a Terraform bloc, pin a version, and ship to prod in minutes — no YAML grind.
Open-source cores, clean APIs, and a thriving community of modules & integrations.
CI/CD and ArgoCD/Flux pipelines.