Pivotal Cloud Foundry Tutorial: Understanding PCF Deployment Architecture
With your Spring Boot application in hand, we'll take a look at how the PCF structure is organized before we deploy.
Join the DZone community and get the full member experience.
Join For FreeIn a previous tutorial, we deployed a Spring Boot Application to PCF. Let us now look at some PCF concepts like Organizations (Orgs) and Spaces.
PCF Orgs and Spaces
Consider we have to deploy PCF for a bank.
The first step will be to get the cloud platform from a cloud provider like AWS or Azure. Next, we will start the PCF deployment on this cloud platform.
Suppose, for this bank, there are 2 projects:
- Wealth Management
- Investment Banking
We will then create 2 Orgs named "Wealth Management" and "Investment Banking."
An Organization (Org) is a development account that encompasses computing resources, apps, and services. It can be owned and used by an individual or by multiple collaborators.
Within the individual Orgs we have the Spaces.
PCF Architecture
Let us take a look at the PCF architecture:
"Diego is a self-healing container management system that attempts to keep the correct number of instances running in Diego Cells to avoid network failures and crashes. Diego schedules and runs Tasks and Long-Running Processes (LRP)." - Cloud Foundry
Here is a table displaying the Roles and the associated permissions for PCF.
Role | Permissions |
---|---|
Admin | An admin user has permissions on all Orgs and Spaces |
Admin Read-Only | This role has read-only access to all Cloud Controller API resources. |
Global Auditor | This role has read-only access to all Cloud Controller API resources except for secrets such as environment variables. |
Org Managers | Managers or other users who need to administer the Org. |
Org Auditors | Can view but cannot edit user information and Org quota usage information. |
Org Billing Managers | Can create and manage billing account and payment information. |
Org Users | Can view the list of other Org users and their roles. When an Org Manager gives a person an Org or Space role, that person automatically receives Org User status in that Org. |
Space Managers | Managers or other users who administer a Space within an Org. |
Space Developers | Application developers or other users who manage applications and services in a Space. |
Space Auditors | Can view but cannot edit the Space. |
In the next tutorial, we will see how to deploy the previously constructed Spring Boot + MYSQL application to PCF.
Published at DZone with permission of Vijay Maniyar. See the original article here.
Opinions expressed by DZone contributors are their own.
Comments