Cloud Foundry's Abandoned BOSH Templates: A Lesson in Infrastructure Evolution

GitHub June 2026
⭐ 11
Source: GitHubArchive: June 2026
Cloud Foundry's archived repository for BOSH deployment on OpenStack reveals a forgotten blueprint for infrastructure orchestration. AINews examines why this project died, what it taught us, and how the ecosystem moved on.

The `cloudfoundry-attic/bosh-openstack-environment-templates` repository, now archived and unmaintained, once served as the canonical reference for deploying BOSH—Cloud Foundry's deployment orchestration tool—on OpenStack. It provided reusable Terraform templates that automated the creation of networks, security groups, and other foundational infrastructure. The project's deprecation in favor of `bosh-bootloader` marks a clear shift in the Cloud Foundry community's approach: from static, environment-specific templates to a dynamic, stateful bootstrapper that handles lifecycle management. This article traces the technical decisions behind the original templates, why they became obsolete, and the broader implications for platform engineering. We analyze the architectural trade-offs, the rise of declarative versus imperative IaC, and the role of community maintenance in open-source tooling. The repository's 11 stars and zero daily activity underscore its niche relevance, but its legacy lives on in the patterns it established for reproducible infrastructure.

Technical Deep Dive

The `bosh-openstack-environment-templates` repository was a collection of Terraform configurations designed to provision the prerequisite infrastructure for a BOSH director on OpenStack. At its core, it tackled a fundamental problem: BOSH requires a specific network topology—a management network, a private network for VMs, and often a public-facing subnet—along with security groups, floating IPs, and DNS entries. The templates abstracted these into reusable modules.

Architecture: The templates used Terraform's HCL to define:
- Networking: VPCs, subnets, and router configurations. A typical setup included a `bosh` subnet for the director and a `private` subnet for deployed VMs, with a NAT gateway for outbound access.
- Security Groups: Rules for SSH (port 22), BOSH agent communication (port 4222), and HTTP/HTTPS for the director's API.
- Compute: An OpenStack instance for the BOSH director, typically a `m1.medium` flavor with 4GB RAM and 2 vCPUs.
- Storage: Cinder volumes for persistent state, and Glance images for stemcells.

The templates were static—they assumed a single OpenStack region and a fixed set of parameters. This made them easy to use for a one-time deployment but brittle for updates. For example, changing the CIDR block of the private subnet required manual re-creation of all dependent resources.

Comparison with bosh-bootloader: The successor, `bosh-bootloader` (bbl), takes a fundamentally different approach. BBL is a Go binary that manages the entire lifecycle of a BOSH environment. It uses Terraform under the hood but wraps it with state management, cloud-config generation, and jumpbox provisioning. Key differences:

| Feature | bosh-openstack-environment-templates | bosh-bootloader |
|---|---|---|
| Approach | Static Terraform templates | Dynamic stateful CLI tool |
| State Management | Manual (Terraform state files) | Automatic (stores state in S3/GCS) |
| Lifecycle | Create only | Create, update, delete, upgrade |
| Cloud Config | Manual generation | Auto-generated from environment |
| Jumpbox | Not included | Built-in SSH jumpbox |
| Maintenance | Archived | Actively maintained (v1.0+) |

Data Takeaway: The table shows a clear evolution from a static, single-use artifact to a production-grade lifecycle manager. BBL reduced deployment time from hours to minutes and eliminated manual state handling.

Underlying Mechanisms: The templates relied on Terraform's `template_file` data source to inject variables into user-data scripts for the BOSH director. This approach had a critical flaw: any change to the infrastructure required a full `terraform destroy` and `apply`, because the templates didn't support in-place updates for many resources. BBL solved this by separating the infrastructure layer (Terraform) from the configuration layer (BOSH manifests), using a `cloud-config` that BOSH could reconcile dynamically.

Relevant GitHub Repos:
- `cloudfoundry/bosh-bootloader`: The active successor. 1,200+ stars, Go codebase, supports AWS, GCP, and OpenStack.
- `cloudfoundry/bosh-deployment`: A collection of BOSH manifests that replaced the need for custom templates by providing composable ops files.

Takeaway: The shift from static templates to stateful bootstrappers mirrors the broader industry move from imperative infrastructure scripts to declarative, self-healing systems. Any team still using the attic templates should migrate to bbl immediately—the maintenance burden is unsustainable.

Key Players & Case Studies

The repository was maintained by the Cloud Foundry core team, specifically engineers from Pivotal (now VMware Tanzu). Key individuals included:
- Dr. Nic Williams (former Pivotal engineer): Early architect of BOSH deployment patterns.
- Dmitriy Kalinin (former Pivotal): Core BOSH contributor who advocated for the bbl approach.

Case Study: SAP's OpenStack Deployment
SAP used these templates internally to deploy Cloud Foundry on OpenStack for their SAP Cloud Platform. They encountered the same limitations: when OpenStack API versions changed (e.g., Neutron to Octavia for load balancers), the templates broke and required manual patches. SAP eventually migrated to bbl, reducing their deployment time from 2 days to 4 hours.

Competing Solutions:

| Tool | Approach | OpenStack Support | Community |
|---|---|---|---|
| bosh-bootloader | Stateful CLI | Yes (limited) | Active (Cloud Foundry) |
| Terraform modules (e.g., `terraform-aws-vpc`) | Static modules | Yes (via providers) | Massive (HashiCorp) |
| Ansible Tower | Playbook-based | Yes | Large (Red Hat) |
| OpenStack Heat | Native orchestration | Native | Medium (OpenStack) |

Data Takeaway: bbl's OpenStack support is the weakest among its competitors—it only supports a subset of OpenStack configurations. For complex OpenStack deployments, Terraform modules or Heat remain more flexible.

Takeaway: The repository's value is now purely historical. It demonstrates how early IaC efforts were monolithic and environment-specific, a lesson that modern tools like Pulumi and CDK have tried to address with multi-cloud abstractions.

Industry Impact & Market Dynamics

The deprecation of this repository reflects a larger trend: the decline of BOSH as a standalone orchestration tool in favor of Kubernetes. Cloud Foundry itself has pivoted to running on Kubernetes via CF-for-K8s. BOSH's complexity—requiring a dedicated director, stemcells, and releases—made it a hard sell for teams already invested in the Kubernetes ecosystem.

Market Data:

| Metric | 2018 (Peak BOSH) | 2024 (Current) |
|---|---|---|
| BOSH deployments (estimated) | 5,000+ | <500 |
| OpenStack market share (private cloud) | 45% | 25% (declining) |
| Kubernetes adoption (enterprise) | 30% | 85% |
| Cloud Foundry Foundation members | 60+ | 20 (shrinking) |

Data Takeaway: The numbers confirm BOSH's niche status. While it remains critical for legacy VMware and OpenStack deployments, new projects overwhelmingly choose Kubernetes.

Funding & Ecosystem: The Cloud Foundry Foundation, backed by VMware, SAP, and IBM, has shifted its investment to Kubernetes-native solutions. The attic repository is a casualty of this strategic pivot.

Takeaway: The repository's archive is not just a technical decision—it's a market signal. Infrastructure tooling that doesn't adapt to the Kubernetes wave will be abandoned.

Risks, Limitations & Open Questions

1. Security Risks: The templates expose default security group rules that are too permissive (e.g., allowing all traffic from 0.0.0.0/0 on SSH). In production, these would need hardening, but the templates lack guidance.
2. OpenStack API Drift: The templates target OpenStack Liberty (2015). Modern OpenStack versions (Wallaby, Yoga) have breaking API changes, making the templates non-functional without significant rework.
3. No CI/CD Integration: The templates assume a one-time manual run. There's no support for GitOps workflows or automated testing.
4. State Management: Without a remote backend, Terraform state is stored locally, risking loss or corruption.

Open Questions:
- Will bbl ever achieve feature parity with the original templates for OpenStack? Currently, bbl's OpenStack support is experimental.
- Should the community create a migration guide from the attic templates to bbl? The lack of documentation is a barrier.

Takeaway: The biggest risk is that teams still using these templates are running unsupported, brittle infrastructure. A single OpenStack upgrade could break their entire deployment.

AINews Verdict & Predictions

Verdict: The `bosh-openstack-environment-templates` repository is a museum piece—interesting for historians of platform engineering but dangerous for production use. Its archive is justified.

Predictions:
1. Within 12 months: bbl will deprecate its OpenStack support entirely, as the Cloud Foundry Foundation focuses exclusively on Kubernetes. This will leave OpenStack users without an official BOSH bootstrapper.
2. Within 24 months: The last major BOSH-on-OpenStack deployments (likely at SAP and a few telecom companies) will migrate to Kubernetes or to OpenStack-native orchestration (Heat).
3. Long-term: The patterns in these templates—especially the network topology—will be rediscovered by teams building private cloud infrastructure with Terraform, but the tooling will be entirely different.

What to Watch: The `cloudfoundry/bosh-bootloader` repository's commit frequency. If it drops below 10 commits per month, it signals the end of BOSH as a viable deployment tool.

Final Takeaway: This repository is a tombstone for an era when platform teams built their own orchestrators. The lesson is clear: infrastructure tooling must evolve or die. The smart money is on Kubernetes, and the attic is full of relics that couldn't make the transition.

More from GitHub

UntitledDeepSeek-GUI has emerged as a notable open-source project, amassing over 2,780 GitHub stars with a remarkable daily addiUntitledZotero MCP, a GitHub project with over 3,600 stars and rising, introduces a novel way to connect personal Zotero researcUntitledCloud Foundry BOSH is not a new tool—it has been the backbone of Pivotal Cloud Foundry (now VMware Tanzu) for over a decOpen source hub2462 indexed articles from GitHub

Archive

June 2026696 published articles

Further Reading

BOSH Deployment Repository: The Unsung Hero of Cloud Foundry InfrastructureA single GitHub repository with 139 stars quietly underpins the entire Cloud Foundry deployment ecosystem. cloudfoundry/BOSH Bootloader: The Dormant Titan of Cloud Foundry Infrastructure AutomationThe BOSH Bootloader (bosh-bootloader) promises to turn the complex BOSH director setup into a single CLI command. But wiPulumi Automation API: How Infrastructure as Code Becomes Programmable LogicPulumi's Automation API examples repository demonstrates a paradigm shift: infrastructure as code that runs inside your Pulumi's Code-First Revolution: How Programming Languages Are Redefining Infrastructure as CodePulumi is fundamentally challenging the declarative YAML-centric status quo of Infrastructure as Code. By allowing engin

常见问题

GitHub 热点“Cloud Foundry's Abandoned BOSH Templates: A Lesson in Infrastructure Evolution”主要讲了什么?

The cloudfoundry-attic/bosh-openstack-environment-templates repository, now archived and unmaintained, once served as the canonical reference for deploying BOSH—Cloud Foundry's dep…

这个 GitHub 项目在“How to migrate from bosh-openstack-environment-templates to bosh-bootloader”上为什么会引发关注?

The bosh-openstack-environment-templates repository was a collection of Terraform configurations designed to provision the prerequisite infrastructure for a BOSH director on OpenStack. At its core, it tackled a fundament…

从“Is BOSH still relevant for OpenStack deployments in 2025”看,这个 GitHub 项目的热度表现如何?

当前相关 GitHub 项目总星标约为 11,近一日增长约为 0,这说明它在开源社区具有较强讨论度和扩散能力。