ibm bluemix, a cloud foundry based

22
An Introduction to IBM Bluemix: A Cloud Foundry based Platform as a Service (PaaS) By Carl Osipov IBM Bluemix www.bluemix. net

Upload: ana-alves-sequeira

Post on 16-Apr-2017

810 views

Category:

Data & Analytics


2 download

TRANSCRIPT

Page 1: IBM Bluemix, A Cloud Foundry based

An Introduction to IBM Bluemix:A Cloud Foundry based

Platform as a Service (PaaS)By Carl Osipov

IBM Bluemix

www.bluemix.net

Page 2: IBM Bluemix, A Cloud Foundry based

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: [email protected] Blog: http://cloudswithcarl.com Twitter: @CloudsWithCarl LinkedIn: https://www.linkedin.com/in/kosipov

Page 3: IBM Bluemix, A Cloud Foundry based

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

Page 4: IBM Bluemix, A Cloud Foundry based

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/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/

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 Node-Red Graphical Code Editor

Agenda

Page 5: IBM Bluemix, A Cloud Foundry based

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

Page 6: IBM Bluemix, A Cloud Foundry based

More about Service Models Bluemix is a Platform as a Service (PaaS)

IBM SoftlayerAmazon EC2Azure Infrastructure

IBM BluemixGoogle App EngineAmazon Elastic Beanstalk

Page 7: IBM Bluemix, A Cloud Foundry based

Cloud Foundry PaaS powering Bluemix

Developer Focus

Fastest Growing PaaS Community

Open Source Platform

Founding Members:

Page 8: IBM Bluemix, A Cloud Foundry based

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)

Page 9: IBM Bluemix, A Cloud Foundry based

Cloud Foundry + IBM = Bluemix

Services

Catalog

App Lifecycle Management

(DevOps)

ApplicationRuntime

Runtimes &Buildpacks

Middleware Application Operational Mobile ExternalData

nodejava ruby phpWebSphereLiberty

Web IDE(Eclipse Orion) Eclipse IDE

ApplicationCompositionEnvironment

Create & Manage Services

Test/Run Test/Run

ExploreServices

ExploreServices

IBM BluemixCheck 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

Page 10: IBM Bluemix, A Cloud Foundry based

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

Page 11: IBM Bluemix, A Cloud Foundry based

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

Page 12: IBM Bluemix, A Cloud Foundry based

• Heterogeneous infrastructure• Multiple scalability models• High infrastructure resiliency• Multi-tenancy with virtualization• Self-service provisioning• Moderate cost

Cloud Enabled

Existing Middleware WorkloadsCompatibility 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 WorkloadsExploitation of new environments

vs

Use Cases for PaaS vs. IaaS

Page 13: IBM Bluemix, A Cloud Foundry based

Bluemix Apps from IBM CustomersWeb 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

Page 14: IBM Bluemix, A Cloud Foundry based

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

Page 15: IBM Bluemix, A Cloud Foundry based

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.htmlRemote 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/

15

Page 16: IBM Bluemix, A Cloud Foundry based

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

Page 17: IBM Bluemix, A Cloud Foundry based

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

Page 18: IBM Bluemix, A Cloud Foundry based
Page 19: IBM Bluemix, A Cloud Foundry based
Page 20: IBM Bluemix, A Cloud Foundry based

Global Footprint

Page 21: IBM Bluemix, A Cloud Foundry based

“…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…”

Page 22: IBM Bluemix, A Cloud Foundry based

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 componentsModular, Non-monolithic Architecture, Loosely CloupledRapid continuos development, build, integration, test, & deployment

Design for failure (Automated recovery, Granular failure)May use and combine internet based services Accessible via idempotent APIsAccess back to systems of record (SOA, REST)Personalization / Ease-of-use / Self-service Continuous monitoring, analytics, and optimization

*not an exhaustive list