getting started with cloud foundry on bluemix
TRANSCRIPT
![Page 1: Getting Started with Cloud Foundry on Bluemix](https://reader034.vdocuments.mx/reader034/viewer/2022042707/58f29af01a28ab820a8b45f9/html5/thumbnails/1.jpg)
IBM BluemixGetting Started with Cloud Foundry
![Page 2: Getting Started with Cloud Foundry on Bluemix](https://reader034.vdocuments.mx/reader034/viewer/2022042707/58f29af01a28ab820a8b45f9/html5/thumbnails/2.jpg)
▪ Introduction to PaaS (5 min)
▪ Cloud Foundry overview (5 min)
▪ Bluemix console exploration (5 min)
▪ Creating and updating an app (5 min)
Agenda
![Page 3: Getting Started with Cloud Foundry on Bluemix](https://reader034.vdocuments.mx/reader034/viewer/2022042707/58f29af01a28ab820a8b45f9/html5/thumbnails/3.jpg)
Section 1 PaaS and IaaS: Where are we and how did we get here?
![Page 4: Getting Started with Cloud Foundry on Bluemix](https://reader034.vdocuments.mx/reader034/viewer/2022042707/58f29af01a28ab820a8b45f9/html5/thumbnails/4.jpg)
Where do websites live?We all know what a website is. Most people are unaware of what makes them tick.
![Page 5: Getting Started with Cloud Foundry on Bluemix](https://reader034.vdocuments.mx/reader034/viewer/2022042707/58f29af01a28ab820a8b45f9/html5/thumbnails/5.jpg)
This is the standard architecture for your typical web application. As the web and underlying applications have evolved, so has this architecture.
Client-Server Architecture
![Page 6: Getting Started with Cloud Foundry on Bluemix](https://reader034.vdocuments.mx/reader034/viewer/2022042707/58f29af01a28ab820a8b45f9/html5/thumbnails/6.jpg)
Moore’s Law
“The number of transistors incorporated in a chip will approximately double every 24 months.”
-Gordon Moore, 1975
Credit: Intel
![Page 7: Getting Started with Cloud Foundry on Bluemix](https://reader034.vdocuments.mx/reader034/viewer/2022042707/58f29af01a28ab820a8b45f9/html5/thumbnails/7.jpg)
The first path to the cloudInfrastructure as a Service (IaaS)
![Page 8: Getting Started with Cloud Foundry on Bluemix](https://reader034.vdocuments.mx/reader034/viewer/2022042707/58f29af01a28ab820a8b45f9/html5/thumbnails/8.jpg)
Customer ManagedService Provider Managed Infrastructure as
a Service
Code
Data
Runtime
Middleware
OS
Virtualization
Servers
Storage
Networking
Code
Data
Runtime
Middleware
OS
Virtualization
Servers
Storage
Networking
Platform as a Service
Built ontechnologies:
The key to rapid application development is optimal abstraction. The PaaS and IaaS models help deliver the right level for developers.
The stack is not your friend
![Page 9: Getting Started with Cloud Foundry on Bluemix](https://reader034.vdocuments.mx/reader034/viewer/2022042707/58f29af01a28ab820a8b45f9/html5/thumbnails/9.jpg)
Section 2 Cloud Foundry: What is the platform, anyways?
![Page 10: Getting Started with Cloud Foundry on Bluemix](https://reader034.vdocuments.mx/reader034/viewer/2022042707/58f29af01a28ab820a8b45f9/html5/thumbnails/10.jpg)
The industry-leading open PaaSCloud Foundry
• Clouds - Public, Private, LocalChoice
• Runtimes - node.js, spring, ruby on rails, byob…• Services - MongoDB, MySQL, Redis, Twilio…
• Decreased time to deployment aka faster G2MBenefits
• Increased environment parity• Services can be self-assembled to create integrated apps• Elastically scale applications• Removes worries of OS and middleware patches
• Development methodologies must adapt to techDrawbacks
• Requires dev awareness of platform limitations and best practices• Control over underlying middleware and infrastructure is limited
![Page 11: Getting Started with Cloud Foundry on Bluemix](https://reader034.vdocuments.mx/reader034/viewer/2022042707/58f29af01a28ab820a8b45f9/html5/thumbnails/11.jpg)
•Platform is abstracted as a set of large-scale distributed services
•Components are dynamically discoverable and loosely coupled
•Uses Cloud Foundry Bosh to operate the underlying infrastructure from the IaaS provider
•Uses a dynamic router to shape and route all traffic and orchestrate load balancing
•Droplet Execution Agents (DEAs) are responsible for the app lifecycle
•Health Manager monitors and maintains application uptime
•Buildpacks detect app runtime and compile source code into executable binaries
Cloud Foundry Architecture
![Page 12: Getting Started with Cloud Foundry on Bluemix](https://reader034.vdocuments.mx/reader034/viewer/2022042707/58f29af01a28ab820a8b45f9/html5/thumbnails/12.jpg)
Flexible Compute Options to Run Apps / ServicesInstant Runtimes Containers Virtual Machines
Platform Deployment Options that Meet Your Workload Requirements
Bluemix Public
Bluemix Dedicated
Bluemix Local*
DevOps Tooling Your Own Hosted Apps / Services
Integration and API Mgmt
Powered by IBM SoftLayer In Your Data Center
+ + +
+ +
Catalog of Services that Extend Apps’ Functionality
Web Data Mobile AnalyticsCognitive IoT Security Yours
+
Cloud Foundry is the underlying PaaS behind Bluemix. It enables teams to practice continuous delivery by making it easier to deploy, run, and manage apps.
Where does Cloud Foundry fit in?
![Page 13: Getting Started with Cloud Foundry on Bluemix](https://reader034.vdocuments.mx/reader034/viewer/2022042707/58f29af01a28ab820a8b45f9/html5/thumbnails/13.jpg)
Types of services •Accounts for a SaaS application •Managed database on a multi-tenant server •Plans for messaging providers
How it works •When a user adds a service, an instance of that particular service is provisioned •A service broker handles communication between CF and the service itself •Service processes run on service nodes or with external as-a-service providers
Services allow users to provision resources on demandCloud Foundry Services
![Page 14: Getting Started with Cloud Foundry on Bluemix](https://reader034.vdocuments.mx/reader034/viewer/2022042707/58f29af01a28ab820a8b45f9/html5/thumbnails/14.jpg)
Section 3 & 4 The console: How do I use this thing?
![Page 15: Getting Started with Cloud Foundry on Bluemix](https://reader034.vdocuments.mx/reader034/viewer/2022042707/58f29af01a28ab820a8b45f9/html5/thumbnails/15.jpg)
1. Find your desired runtime in the catalog
2. Select the runtime, make sure you are in your desired org and space, then fill in the Name and Host fields in the configuration box
3. Click ‘Create’Your app will now stage and deploy. Once it is finished, hit ‘View App’ link to access
your running app!
Creating an appThe simplest way to get a functioning app up on Bluemix is to create an app from one of the supported runtimes in the catalog.
1
2
![Page 16: Getting Started with Cloud Foundry on Bluemix](https://reader034.vdocuments.mx/reader034/viewer/2022042707/58f29af01a28ab820a8b45f9/html5/thumbnails/16.jpg)
1. Download the starter code
2. Open up the public/index.html file using your favorite text editor
3. Change the value inside the h1 element on line 18 to read “Hello World!” and save
4. Push the app back to Bluemix using the cf login and the cf push commands
Editing your codeDownload your code to edit it locally and push the updated version back to Bluemix using the CF CLI
1
2
3
![Page 17: Getting Started with Cloud Foundry on Bluemix](https://reader034.vdocuments.mx/reader034/viewer/2022042707/58f29af01a28ab820a8b45f9/html5/thumbnails/17.jpg)
![Page 19: Getting Started with Cloud Foundry on Bluemix](https://reader034.vdocuments.mx/reader034/viewer/2022042707/58f29af01a28ab820a8b45f9/html5/thumbnails/19.jpg)
Additional ResourcesUse the following resources to continue exploring Bluemix
• IBM Bluemix GitHub: https://github.com/ibm-bluemix
• Bluemix Blog: https://developer.ibm.com/bluemix/blog/
• Cloud Foundry Foundation: https://www.cloudfoundry.org/
• Cloud Foundry CLI: https://github.com/cloudfoundry/cli