Cloud Foundry
Cloud Foundry is one of the two primary runtime environments on SAP BTP, providing an organization/space-based multi-tenant platform for deploying, scaling, and operating custom applications and integration components. This topic covers the CF architecture, subaccount-to-org mapping, application and service lifecycle, connectivity, and operational practices needed to run production workloads on SAP BTP Cloud Foundry.
Overview
Cloud Foundry is one of the two primary runtime environments on SAP BTP, providing an organization/space-based multi-tenant platform for deploying, scaling, and operating custom applications and integration components. This topic covers the CF architecture, subaccount-to-org mapping, application and service lifecycle, connectivity, and operational practices needed to run production workloads on SAP BTP Cloud Foundry.
Lessons in this topic
- BTP Cloud Foundry Part 1: Orgs, Spaces, Apps and ServicesCloud Foundry is BTP's application runtime for buildpack-based apps. Learn orgs and spaces, space roles, how cf push turns code into a running app with buildpacks and routes, and how apps consume BTP services through service instances and bindings.
- BTP Cloud Foundry Part 2: Deploying with Manifests and Multitarget ApplicationsDeploy repeatably: manifest.yml for single apps (memory, instances, routes, services), multitarget applications (MTA) with mta.yaml describing modules and resources, building an .mtar with the MTA build tool and deploying with cf deploy — including resource creation and dependencies.
- BTP Cloud Foundry Part 3: Lifecycle, Service Bindings and ConfigurationOperate Cloud Foundry apps: scaling instances and memory, health checks, logs and events, service bindings vs service keys, user-provided services, environment variables and zero-downtime (blue-green) updates — with troubleshooting of crashes and binding issues.
Interview questions covered
- What are the core concepts of Cloud Foundry, and how would you explain them clearly in an SAP interview?
- How would you apply Cloud Foundry in a real SAP project? Walk through the design or implementation approach.
- A production issue is reported in Cloud Foundry. What would you check first, and how would you troubleshoot it systematically?
- What are the most important design decisions, trade-offs, and best practices in Cloud Foundry?
- Suppose you inherit an existing Cloud Foundry solution. How would you review it before making a change?
- A new developer stored database credentials in a config file. Explain how Cloud Foundry apps should get service credentials.
- Deployments differ between test and production spaces. How do you make Cloud Foundry deployments reproducible?
- A production Cloud Foundry app crashes intermittently and a rotated credential broke another app. How do you operate CF apps reliably?