Developing for Hybrid Cloud with Bluemix
-
Upload
roberto-pozzi -
Category
Technology
-
view
627 -
download
3
Transcript of Developing for Hybrid Cloud with Bluemix
The app revolution
Apps are everywhereThe quantity and usefulness of
web and mobile apps has led to
an “app revolution” among
consumers and businesses alike.
Experience mattersCustomers and employees now
expect a delightful and
seamless experience across all
interactions with a business.
Cloud makes it possibleApps today can be stitched
together quickly with pre-built
assets. Cloud makes the API
economy possible.
Fundamentally changing the way we interact with technology.
App development is about speed and choice
Failing
Fast
Seconds to
Deploy Friction
Free
Any
Language
Continuous
Integration
Mobile
Ready
Focus on
Code
Choice of
Tools
Useful
APIs
Developers’ expectations have evolved.
3
Core IT
Today’s apps must keep up with the speed of the app revolution.
Timing is critical…
4
Benefits
Fully customizable.
Few limitations.
Necessary for some solutions.
Existing Investments.
Time Commitment
Weeks to setup and deploy.
Maintenance/upgrades of
hardware and software.
~ Weeks ~ Days
Code
Data
Runtime
Middleware
OS
Virtualization
Servers
Storage
Networking
~ Minutes
Time to initial deployment
Customer Managed
5
Benefits
Most control in the cloud.
Necessary for some solutions.
Infrastructure managed by SP.
Infrastructure as a ServiceCustomer Managed
Service Provider Managed
~ Days
Time Commitment
Minutes to provision VM.
Time to configure software
and apps varies.
Maintenance/upgrades of OS,
middleware, runtime.
IBM SoftLayer
Timing is critical…
~ Minutes
Code
Data
Runtime
Middleware
OS
Virtualization
Servers
Storage
Networking
~ Weeks
Core IT
Today’s apps must keep up with the speed of the app revolution.
Time to initial deployment
6
~ Minutes
Platform as a ServiceCustomer Managed
Service Provider Managed
IaaS
Benefits
Setup environments and
deploy apps very quickly.
Infrastructure and platform
managed by SP.
Time Commitment
Minutes to setup and deploy.
Focus on your apps and their
data.
Timing is critical…
~ Weeks
IBM Bluemix
~ Days
Time to initial deployment
Code
Data
Runtime
Middleware
OS
Virtualization
Servers
Storage
Networking
Core IT
Today’s apps must keep up with the speed of the app revolution.
7
IaaS PaaS
…so are all of your other investmentsLeverage the power of Bluemix without abandoning what you already use.
Core IT
IBM Bluemix
USE CASE DESCRIPTION
The use case demonstrates how to access an IBM i program from a
web app.
The original program is an RPG program that allows to get the reseller
list using the area code.
We have implemented two different use cases, in order to show how to
integrate Bluemix Web App with an RPG program behind the firewall:
1.In the first case, using the WebSphere Application Server Liberty
Profile, we have exposed a REST service which calls, via IBM i
Toolbox library, the RPG program running on V7R1. The front-end
application is on Bluemix, using “Liberty for Java and it consumes the
REST service exposed via Internet.
2.In the second case, using Cast Iron Live we have exposed an API
that calls a REST service behind the firewall, through the Cast Iron
Secure Connector. The Cloud Integration Service on Bluemix,
consumes the REST service, leveraging Cast Iron Live. The front-end
application is on Bluemix using “Node.js”.
What you need
• IBM i V7R1 + Toolbox for Java and JTOpen
• Bluemix app WAS Liberty
• Server WAS Liberty Profile v8.5
• Exspose the REST service via firewall
OPTION 1
BluemixWAS
Liberty(DMZ)
IBM i(IIC: 172.17.192.142)
War Application
Call IBM i via
Toolbox
(Intranet
Call)
Call servizio
REST
(Internet Call)
Firewall
NAPT
85.18.90.201:9080
INTERNET
Demohttp://cloudknow-italy-web.mybluemix.net/home.html
OPTION 2
Bluemix
IBM i(IIC: 172.17.192.142)
WAS
Liberty
War
Application
Call servizio
REST
(Internet Call)
Firewall
NAPT
85.18.90.201:9080
INTERNET
Systems of Record
Systems of EngagementHybrid
Composable Services
Infrastructure Services
High Velocity
Accelerate application delivery across Hybrid IT
BluemixTM
Traditional IT
• Data & Transactions
• App Infrastructure
• Virtualized Resources
• Expanding Interface Modalities
• Big Data and Analytics
• Social Networking
Systems of Record
Systems of EngagementHybrid
Composable Services
Infrastructure Services
High Velocity
Accelerate application delivery across Hybrid IT with DevOps
BluemixTM
Traditional IT
Rational Developer for IBM i
Maintain/evolve
traditional
applications
Develop new
Front end
What you need
• IBM i V7R1 + Toolbox for Java and JTOpen
• Server Linux con WAS Liberty Profile v8.5
+ Secure Connector Cast Iron Live
• Bluemix app con Node.js
+ Cloud Integration Service
(172.17.192.142)
Was
Liberty
172.17.196.112
Cast Iron
connector
Customer firewall
Cast Iron studio
System integrator
1
2
3
1. Install Cast Iron agent on the
machine exposing the rest service
and connect it to the Cast Iron
Cloud service
2. Model the orchestrationto to
connect and map rest api/data
across the two endpoints ( Cast
Iron Cloud and Ubuntu node )
3. Export orchestration file and deploy
it to Cast Iron Cloud service
Integrate on-prem data in a Bluemix application (1/2)
Dimostrazione http://demo-ibmi-node.mybluemix.net/
(172.17.192.142)
Was
Liberty
172.17.196.112
Cast Iron
connector
Customer firewall
Developer
1. Develop the application requiring to access
on-prem data
2. Create Cloud integration add-on linking it to
the orchestration artifact previously
deployed on the Cast Iron Cloud service
3. Bind the application to the cloud integration
add-on
4. Test/run the applicaiton
5. (Optionally) updated orchestration plan
could be injected later on (no application
impact)
Integrate on-prem data in a Bluemix application (2/2)
2
1
3
4
Cast Iron studio
System integrator
5