join the revolution: the interconnected world with ibm bluemix and iot foundation: joy patra:...
TRANSCRIPT
© 2015 IBM Corporation
IBM Cloud: Think it. Build it. Tap into it.
Join The Revolution: The Interconnected Worldwith
IBM Bluemixand
Internet of Things Foundation
© 2015 IBM Corporation3
What is Bluemix
What does Bluemix mean to developers
IBM Internet of Things Foundation
The IoT Recipes on Bluemix
Architecture of the Demo Application
Pre-requisites and let’s go!
IBM IoT Security Event
Not included in this session:
• Bluemix commercials
• Details of individual technologies such as MQTT or hardware kits
What are our focus in this session
© 2015 IBM Corporation5
What is Bluemix?
5
Bluemix is an open-standard, cloud-based platform for building,
managing, and running applications of all types (web, mobile, big data,
new smart devices, and so on).
Go Live in Seconds
The developer can choose
any language runtime or
bring their own. Zero to
production in one command.
DevOps
Development, monitoring,
deployment, and logging
tools allow the developer to
run the entire application.
APIs and Services
A catalog of IBM, third party,
and open source API services
allow the developer to stitch an
application together in minutes.
On-Prem Integration
Build hybrid environments.
Connect to on-premise assets
plus other public and private
clouds.
Flexible Pricing
Sign up in minutes. Pay as
you go and subscription
models offer choice and
flexibility.
Layered Security
IBM secures the platform and
infrastructure and provides
you with the tools to secure
your apps.
© 2015 IBM Corporation6
How does Bluemix work?
Bluemix embraces Cloud Foundry as an open source Platform-as-a-
Service and extends it with IBM, third party, and community built services.
© 2015 IBM Corporation7
Create apps quickly with prebuilt services
7
• Runtimes, services, and tooling
up to you
Choice
Industry Leading IBM Capabilities• Services leveraging the
depth of IBM software
• Full range of capabilities
Completeness
• Open source platform and services
• Third party to enable key use cases
Security
Services
Web and
application
services
Cloud
Integration
Services
Mobile
Services
Database
services
Big Data
services
Internet of
Things
Services
Watson
Services
DevOps
Services
A full range of capabilities to suit any great idea
© 2015 IBM Corporation9
Why are developers using Bluemix?
9
Go from zero to running
code in a matter of
minutes.
Automate the development
and delivery of many
applications.
To rapidly bring
products and services to
market at lower cost
To continuously deliver
new functionality to their
applications
To extend existing
investments in IT
infrastructure
Extend existing investments by
connecting securely to on-premise
infrastructure.
© 2015 IBM Corporation12
IBM Internet of Things Foundation: What is it?
An offering within Bluemix that allows Internet-connected
devices to be integrated directly into Bluemix solutions
Industry-specific Solutions
Operate Manage
Analyze and Optimize
Products, Assets, Infrastructure
Protocols and Gateways
Se
cu
re
Connect, Collect and Store
Design & Engineer
Connect, Collect and Store information from a range of things with range of volume, variety and velocity
© 2015 IBM Corporation13
IBM Internet of Things FoundationRapidly compose analytics applications, visualisation
dashboards, and mobile IoT apps
1. Management API
2. Real-time data API
3. Historical data API
Secure + Connect
(Messaging)
Collect Data(Historian)
Manage Connections(IoTF Portal)
2Assemble
Analytics
IBM IoT
Foundation
IBM Bluemix
Mobile
13
© 2015 IBM Corporation14
What IBM IoTF does for you
Device Registration Register and connect any device to our service
using our dashboard UI or APIs. To get you up
and running fast, we have verified instructions or
'recipes' for connecting devices, sensors, and
gateways
Responsive,
Scalable
Connectivity
We use the industry-standard MQTT protocol
(OASIS ratified) to connect devices and
applications. MQTT is designed for efficient
exchange of data to and from devices in real-
time.
Secure
Communication
Securely receive data from and send commands
to your devices. Do this using MQTT with TLS to
secure all communication between your devices
and our service.
Storage and Access
to Data
As well as having access to real-time data
coming from your devices, you can opt to store
data for a period of your choice, allowing you to
have access to historical and real-time data for
your devices.
© 2015 IBM Corporation15
MQTT
Open
Lean
Simple
Reliable
Push device data to IoTF using secure, reliable MQTT
Open royalty free spec
Wide variety of clients and servers• Hobbyist to enterprise
• Open source to commercial
Minimal pub/sub messaging
semantics
• Asynchronous (“push”)
delivery
• Simple set of verbs --
connect, publish, subscribe
and disconnect
Minimized on-the-wire format
• Smallest packet size 2 bytes
Scalable
Low footprint
• Clients: C=30Kb; Java=100Kb
Three qualities of service
• 0 – at most once delivery
• 1 – assured delivery dups ok
• 2 – once and once only delivery
Copes with loss of contact between client
and server.
• “Last will and testament” to publish a
message if the client goes offline.
© 2015 IBM Corporation16
Developers follow simple steps for rapid development
• Visually define logic flows
• Mix with other services in Bluemix to
create apps
• Select from a growing list of device recipes
• Simply connect & “recognize” device types
• Visualize real-time data stream
© 2015 IBM Corporation18
Value of IoT is led by both Makers and Operators
Enabledby Cloud
makers operatorsThe creation of smarter,
connected products will
redefine every industry
with new capabilities that
improve functionality,
reduce costs, and deliver
new value
The operation of old and
new systems, now
integrated with intelligent
things, can become
interactive, reactive, and
adaptive; to each other,
people and places
INSIGHT
changes the way we
design, secure, and
operate
IoT needs a complete ecosystem
© 2015 IBM Corporation19
MediaTek LinkIt™ ONE platform enables you to design and prototype
Wearables and Internet of Things (IoT) devices
Bluemix Recipe for MediaTek LinkIt ONE:
https://developer.ibm.com/recipes/tutorials/how-to-connect-mediatek-linkit-one-
development-board-to-ibm-bluemix/
Source Code: https://github.com/iotgeek/LinkItONE-IBMBluemix
MediaTek LinkItONE is a Maker kit
© 2015 IBM Corporation23
Underlying technologies are popular standards
IoTF
Service
Cloudant
Service
Python
runtimeSecure
WebSockets
MQTT (Paho) /
WebSockets
HTML /
HTTPS
HTML /
HTTPS
MQTT
Javascript, Google Map
Javascript, WebGL, Google Map
© 2015 IBM Corporation24
The base source code is available at: https://github.com/ibm-
messaging/iot-python/tree/master/samples/bluemixZoneDemo
I have added features such as device tracking on a map, and data
simulation. These are your homework.
You can try the demo yourself
© 2015 IBM Corporation25
Pre-Requisites
• Android 3.0, Firefox 6, Chrome 7, Safari Mobile 4.2
• Your device hardware has motion detection and accelerometer
• You have not disabled motion detection and acceleration detection
• You have enabled location detection (high accuracy will give better results)
• You have connected your device to internet
Let’s go!
http://iotdemojoypatra.mybluemix.net/
© 2015 IBM Corporation27
IoT Zone in Bluemix: https://bluemix.net/solutions/iot
Explore the Recipes: https://developer.ibm.com/iotfoundation/recipes/
Follow the community on Twitter: @IBMIoT
IBM Internet of Things Foundation: https://internetofthings.ibmcloud.com/
Start your IoT project today!
© 2015 IBM Corporation28
Security & Internet of Things: A world of possibilities
November 12th 10:00-12:15 p.m. New York time
Location: IBM AoT THINK Livesteam Channel
http://www.livestream.com/ibmaotthink
Event is open to everyone age 10 and up!
Have you ever stopped to wonder that with so many devices connected, collecting,
and transmitting data about our lives, what are the security implications of these
"Things"? How do we protect ourselves as they become ever embedded within our
homes, work, and lives?
IBM Academy of Technology THINK Event
You're Invited!