ibm i and bluemix · •bluemix is an implementation of ibm's open cloud architecture, based...
TRANSCRIPT
IBM i テクニカル・ワークショップ 2016
© 2016 IBM Corporation
IBM i and BlueMix
Jesse R. Gorzinski, MBA
IBM i Emerging Solutions
IBM i テクニカル・ワークショップ 2016
© 2016 IBM Corporation
What is BlueMix?
© 2016 IBM Corporation
IBM i テクニカル・ワークショップ 2016
What is CloudFoundry?
https://www.ibm.com/developerworks/cloud/library/cl-bluemixfoundry/
• Open source platform as a service (PaaS) that lets you quickly create and
deploy applications on the cloud.
• It abstracts the underlying infrastructure needed to run a cloud
• Developers and organizations can choose:
– Development Frameworks: Cloud Foundry supports Java™ code,
Spring, Ruby, Node.js, Python, and custom frameworks.
– Application Services: Cloud Foundry offers support for MySQL,
MongoDB, PostgreSQL, Redis, RabbitMQ, and custom services.
– Clouds: Developers and organizations can choose to run Cloud Foundry
in Public, Private, VMWare and OpenStack-based clouds.
© 2016 IBM Corporation
IBM i テクニカル・ワークショップ 2016
What is Bluemix?
https://www.ibm.com/developerworks/cloud/library/cl-bluemixfoundry/
• Bluemix is an implementation of IBM's Open Cloud Architecture, based on
Cloud Foundry
• Enables you to rapidly create, deploy, and manage your cloud applications.
• Because Bluemix is based on Cloud Foundry, you can tap into a growing
ecosystem of runtime frameworks and services, from both IBM and the
community
• Bluemix provides a dashboard for you to create, view, and manage your
applications and services as well as monitor your application's resource usage.
IBM i テクニカル・ワークショップ 2016
© 2016 IBM Corporation
IBM i and Bluemix –Speaking the same language!
© 2016 IBM Corporation
IBM i テクニカル・ワークショップ 2016
Bluemix runtimes
6
© 2016 IBM Corporation
IBM i テクニカル・ワークショップ 2016
Bluemix runtimes
7
IBM i テクニカル・ワークショップ 2016
© 2016 IBM Corporation
IBM i and Bluemix – Usage scenarios
© 2016 IBM Corporation
IBM i テクニカル・ワークショップ 2016
How can I use BlueMix with IBM i?
• At a high level, Bluemix offers a complete development and hosting solution.
• This can be broken down into:
– A development environment
– Language runtime
• Typically, IBM i is used as the back-end (system of record) at runtime
• So, we have several options for utilizing BlueMix!
© 2016 IBM Corporation
IBM i テクニカル・ワークショップ 2016
Four use cases
Non-Bluemix Bluemix
development
Bluemix
front-end
Bluemix dev
+ front-end
Development
front-end
(Systems of
Engagement)
back-end
(Systems of
Record)
© 2016 IBM Corporation
IBM i テクニカル・ワークショップ 2016
BlueMix development
Non-Bluemix Bluemix
development
Bluemix
front-end
Bluemix dev
+ front-end
Development
front-end
(Systems of
Engagement)
back-end
(Systems of
Record)
© 2016 IBM Corporation
IBM i テクニカル・ワークショップ 2016
BlueMix development
• Develop your application using BlueMix
• When you want to deploy, move code to IBM i
• IBM i runs both the front-end and back-end code
• Advantages:
– Robust development environment of BlueMix
– All code is ultimately deployed and running on IBM i
© 2016 IBM Corporation
IBM i テクニカル・ワークショップ 2016
Bluemix front-end
Non-Bluemix Bluemix
development
Bluemix
front-end
Bluemix dev
+ front-end
Development
front-end
(Systems of
Engagement)
back-end
(Systems of
Record)
© 2016 IBM Corporation
IBM i テクニカル・ワークショップ 2016
BlueMix front-end
• Develop your application on IBM i
• When you want to deploy, move code to BlueMix
• BlueMix runs the front-end, IBM i runs the back-end code
• Advantages:
– No need to manage web server, etc. All handled by BlueMix
– Only IBM i setup needed is XMLSERVICE
© 2016 IBM Corporation
IBM i テクニカル・ワークショップ 2016
BlueMix development and front-end
Non-Bluemix Bluemix
development
Bluemix
front-end
Bluemix dev
+ front-end
Development
front-end
(Systems of
Engagement)
back-end
(Systems of
Record)
© 2016 IBM Corporation
IBM i テクニカル・ワークショップ 2016
BlueMix development and front-end
• Develop your application using BlueMix
• When you want to deploy, move code to IBM i
• IBM i runs both the front-end and back-end code
• Advantages:
– Robust development environment of BlueMix
– No need to manage web server, etc. All handled by BlueMix
– Only IBM i setup needed is XMLSERVICE
© 2016 IBM Corporation
IBM i テクニカル・ワークショップ 2016
How to connect to IBM i from BlueMix
• Two ways (at least)
1. XMLSERVICE
2. MySQL
© 2016 IBM Corporation
IBM i テクニカル・ワークショップ 2016
Connect to IBM i via XMLService
• Works for Node.JS, PHP, Python, Ruby
© 2016 IBM Corporation
IBM i テクニカル・ワークショップ 2016
Connect to IBM i with MySQL
• Bluemix languages have connectors for MySQL
• Bluemix services include MySQL
• MySQL server available on IBM i via Zend DBi offering
© 2016 IBM Corporation
IBM i テクニカル・ワークショップ 2016
Connect to IBM i with DB2 Connect
• Integrated with services available in Bluemix
• Requires separate licensing
IBM i テクニカル・ワークショップ 2016
© 2016 IBM Corporation
Eclipse Orion – Gateway to BlueMix?
© 2016 IBM Corporation
IBM i テクニカル・ワークショップ 2016
What is Eclipse Orion?
• Eclipse Orion is a web-based IDE
• Rich git integration
• Soon to be shipped with 5733OPS
© 2016 IBM Corporation
IBM i テクニカル・ワークショップ 2016
Eclipse Orion – Deploy to BlueMix!
• Can develop application in Orion (IBM i, Windows, Linux, other) and deploy to
BlueMix!
• Publicly documented here:
http://www.eclipse.org/community/eclipse_newsletter/2015/april/article2.php
© 2016 IBM Corporation
IBM i テクニカル・ワークショップ 2016
Demo
http://myibminodejs.mybluemix.net/
IBM i テクニカル・ワークショップ 2016
© 2016 IBM Corporation
Thank you!