> Markdown version of [/videos/333-cd2cf-continuous-deployment-to-cloud-foundry?t=1140](https://www.wearedevelopers.com/videos/333-cd2cf-continuous-deployment-to-cloud-foundry?t=1140). Every page supports `.md` or `Accept: text/markdown`. Links point to the HTML versions so they work for humans too. Agent guide: [/agents.md](https://www.wearedevelopers.com/agents.md). --- # CD2CF - Continuous Deployment to Cloud Foundry Stop managing complex infrastructure and start deploying. Discover how Cloud Foundry’s buildpacks and single-command workflow automate continuous delivery directly from your source code to production. - **Speakers:** Dominik Kress - **Event:** WeAreDevelopers LIVE - **Published:** November 10, 2021 - **Duration:** 46:06 - **URL:** https://www.wearedevelopers.com/videos/333-cd2cf-continuous-deployment-to-cloud-foundry ## Summary The video explores how to implement continuous deployment to Cloud Foundry (CF), showcasing its highly abstracted, developer-focused approach. Contrasting with the deep infrastructural configuration required by platforms like Kubernetes, Cloud Foundry operates on a simple philosophy: "Here is my source code, run it on the cloud for me. I do not care how." By relying on Cloud Foundry as an opinionated operating system for the cloud, developers can bypass complex infrastructure setups and deploy applications seamlessly via a single command. A core focus is the platform's internal architecture and resource segregation. Components like the Go Router interact with Diego cells for container orchestration, running scalable workloads inside RunC containers behind the scenes. Developers organize their setups through logically clustered organizations and fine-grained spaces, utilizing space-scoped service accounts to grant automated pipeline systems secure access. This granular role-based access control shines in continuous deployment setups, allowing tools like GitHub Actions to safely authenticate and automatically trigger a `cf push` operation upon a code commit. A significant mechanism for eliminating infrastructure overhead is the use of buildpacks. Rather than manually crafting Dockerfiles, developers securely push raw artifacts, and Cloud Foundry buildpacks dynamically detect the language framework, compile dependencies, and stage a droplet ready to run natively inside a container. Because Cloud Foundry inherently enforces 12-factor, stateless application architectures, features like automatic scaling, high availability, and zero-downtime rolling updates integrate naturally seamlessly, making continuous delivery remarkably efficient. **Keywords:** continuous deployment to cloud foundry, github actions cicd pipeline, stackit app cloud deployment, cloud foundry platform architecture, cloud foundry organizations and spaces, space scoped service accounts, diego cell application orchestration, runc container runtime execution, automated application containerization, cloud foundry buildpacks staging, cf push automated deployments, 12-factor app stateless architecture, automated cloud scaling rules, zero-downtime rolling updates, role-based access control mapping ## Chapters 1. **Introduction to StackIt and enterprise cloud platforms** (00:02) — The StackIt App Cloud serves as a foundation for enterprise continuous deployment. 1. **Understanding the core philosophy of Cloud Foundry** (03:23) — Cloud Foundry abstracts away complex infrastructure to focus purely on frictionless application deployment. 1. **Key components and architecture of Cloud Foundry** (05:59) — Internal components like routers, authentication layers, and the Diego container orchestrator manage infrastructure abstraction. 1. **Structuring environments with organizations and spaces** (09:36) — Organizations and spaces manage role-based access control and resource quotas for different development teams. 1. **Automating access using space-scoped service accounts** (13:06) — Creating and using space-scoped service accounts provides automated pipelines with securely scoped platform access. 1. **Configuring a Spring application for continuous deployment** (15:49) — A sample Spring Boot application and its associated manifest file prepare the environment for automated deployment. 1. **Setting up a GitHub Actions workflow for automated deployments** (19:00) — A GitHub Actions pipeline automates application artifacts and executes cloud deployment commands seamlessly. 1. **Automatically containerizing applications with Cloud Foundry buildpacks** (25:09) — Buildpacks detect, compile, and stage applications into executable droplets without requiring manual container configuration. 1. **Verifying successful deployment and rolling updates** (30:06) — The Stratos console confirms application availability while the routing layer supports zero-downtime rolling updates. 1. **Managing application scaling within Cloud Foundry** (34:05) — Auto-scalers and manual instance sizing dynamically adjust application capabilities based on defined resource thresholds. 1. **Ensuring container security and strict access controls** (37:07) — Integrating security checks and applying application security groups securely restrict container access and internal permissions. 1. **Migrating existing architecture into Cloud Foundry** (38:47) — Migrating legacy applications to the cloud platform necessitates adopting a twelve-factor stateless operational architecture. 1. **Evaluating current trends in CI/CD pipelines** (39:48) — Modern deployments prioritize dedicated pipeline implementations and shifting security left through automated vulnerability scanning. 1. **Handling high availability and stateful application requirements** (40:55) — Multi-instance scaling guarantees high availability while external data services manage necessary persistent application states. 1. **Comparing containers, cloud architectures, and serverless computing** (42:57) — Execution environments differ fundamentally across container deployment paradigms, cloud virtualization structures, and serverless compute models. ## Related Moments - [Demonstrating rapid application deployments with Stackit cloud foundry](https://www.wearedevelopers.com/videos/413-the-future-of-cloud-is-abstraction-why-kubernetes-is-not-the-endgame-for-stackit) (from "The Future of Cloud is Abstraction - Why Kubernetes is not the Endgame for STACKIT ") - [Introduction to cloud native infrastructure and platform engineering](https://www.wearedevelopers.com/videos/885-platform-engineering-vs-devops-why-not-both) (from "Platform Engineering vs. DevOps Why not both?") - [Demonstrating architecture and floating platform integration patterns](https://www.wearedevelopers.com/videos/1614-ai-augmented-devops-with-platform-engineering) (from "AI-Augmented DevOps with Platform Engineering") - [Fostering team collaboration through common infrastructure abstractions](https://www.wearedevelopers.com/videos/182-gitops-keeps-focus-on-apps-not-on-infrastructure) (from "GitOps keeps focus on apps, not on infrastructure") - [Audience Q&A on CDK implementation and automated testing](https://www.wearedevelopers.com/videos/740-the-power-of-cloud-development-kit-cdk-how-to-get-the-most-out-of-it) (from "The power of Cloud Development Kit (CDK): How to get the most out of it") - [Constructing declarative continuous delivery paths in GitHub Actions](https://www.wearedevelopers.com/videos/402-one-click-to-production-test-and-automate-your-application) (from "One-click-to-production: Test and automate your application") ## Related Articles - [How we Build The Software of Tomorrow](https://www.wearedevelopers.com/magazine/120-how-we-build-the-software-of-tomorrow) - [Building AI Solutions with Rust and Docker](https://www.wearedevelopers.com/magazine/494-building-ai-solutions-with-rust-and-docker) - [Dev Digest 132 - Binging WADFlix?](https://www.wearedevelopers.com/magazine/473-dev-digest-132-binging-wadflix) - [Now is the time for industrialized software development](https://www.wearedevelopers.com/magazine/601-now-is-the-time-for-industrialized-software-development) ## Related Jobs - [Cloud Foundations Team](https://www.wearedevelopers.com/jobs/ext/1483289-cloud-foundations-team) at **GitHub** - [Lead Cloud DevSecOps Engineer - Kubernetes](https://www.wearedevelopers.com/jobs/ext/1659167-lead-cloud-devsecops-engineer-kubernetes) at **BWI GmbH** - [Cloud Engineer](https://www.wearedevelopers.com/jobs/ext/652417-cloud-engineer) at **BWI GmbH** - [Software Engineer L2 - Cloud Infrastructure](https://www.wearedevelopers.com/jobs/ext/1293339-software-engineer-l2-cloud-infrastructure) at **Twilio** - [Software Engineer L2 - Cloud Infrastructure](https://www.wearedevelopers.com/jobs/ext/1282024-software-engineer-l2-cloud-infrastructure) at **Twilio** - [Devops Engineer](https://www.wearedevelopers.com/jobs/ext/1940926-devops-engineer) at **Bitpanda**