Introduction to
Cloud Foundry
8 Feb 2019 Prabhas Gupte
Cloud computing platforms
8 Feb 2019 Prabhas Gupte
What is Cloud Foundry?
• Open Source
• Platform-as-a-Service
• Not tied to cloud
• Amazon AWS
• Microsoft Azure
• IBM Bluemix
• HP Helion
• VMware vSphere
• OpenStack
8 Feb 2019 Prabhas Gupte
Key benefits
• Lightens the developer workload
• Reduces overhead burden on ops
• Application portability
• Auto-scaling
• Centralized logging
• Centralized platform management
• Application health management
• Vertical and horizontal scaling
• Multi-tenant
8 Feb 2019 Prabhas Gupte
How deployment happens
8 Feb 2019 Prabhas Gupte
push
• cf push –b http://github.com/python/buildpack
• Upload files and directories
• Creates app package
staging
• Build executable app using buildpack
• Creates droplet
Start
• Start requested no. of instances
• Route traffic to these instances
QQ: Can I deploy any app?
No...
8 Feb 2019 Prabhas Gupte
12-factor apps
8 Feb 2019 Prabhas Gupte
Bigger Picture
8 Feb 2019 Prabhas Gupte
Q&A
If any!
8 Feb 2019 Prabhas Gupte
Integrating with
Cloud Foundry
Next Session
8 Feb 2019 Prabhas Gupte

Introduction to Cloud Foundry

  • 1.
    Introduction to Cloud Foundry 8Feb 2019 Prabhas Gupte
  • 2.
    Cloud computing platforms 8Feb 2019 Prabhas Gupte
  • 3.
    What is CloudFoundry? • Open Source • Platform-as-a-Service • Not tied to cloud • Amazon AWS • Microsoft Azure • IBM Bluemix • HP Helion • VMware vSphere • OpenStack 8 Feb 2019 Prabhas Gupte
  • 4.
    Key benefits • Lightensthe developer workload • Reduces overhead burden on ops • Application portability • Auto-scaling • Centralized logging • Centralized platform management • Application health management • Vertical and horizontal scaling • Multi-tenant 8 Feb 2019 Prabhas Gupte
  • 5.
    How deployment happens 8Feb 2019 Prabhas Gupte push • cf push –b http://github.com/python/buildpack • Upload files and directories • Creates app package staging • Build executable app using buildpack • Creates droplet Start • Start requested no. of instances • Route traffic to these instances
  • 6.
    QQ: Can Ideploy any app? No... 8 Feb 2019 Prabhas Gupte
  • 7.
    12-factor apps 8 Feb2019 Prabhas Gupte
  • 8.
    Bigger Picture 8 Feb2019 Prabhas Gupte
  • 9.
    Q&A If any! 8 Feb2019 Prabhas Gupte
  • 10.
    Integrating with Cloud Foundry NextSession 8 Feb 2019 Prabhas Gupte

Editor's Notes

  • #6 To deploy app, developer has to specify which cloud foundry the CF CLI should talk to. The push command uploads each file and subdirectory in current directory to CF. CF then tries to detect the programming language and framework of the application and then it builds executable app from uploaded files. This means, CF installs the required runtime, libraries etc.
  • #8 Use declarative formats for setup automation, to minimize time and cost for new developers joining the project; Have a clean contract with the underlying operating system, offering maximum portability between execution environments; Are suitable for deployment on modern cloud platforms, obviating the need for servers and systems administration; Minimize divergence between development and production, enabling continuous deployment for maximum agility; And can scale up without significant changes to tooling, architecture, or development practices.
  • #9 CCDB is Cloud Controller DB, which stores service creds etc. Cloud controller provides REST API for clients to communicate with system. Service Broker API is used to communicate with 3rd party services – hosted in CF, or completely outside CF.