The Runtime Is Up To you
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

The Runtime Is Up To you

  • 195 views
Uploaded on

With Cloud Foundry you can choose your favorite runtime, language, and frameworks to use to build your apps in the cloud.

With Cloud Foundry you can choose your favorite runtime, language, and frameworks to use to build your apps in the cloud.

More in: Software , Technology , Sports
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
195
On Slideshare
195
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
2
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. The Runtime Is Up To YOU! Ryan Baxter - IBM @ryanjbaxter http://ryanjbaxter.com
  • 2. What is your favorite language and/or runtime? 2
  • 3. UGH! I need to use ________?!? 3
  • 4. With Cloud Foundry The Runtime Is Up To You! 4
  • 5. Buildpacks 5 • Buildpacks allow you to deploy the runtime, containers, and frameworks you want to use to run your apps on Cloud Foundry • The build pack concept was adopted from Heroku – In fact many Heroku buildpacks will also work on Cloud Foundry
  • 6. Built-In Buildpacks 6
  • 7. Community Buildpacks • These are build packs that are supported by the community in order to use other frameworks and runtimes • Community buildpacks are just Git repos – Generally hosted publicly on GitHub • Community Buildpacks: http://bit.ly/cfbuilsps 7
  • 8. Buildpack Anatomy 8 Runtime Container Libraries Application Buildpack
  • 9. Specify A Buildpack • When not using a build-in build pack you need to tell Cloud Foundry what buildpack you would like to use • Command Line – cf push myapp -b https://github.com/ryanjbaxter/my-bp • Manifest.yml file – buildpack: https://github.com/ryanjbaxter/my- bp 9
  • 10. Configuring and Extending Buildpacks • Sometimes it is necessary to configure a build pack – Use a different container, ie Apache vs NGINX – Configure the container – Enable logging – Enable additional features • Extensions may also be useful but they usually involve forking the buildpack – One common case for an extension is integrating monitoring software, ie New Relic 10
  • 11. Demo • Everyones favorite beginner app…..the ToDo App • Front-end from todomvc.com – Using Backbone (nice REST API!!!!) • Backend implemented in multiple languages • All running on the same Cloud Foundry instance! 11