{{announcement.body}}
{{announcement.title}}

Pivotal Cloud Foundry Tutorial: Understanding PCF Deployment Architecture

DZone 's Guide to

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.

· Cloud Zone ·
Free Resource

In 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


Pivotal Cloud Foundry ArchitectureWe 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:

Pivotal Cloud Foundry Architecture Flow

"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

Pivotal Cloud Foundry Diego CellHere 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.

Topics:
cloud foundry ,pcf ,spring boot ,architecture ,structure

Published at DZone with permission of Vijay Maniyar . See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}