VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
fiu-cloud-hackathon-lec1-v6
1. An Introduction to IBM Bluemix:
A Cloud Foundry based
Platform as a Service (PaaS)
By Carl Osipov
IBM
Bluemix
www.bluemix.n
2. Introduction
Carl Osipov
Over 15 years in the IT industry
Senior Solutions Architect at IBM Cloud
Background in C/C++/Java/JEE/Node.JS
distributed systems, web apps, analytics
Email: osipov@us.ibm.com
Blog: http://cloudswithcarl.com
Twitter: @CloudsWithCarl
LinkedIn: https://www.linkedin.com/in/kosipov
3. IBM…how you’ve changed!
Exited commoditized businesses
that no longer fit IBM strategy
DRAM 1999
Network 1999
Flat Panel Displays 2001
Hard Disk Drives 2002
Personal Computers 2005
Printers 2007
Retail Store Solutions 2012
Customer Care BPO 2013
x86 Servers 2014
Acquired & created capabilities to
augment & scale cloud portfolio
$2B spent on Softlayer in 2013
#1 Preferred Provider of IaaS Cloud
for Enterprises (IDC)
Visionary rating in Gartner IaaS
Magic Quadrants (2014)
2015 DeveloperWeek Award went to
IBM Bluemix in Cloud DevOps
Watson Dev Zone is now on Bluemix
Over $1B investment to support
IBM Bluemix and hybrid cloud
4. 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
Inspirational Examples for your
Project
Watson Personality Modeling Celebrity Match
http://your-celebrity-match.mybluemix.net/
People In The News
http://pitn.mybluemix.net/
Follow air traffic with a Flight Status and
Tracking app
http://www.ibm.com/developerworks/cloud/lib
rary/cl-flighttracker-app/index.html
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
Cloudant Document-oriented NoSQL
Database
DB2 Relational Database
Sendgrid Email as a Service
Twilio Telephony as a Service
Agenda
5. What is a Platform as a Service (PaaS)?
• Capability provided to a Consumer of cloud computing
• Enables the Consumer to deploy applications onto the cloud infrastructure
• using programming languages libraries, services, and tools supported
by the cloud computing Provider.
• Provides Consumer with control over the deployed applications
• Does not require Consumer to manage the underlying cloud
infrastructure including network, servers, operating systems, or storage
• Optionally provides control over configuration settings for the application
hosting environment
6. 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
7. Cloud Foundry PaaS powering Bluemix
Developer
Focus
Fastest Growing
PaaS Community
Open Source
Platform
Founding Members:
8. Cloud Foundry Conceptual Architecture
Identity management service for the
platform. Also acts as an OAuth2 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)
9. Cloud Foundry + IBM = Bluemix
Services
Catalog
App Lifecycle
Management
(DevOps)
Application
Runtime
Runtimes &
Buildpacks
Middleware Application Operational Mobile ExternalData
nodejava 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
Requirements mgmt, planning,
defect tracking, build, test, and
deploy
Git compatible source control
Runtimes and
buildpacks
Starter kits for
Mobile, Internet of
Things, Web, and
other types of
apps
10. Mobile App Development Demo
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
11. Cloud Foundry Concepts To Remember
Warden: A packaging / container mechanism used to achieve
application isolation in the Cloud Foundry environment (similar to
Docker, uses LXC)
Droplet: A Warden container instance containing everything that is
needed in order to successfully run your application, e.g. JVM, Liberty
core libraries, the application itself, short of the operating system.
Buildpack: A collection of code that is responsible for transforming
pushed application artifacts into a ready to run droplet, in a process
referred to as ‘staging’.
Services: Code that Bluemix hosts that offers functionality for apps
ranging from utility functions to very complex business logic
12. • Heterogeneous infrastructure
• Multiple scalability models
• High infrastructure resiliency
• Multi-tenancy with virtualization
• Self-service provisioning
• Moderate cost
Cloud Enabled
Existing Middleware Workloads
Compatibility with existing systems
• Standardized infrastructure
• Horizontally scalable
• Built-in application resiliency
• Built-in multi-tenancy
• Elastic provisioning
• Lowest pay per use cost
Cloud Native
Emerging Platform Workloads
Exploitation of new environments
vs
Use Cases for PaaS vs. IaaS
13. Bluemix Apps from IBM Customers
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
14. Hackathon: How to Get Started
Play
Log in and use the catalog to spin up a boilerplate or a runtime
Check out all of the different IBM, third party, and community services
Use the "getting started" guide to download the starter code
Deploy
Get the Cloud Foundry command line tool
Make any change to the starter code (and compile if using Java)
cf push to Bluemix using the Cloud Foundry
Brainstorm
Who will be the end user of my app?
What problem(s) am I trying to solve for the user?
https://github.com/osipov/fiu-2015-hackathon
15. Inspirational Examples for your Project
Explore the personality of your favorite author
http://authors.mybluemix.net/
People In The News http://pitn.mybluemix.net/
Follow air traffic with a Flight Status and Tracking app
http://www.ibm.com/developerworks/cloud/library/cl-flighttracker-
app/index.html
Remote Control of a Lego
Robothttps://developer.ibm.com/bluemix/2015/01/19/remote-control-ev3-
robot-via-ibm-bluemix-iot/
Your Twitter Celebrity Match http://your-celebrity-match.mybluemix.net/
Buying a smartphone with Watson Tradeoff Analyticshttp://tradeoff-
analytics-demo.mybluemix.net/
14
16. Resources: Where to get help
Documentation:
https://www.ng.bluemix.net/docs/index.jsp
developerWorks: http://developer.ibm.com/bluemix
Developer Q&A Forum:
https://www.ibmdw.net/answers/?community=bluemix
Sample Apps & Tutorials:
https://www.ibmdw.net/bluemix/docs/articles/,
https://www.ibmdw.net/bluemix/docs/sample-code/
Blog: https://www.ibmdw.net/bluemix/blog/
Twitter: #Bluemix
17. 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
21. “…we were able to
quickly and easily
embed Watson's
capabilities into our
eyeQinsights platform
to provide an even
more personalized
shopping experience”
“we’re able to work with
cognitive computing
capabilities that we
couldn’t dream of
creating ourselves - it’s
a fantastic opportunity
and a real chance to
transform our industry”
“[this] is like putting the
Hubble telescope in the
hands of a backyard
astronomer… Watson’s
cognitive possibilities
alone will spawn a
completely new service
industry…”
22. What are the Properties* of a Cloud Native
App?
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
Editor's Notes
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
SCIM = Secure Cross-domain Identity Management
Identity management service for the platform. Acts as an OAuth2 and SCIM* provider.