More Related Content Similar to Microservices on Anypoint Platform (20) Microservices on Anypoint Platform1. All contents © MuleSoft Inc.
Rupesh Ramachandran
Ugorji Nwoke
Microservices on Anypoint
Platform
2. All contents © MuleSoft Inc.
Container, VM
or
PaaS
Microservices anatomy
Business
logic
Integration logic
Connectivity
logic
Proxy
API contract
3. All contents © MuleSoft Inc.
Different variations of microservices
Business
logic
Integration logic
Connectivity
Business
logic
Integration
logic
Connectivity
Business
microservices
(Code)
Connectivity
microservices
Most commonly
thought about
microservice type
4. All contents © MuleSoft Inc.
Different variations of microservices
Business
logic
Integration logic
Connectivity
Business
logic
Integration
logic
Connectivity
Business
microservices
(Code)
Connectivity
microservices
Most commonly
thought about
microservice type
5. All contents © MuleSoft Inc.
6 Microservices Architecture & State Management Patterns
Fine Grain SOA
Message Driven Isolating State
Layered API’s Event driven Replicating State
6. All contents © MuleSoft Inc.
Integration patterns applied to microservices
Backend
Aggregate or Proxy
Chain or mashup of services Abstract the backend
Branching services Micro data gateway Asynchronous
( e.g., queue)
Data
10. All contents © MuleSoft Inc.
Operate
AnalyzeApply Policies
Publish
Document
Simulate
Full API Lifecycle – ‘Connectivity’ Microservice
10
Implement Secure Manage Monitor
Feedback
Design
Implement
Test and
Deploy
Automate
11. All contents © MuleSoft Inc.
Operate
AnalyzeApply Policies
Publish
Document
Simulate
Full API Lifecycle – ‘Code’ Microservice
11
Implement Secure Manage Monitor
Feedback
Design
Test and
Deploy
Automate
12. All contents © MuleSoft Inc.
RAML specification
• Traits
• ResourceTypes
• SecuritySchemes
• Re-usable properties
• ….
Anatomy of a Mule microservice
Mule
deployable
archive
(.zip)
Mule Runtime
Logic
Connectivity
API Contract
Conectivity
• MQ, Database, SOAP,
• HTTP, SaaS, COTS
• Protocol implementation
• Connections/resources
• management
• Pooling
…
Business Logic flows
• Routing
• Enrichment
• Transformation
• Aggregation
• Parallel execution
• Splitting
• ….
13. All contents © MuleSoft Inc.
VM
OS
Container
Java Virtual Machine
Mule Runtime
Mule microservice on private PaaS
Logic
Connectivity
API Contract
PaaS
14. All contents © MuleSoft Inc.
CloudHub
Mule microservice on MuleSoft PaaS (CloudHub)
Mule Runtime
Logic
Connectivity
API Contract
• Fully hosted and managed
• Secure, scalable, HA, DR
• Self-serve
• Global coverage and InfoSec
• No Microservice Premium
15. All contents © MuleSoft Inc.
Test
Staging
Mule SDLC Overview
Development
Production
1
2
Anypoint Studio
3
4
5
6
7
8
9
Run
Tests
Run Build
Process
DEVELOPMENT
STAGING
PRODUCTION
Create Mocked TestsCreate Unit Tests Functional Tests
Create and Run Tests
Mule
App
Developer
MUnit
Run Mocked
Tests
Run Unit
Tests
Mule
App
16. All contents © MuleSoft Inc.
3rd Party Tools
Build Runtime Platform Deploy, Manage, Scale
CI/CD
Studio
JUnit
Dev
Test
Stage
Prod Anypoint Platform
(on-premises)
Runtime
Manager
API
Manager
Exchange
Commit
Ship
Image
Development Operations
Mgmt Agent
17. All contents © MuleSoft Inc.
3rd Party Tools
Build Runtime Platform Deploy, Manage, Scale
CI/CD
Studio
JUnit
Anypoint Platform
(on-premises)
Runtime
Manager
API
Manager
Exchange
Commit
Push
Development Operations
Cloud Foundry Elastic Runtime
18. All contents © MuleSoft Inc.
Legacy
ESB
Mainframe
FTP
SaaS apps
LOB 1
Global System / Backend
System API’s
Process API’s
Experience API’s
LOB 2
System API’s
Process API’s
Experience API’s
Global Frontend
Autonomy with a decentralized platform
Biz Apps
Business Groups
19. All contents © MuleSoft Inc.
Unified platform for integration microservices
Event-driven Microservices
API-led Microservices
Cross boundary visibility
21. All contents © MuleSoft Inc.
Cloud Foundry Elastic Runtime
Creating PCF services with Mule Flows
Cloud Foundry Router
Consumer
Anypoint
Exchange
Anypoint API
Manager
Anypoint
Studio
Build services
with Mule
Flows
Enforce policies, catalog and
monitor directly from Anypoint
Management Center
22. All contents © MuleSoft Inc.
Managing existing PCF services – Elastic API proxies
Cloud Foundry Elastic Runtime
Cloud Foundry Router
Consumer
Anypoint
Exchange
Anypoint API
Manager
Auto-deploy proxies to enforce
policies, catalog and monitor
directly from Anypoint
Management Center