Pivotal Cloud Foundry(PCF) Tutorial (2024) | TechGeekNext

Pivotal Cloud Foundry(PCF) Tutorial (2024)

Pivotal Cloud Foundry

Pivotal Cloud Foundry(PCF) Tutorial

Cloud Foundry is an open source cloud computing platform originally developed in-house at VMware. It is a platform (PaaS) for cloud native application, it helps developer to just focus on code rather worrying about platform they use and their configurations.

Cloud Foundry is an open source cloud PaaS(Plateform as a Service), It can be deployed on any IaaS (Infrastructure as a Service), like OpenStack, AWS, vSphere. Below is high level cloud foundry architecture and it's major components.

Cloud platform like platform as a service (PaaS) gaining lots of importance in today's world, and many reputed companies has a growing its usage day over day. At TechGeekNext, Pivotal Cloud Foundry is one of our key focus area of our site, we provide number of technology article around Cloud Foundry.

Cloud Foundry Architecture

Cloud Foundry Components
  1. Router: A unique route exist for each application. Cloud Foundry uses this router to map incoming request to the right application.
  2. Blobstore: Storage for droplets and binary large files. Eliminates the need to reupload/restage when scaling application. NFS mounted storage or Amazon S3 store
  3. Cloud Controller Database (CCDB): Storage for application metadata.
    Sore information like Application Name, No of instances, Memory limits, application Routes, Bound services ( like MYSQL,RabbitMQ)
    A postgres DB instance
  4. OAuth2 Server (UAA) and Login Server: User Authorization And Authentication (UAA), provides identity, security and authorization services.
  5. nsync, Cell Reps,BBS : The nsync, BBS, and Cell Rep components work together along a chain to keep apps running. At one end is the user. At the other end are the instances of applications running on widely-distributed VMs, which may crash or become unavailable.
  6. Auctioner: Gather states from appropriate sources of truth at decision time , run the algorithm, tell the cell that wins the auction by placing the action on BBS
  7. Cloud Controller and Diego Brain: Cloud Controller provide restful interface to domain object, it reponse to client like CLI, WEB UI, Spring STS
  8. Diego Cell :Diego is a self healing container system that attempts to keep the correct number of instances running in Diego cells to avoid network failures and crashes.
  9. Service Brokers: Provide an interface for native and external third party services. For Example, Mail Server, Messaging etc.
  10. Consul: Consul server keeps control data that lives longer, like component IP addresses and distributed locks, to prevent components from duplicating actions.
  11. BBS: Bulletin Board System (BBS), central co ordination for activities (actions) within cloud foundry.
  12. Loggregator: Master logging process, which accepts logs from application instances and cloud foundry components.
    You can use cf log command to see the logs. It is non persistent, temporary log storage. It accumulates logs from multiple sources and aggregates by application.
  13. Metrics Collector: The metrics collector gathers metrics and statistics from the components. Operators can use this information to monitor a Cloud Foundry deployment.

Let's get started with PCF Tutorial:

Recommendation for Top Popular Post :