BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
Pivotal Cloud Foundry and its usage in ecosystem
1. 1 Newt Global : Confidential
Introduction to Pivotal Cloud Foundry!
2. 2 Newt Global : Confidential
We will see:
What is Pivotal Cloud Foundry?
PCF vs Docker
Why PCF?
Advantages
Architecture
How PCF works
Diego Architecture
References
3. 3 Newt Global : Confidential
What is Cloud Foundry?
Pivotal Cloud Foundry is an open source, multi cloud application platform
as a service (PaaS) governed by the Pivotal Cloud Foundry Foundation.
The software was originally developed by VMware and then transferred
to Pivotal Software, a joint venture by EMC, VMware and General Electric.
Cloud Foundry is a platform for developing and running cloud applications.
Provides architecture layers between cloud provider and developer so that
developer can just push code.
4. 4 Newt Global : Confidential
PCF vs Docker
Key advantage of the Pivotal Cloud Foundry model is ease of use and the key
advantage of Docker is portability.
With Docker you can additionally use persistent storage volumes (file
systems) which might make deployments of existing apps to the cloud easier.
Additionally Cloud Foundry supports a smaller number of opened ports for
security reasons while Docker in general has no limitations (unless restricted
by the cloud platform provider).
Cloud Foundry uses containerization technology similar to Docker to build
portable images and then run them, but it's an implementation detail and you
don't need to specify all the details
5. 5 Newt Global : Confidential
Why PCF?
Cloud platforms represent the next step in the evolution of IT, enabling you to
focus exclusively on your applications and data without worrying about
underlying infrastructure.
7. 7 Newt Global : Confidential
Advantages:
Integration with external logging components like Elasticsearch and Logstash.
Role based access for deployed applications.
Provision for vertical and horizontal scaling.
Infrastructure security.
Support for various IaaS providers.
8. 8 Newt Global : Confidential
Cloud Foundry is optimized to deliver…
Fast application development and deployment.
Highly scalable and available architecture.
DevOps-friendly workflows.
Reduced chance of human error.
Multi-tenant compute efficiencies.
9. 9 Newt Global : Confidential
Cloud Foundry’s architectural structure permits
Integration with development tools.
Application deployment.
Application lifecycle management.
Integration with various cloud providers.
Application Execution.
10. 10 Newt Global : Confidential
PCF on DevOps perspective
Enables the operations team to provide the enterprise with a self-service
platform!
A platform that enables the complete automation of the software development
pipeline!
12. 12 Newt Global : Confidential
How Cloud Foundry Works
To flexibly serve and scale apps online, Cloud Foundry has subsystems that
perform specialized functions. Here’s how some of these main subsystems
work.
How the Cloud Balances Its Load
How Apps Run Anywhere
How PCF Organizes Users and Workspaces
Where PCF Stores Resources
How PCF Components Communicate
How to Monitor and Analyze a PCF Deployment
13. 13 Newt Global : Confidential
How the Cloud Balances Its Load
Clouds balance their processing loads over multiple machines, optimizing for
efficiency and resilience against point failure
A Cloud Foundry installation accomplishes this at three levels:
BOSH creates and deploys virtual machines (VMs) on top of a physical
computing infrastructure, and deploys and runs Cloud Foundry on top of this
cloud. To configure the deployment, BOSH follows a manifest document.
The PCF Cloud Controller runs the apps and other processes on the cloud’s
VMs, balancing demand and managing app lifecycles.
The router routes incoming traffic from the world to the VMs that are running
the apps that the traffic demands, usually working with a customer-provided
load balancer.
14. 14 Newt Global : Confidential
How Apps Run Anywhere
Within PCF, the Diego system distributes the hosted app load over all of the
host VMs, and keeps it running and balanced through demand surges,
outages, or other changes. Diego accomplishes this through an auction
algorithm.
To meet demand, multiple host VMs run duplicate instances of the same app.
This means that apps must be portable. Cloud Foundry distributes app source
code to VMs with everything the VMs need to compile and run the apps
locally.
15. 15 Newt Global : Confidential
How PCF Organizes Users and Workspaces
To organize user access to the cloud and to control resource use, a cloud
operator defines Orgs and Spaces within an installation and assigns Roles
such as admin, developer, or auditor to each user.
The User Authentication and Authorization (UAA) server supports access
control as an OAuth2 service, and can store user information internally or
connect to external user stores through LDAP or SAML.
16. 16 Newt Global : Confidential
Where PCF Stores Resources
Cloud Foundry uses the git system on GitHub to version-control source code,
build packs, documentation, and other resources.
Developers on the platform also use GitHub for their own apps, custom
configurations, and other resources. To store large binary files, such as
droplets, PCF maintains an internal or external blobstore.
17. 17 Newt Global : Confidential
How PCF Components Communicate
Cloud Foundry components communicate with each other by posting
messages internally using http and https protocols, and by
sending NATS messages to each other directly.
18. 18 Newt Global : Confidential
How to Monitor and Analyze a PCF Deployment
As the cloud operates, the Cloud Controller VM, router VM, and all VMs
running apps continuously generate logs and metrics.
The Loggregator system aggregates this information in a structured,
usable form, the Firehose.
You can use all of the output of the Firehose, or direct the output to
specific uses, such as monitoring system internals or analyzing user
behavior, by applying nozzles.
19. 19 Newt Global : Confidential
Diego Architecture
New container management system and perform application scheduling and
management for the
Cloud Controller.
Refer
https://docs.cloudfoundry.org
/concepts/diego/diego-architect
ure.html
For more details.