Post on 06-May-2015
BizTalk Server 2013, Windows Azure Service Bus, BizTalk Services and REST
Hybrid Solutions: Integration
Architect & Microsoft Integration MVP
• Author
• Speaker
• Community
• Runner
Steef-Jan Wiggers
3
Key takeaways
Give a clear picture of building hybrid solution using the Microsoft Integration Stack
Considerations when building hybrid solutions
View on the different integration components
4
What does Hybrid mean?
5
Scope
6
Different flavors of hybrid integration solutions
On premise – Cloud
Extend reach of existing integration solutions to cloud
services
(BizTalk Server 2013)
Cloud – On premise
Integrate cloud services with on premise LOB applications
(Windows Azure BizTalk Services)
Store and forward, pub/sub, load balancing/levellingWindows Azure Service Bus
7
Hybrid solutions
Enterprise
ERPLOB DATABASESMAINFRAME
Service BusBizTalk Services
Partners
Windows AzureDevices
SaaS Apps
BizTalk Server
8
Hybrid scenario’s
HYBRID APPS
B2B
SAAS INTEGRATION
9
BizTalk Server 2013
• Run BizTalk Server in the cloud (IaaS)• Virtual Machine in Windows Azure
• Connectivity with SaaS solutions• Brokered (Service Bus)
• Direct (Relay)
• Platform as a Service (PaaS)• Deploy integration solutions in Windows Azure
10
VM in the Cloud – IaaS
Benefits– Lower TCO– Procurement– Elasticity/Availability
Connectivity– VPN– Web Services
Provisioning– Manually quick create or – Automated using PowerShell– Upload existing Image (VHD)
11
New (WCF-based) adapters: BizTalk 2013
Relay: WCF-BasicHttpRelay, WCF-NetTcpRelay, WCF-WebHttp
Service Bus: SB-Messaging REST: WCF-WebHttp SFTP adapter
Key innovation feature of this BizTalk version are the cloud based adapters!
12
Service Bus
Middleware in the Cloud– Cloud Hosted
Features• Relay Services• Queues• Pub/Sub Reliable Messaging• Notifications• Windows Azure Portal
13
SB-Messaging Adapter
Benefits: Reliable messaging Load levelling/load balancing Low costs, fast Time-to-market
Features:• Brokering (Asynchronous messaging)
• Leverages Access Control Service (ACS) for cloud based authentication
• Sessions (FIFO)
14
Use case: Register running times
TopicSubscriptions
Data Store
BizTalk Server
SB-Messaging
DEMO
15
16
Relay adapters
Benefits: Expose existing interfaces to the cloud quickly and easily Extend reach of data or processes Low cost, fast Time-to-market
Features:• Initially introduced as a BizTalk 2010 Feature pack (Connect for services)
• Expose local and cloud endpoints
• Leverages the BizTalk WCF Publishing Wizard
• Provides 1 way Asynchronous or 2 way Synchronous Request-Response Interactions
• Leverages Access Control Service (ACS) for cloud based authentication
17
Sample scenario with WCF-NetTcpRelay
Extend reach of existing integration solutions to the cloud
Enterprise
ERP
Line of Business
IntegrationBehind
firewall on premise
Custom View
Custom Process
Windows Azure Service Bus
Relay Service
WCF-NetTcpRelay
DEMO
18
19
REST
Benefits:• Support for ‘Lightweight’ integration scenarios
• Many SaaS and Cloud platforms are adopting RESTful APIs (SalesForce, Twitter, Google, Azure)
• Mobility
Features:• Support for exposing and consuming ‘RESTful’ services
• Can be used with and without Service Bus integration
• Provides 1 way Asynchronous or 2 way Synchronous Request-Response Interactions
• Leverages Access Control Service (ACS) for cloud based authentication
20
Sample scenario consuming REST Endpoint
Enterprise
ERP
Line of Business
IntegrationBehind
firewall on premise
FAA Service
Custom Application
WCF-WebHttp
DEMO
21
Dedicated Service
•Dedicated service hosted & managed by Microsoft in its subscription
• Provides isolation for compute and storage
• Predictable performance
• Secure sandboxed environment for each customer/tenant
Infrastructure managed by Microsoft, App by user
• 99.9% uptime SLA from Microsoft
• Service Health monitoring integrated with Azure Portal
• BizTalk applications monitoring through BizTalk Portal
•Raw tracking and monitoring information available in user store
Windows Azure BizTalk Services
23
Windows Azure BizTalk Services
EAI Service• Drag and drop integration solution development
• Out of the box support for common integration patterns
• Connectivity to on-premises LOB systems out of the box
B2B Service• Trading partner management and supplier on-boarding
• Support for X12 and AS2
• Enterprise capabilities such as Archiving, Ack correlation and NRR
Extensible Platform• Rich message processing
• Customization with code for transforms and pipeline stages
• Trading Partner Management API for custom experiences
23
24
BizTalk Services - Bridge
Database ERP BizTalk Adapter Service
Server Explorer
(Visual Studio)
PowerShell CmdLets
Management Service REST API
Lob Relay (Service Host)
Lob TargetLob Target
FTP/SFTP
HTTP
WCF
Blob
Service BusBridge
Cloud Application
25
BizTalk Services - Bridge
Basic building block for building your integration platform
A Bridge is a single message processing unit with 3 parts: Sources: From where the messages originate
Pipeline: Which processes the messages [Flat file, XML, Pass-through]
Destinations: Where the messages are sent to
26
Use case: Runner Data
Database BizTalk Adapter Service
Lob Relay (Service Host)
Lob Target
Service Bus
BridgeRunner Data
Windows Azure BizTalk Services
DEMO
27
Security (access to resources, identity management) Governance (changing schema’s) Availability (hosting of your endpoints, SLA’s) Increased load (more devices, platforms) REST Orientation (lots of API’s are REST based) Interoperability (support for different platforms) Latency (request for tokens)
Hybrid Solutions – Consideration
29
Wrap up
Different options to choose from when building hybrid solutions
BizTalk Server 2013, BizTalk Services and the Service Bus are key components for a hybrid solution
Concepts and technology is easy to understand for BizTalk professionals
Microsoft have taken step forward in innovation, but are not there yet
30
Call to action
• Build your own VM with BizTalk Server 2013 or provision a VM in Windows Azure
• Create your own hybrid solution leveraging the new adapters in BizTalk Server 2013
• Provision a Windows Azure BizTalk Service
• Examine and learn from existing examples:• MSDN Code Gallery
• BizTalk Server 2013 Tutorials
31
Contact
steefjan@msn.com http://www.linkedin.com/in/steefjan@steefjanhttp://soa-thoughts.blogspot.com
Thank you!
32