1. Introduction to IBM Bluemix:
A Cloud Foundry based
Platform as a Service (PaaS)
By: Carl Osipov
osipov@us.ibm.com
@CloudsWithCarl
http://www.cloudswithcarl.com
2. Agenda
What is a PaaS?
NIST definition. Traditional IT models
vs PaaS.
Cloud Foundry PaaS
Bluemix Overview
Bluemix Getting Started Demo
Introduction to Web Applications on
Bluemix
Liberty Runtime for Java Web Apps
Java Web Apps on Bluemix
PHP Runtime and Web Apps on
Bluemix
Bluemix Services Catalog
Web App Dev, Mobile, Watson, and
other services
Service Instantiation and Service
Binding in Bluemix and Cloud Foundry
Cloud Hackathon Project Ideas
Watson Personality Modeling Celebrity Match
http://your-celebrity-match.mybluemix.net/)
People In The News
http://pitn.mybluemix.net/
Remote Control of a Lego
Robothttps://developer.ibm.com/bluemix/201
5/01/19/remote-control-ev3-robot-via-ibm-
bluemix-iot/
Buying a smartphone with Watson Tradeoff
Analyticshttp://tradeoff-analytics-
demo.mybluemix.net/
Other Useful Services
DB2 Relational Database
Cloudant Document-oriented NoSQL
Database
Sendgrid Email as a Service
Twilio Telephony as a Service
Node-Red Graphical Code Editor
1
3. More about Service Models
BlueMix is a Platform as a Service (PaaS)
IBM Softlayer
Amazon EC2
Azure Infrastructure
IBM BlueMix
Google App Engine
Amazon Elastic Beanstalk
4. Cloud Foundry PaaS powering BlueMix
Developer
Focus
Fastest Growing
PaaS Community
Open Source
Platform
Founding Members:
5. Cloud Foundry Conceptual Architecture
4
Identity management service for the
platform. Acts as an OAuth2 and SCIM*
provider.
Exposes a REST API to the system. Manages
a database of apps, services, service
instances, etc
End user provided code that is “pushed” to
the cloud and packaged to run in a
container
A collection of code that is responsible for
transforming pushed app artifacts into a
ready to run droplet
A distributed deployment install and
management tool that abstracts the details
of the IaaS layer (Bosh Outer Shell)
6. Cloud Foundry + IBM = BlueMix
5
Services
Catalog
App Lifecycle
Management
(DevOps)
Application
Runtime
Runtimes &
Buildpacks
Middleware Application Operational Mobile ExternalData
node java ruby php
WebSphere
Liberty
Web IDE
(Eclipse Orion)
Eclipse IDE
Application
Composition
Environment
Create & Manage Services
Test/Run Test/Run
Explore
Services
Explore
Services
IBM BlueMix
Check In Code Check In Code
Cloud Foundry on IBM Softlayer
BlueMix includes
IBM, open source & 3rd party
services in the catalog
Rational requirements mgmt,
defect tracking, build and
deploy
Git compatible source control
Runtimes and
buildpacks
Starter kits for
Mobile, Internet of
Things, Web, and
other types of
apps
7. What are the Properties* of a Cloud Native
App?
6
Developed in a “hosted-first”
model
Elastic Scalability
Build in Multi-tenancy
Clean Separation of stateful
from stateless components
Modular, Non-monolithic
Architecture, Loosely Cloupled
Rapid continuos development,
build, integration, test, &
Design for failure (Automated
recovery, Granular failure)
May use and combine internet
based services
Accessible via idempotent APIs
Access back to systems of record
(SOA, REST)
Personalization / Ease-of-use / Self-
service
Continuous monitoring, analytics, and
optimization
*not an exhaustive list
8. Mobile App Development Demo
7
Twilio is a global, cloud based telephony communications platform
IBM BlueMix service catalog offers Twilio as an IBM certified 3rd party
service
Twilio + IBM BlueMix help developers:
build applications that communicate
integrate voice, messaging and VOIP with web and mobile
applications using a single API
eliminate complexity of traditional telephony systems
quickly design applications for mobile platforms
9. BlueMix Apps from IBM Customers
8
Web Applications Mobile Backends
• Scalable cloud centric web
applications and APIs supporting
mobile workloads
• Leveraged many different language
runtimes (Ruby, PHP, JavaScript,
Java)
• Migration from competitive offerings:
Heroku, Amazon, Rackspace
• Back end services replacing
custom code hosted on IaaS (e.g.
Push Notification)
• Cloud Code for offloading business
logic from the mobile client
• Integrated into iOS and Android
native applications using BlueMix
www.eyeqinsights.com www.themymenu.com
10. Why Develop with IBM BlueMix?
Focus on your code and forget about the infrastructure
Use the languages, runtimes, and frameworks that you
know
Get your app to your users quicker and with less effort
Enhance your app with IBM and partner provided services
Integrate your on-premise systems with a cloud platform
Build with the development tools that work best for you
9
A PaaS is software that is usually running on top of an IaaS and abstracts the complexities of the IaaS away
BlueMix runs on top of Softlayer
Your app runs on top of BlueMix and has no knowledge of the IaaS layer
Why Not Just Use IaaS?
It might be just as easy to get started at the IaaS layer if you use a prebuild image
Over time though the maintenance of this image increases the cost
OS updates, security updates, new versions of libraries, DNS and networking changes, configuration and maintenance of other services like DBs, etc
At the PaaS layer all of this cost disappears! The platform takes care of it for you!
There is an increasing appetite for cloud-based mobile, social and analytics applications from line-of-business executives - drives the need for a more open cloud development platform
Focus on app development, not provisioning VMs, databases, messaging servers, etc
Agile development model
Deploy and scale in seconds
Cloud Foundry has a compelling community and emerging ecosystem as well as a mature set of capabilities and robustness
318 companies supporting
14K individual members
1410 developers; 350 avg monthly contributors