Cloud Foundry Works Cloud Foundry Internals

Cloud Foundry Works Cloud Foundry Internals

Module 7: How Cloud Foundry works Cloud Foundry internals Getting Started with IBM Bluemix 1 © Copyright IBM Corporation 2015 Cloud Foundry An open platform as a service (PaaS). The system supports multiple frameworks, multiple application infrastructure services, and deployment to multiple clouds. Getting Started with IBM Bluemix 2 © Copyright IBM Corporation 2015 Lots of languages, frameworks, and services Multiple languages • Ruby, Java, Scala, Node.js, Erlang, Python, PHP, etc. Multiple frameworks • Rails, Sinatra, Spring, Grails, Express, Lift, etc. Multiple services • MySQL, Postgres, MongoDB, Redis, RabbitMQ, etc. Multiple clouds, Multiple IaaS environments • Public cloud, microcloud, private cloud Getting Started with IBM Bluemix 3 © Copyright IBM Corporation 2015 Bluemix architecture Getting Started with IBM Bluemix 4 © Copyright IBM Corporation 2015 Cloud Foundry kernel internals Getting Started with IBM Bluemix 5 © Copyright IBM Corporation 2015 Design of a virtual machine (VM) Getting Started with IBM Bluemix 6 © Copyright IBM Corporation 2015 Cloud Foundry: application staging Getting Started with IBM Bluemix 7 © Copyright IBM Corporation 2015 Choosing the runtime for an application • If you don’t specify a runtime when you deploy an application, Bluemix will try to find a suitable runtime as follows: 1. Each predefined runtime has a position set and runtimes are tried in ascending position order. 2. Bluemix asks each runtime, starting with runtime at position 1, if it can run the application. 3. The first runtime that responds that it can run the application is used. 4. If no runtime can run the application, an error is returned. • At deploy time, you can also specify the runtime to use. Getting Started with IBM Bluemix 8 © Copyright IBM Corporation 2015 Buildpacks • Buildpacks provide the framework and runtime support for your application. • The buildpack determines whether they can run your application as part of the auto detect mechanism that Bluemix uses when you push an application. • You can control which platform-provided buildpack your application should use or specify an external buildpack to be used to run your application: “Bring your own Buildpack.” Getting Started with IBM Bluemix 9 © Copyright IBM Corporation 2015 Specifying a buildpack • Use the cf CLI to specify which buildpack to use when deploying your application. Use the -b option with the command cf push • You can specify the name of an internal buildpack or provide the URL for an external buildpack. • cf buildpacks shows the installed internal buildpacks that are available: • cf push myApp -b nodejs_buildpack • cf push myApp -b https://github.com/dmikusa-pivotal/cf-php-build-pack.git Getting Started with IBM Bluemix 10 © Copyright IBM Corporation 2015 Cloud Foundry: services Getting Started with IBM Bluemix 11 © Copyright IBM Corporation 2015 .

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    11 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us