FIU cloud-hackathon-lec1

13
Introduction to IBM Bluemix: A Cloud Foundry based Platform as a Service (PaaS) By: Carl Osipov [email protected] @CloudsWithCarl http://www.cloudswithcarl.com

Transcript of FIU cloud-hackathon-lec1

Introduction to IBM Bluemix:A Cloud Foundry based

Platform as a Service (PaaS)

By: Carl [email protected]

@CloudsWithCarlhttp://www.cloudswithcarl.com

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/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 DB2 Relational Database

Cloudant Document-oriented NoSQL Database

Sendgrid Email as a Service

Twilio Telephony as a Service

Node-Red Graphical Code Editor

2

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

IBM SoftlayerAmazon EC2Azure Infrastructure

IBM BlueMixGoogle App EngineAmazon Elastic Beanstalk

Cloud Foundry PaaS powering BlueMix

Developer Focus

Fastest Growing PaaS Community

Open Source Platform

Founding Members:

Cloud Foundry Conceptual Architecture

5

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)

Cloud Foundry + IBM = BlueMix

6

Services

Catalog

App Lifecycle Management

(DevOps)

ApplicationRuntime

Runtimes &Buildpacks

Middleware Application Operational Mobile ExternalData

node java ruby phpWebSphereLiberty

Web IDE(Eclipse Orion)

Eclipse IDEApplication

CompositionEnvironment

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

What are the Properties* of a Cloud Native App?

7

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, & deployment

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

Mobile App Development Demo

8

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

BlueMix Apps from IBM Customers

9

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

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

10

Resources Documentation: https://www.ng.bluemix.net/docs/

index.jsp developerWorks: http://developer.ibm.com/bluemix

Sample Apps & Tutorials: https://www.ibmdw.net/bluemix/docs/articles/, https://www.ibmdw.net/bluemix/docs/sample-code/

Developer Forum: https://www.ibmdw.net/answers/?community=bluemix

Blog: https://www.ibmdw.net/bluemix/blog/

Twitter: #BlueMix

11