6th July May,2019: Clustering, Server setup and Hybrid deployment setup using Runtime Manager in Mule 4 Mumbai - India
All contents © MuleSoft Inc. Agenda 2 2:00 PM Introduction 2:30 PM Technical Session 3:30 PM Technical Session and Demo 4:30 PM Break: Tea, Coffee and Snack 5:00 PM Networking 5:30 PM Wrap-up and Plan For Next Meetup
All contents © MuleSoft Inc. Introductions 3 • About the organizer: – Sudeshna Mitra – Manish Yadav – Ranveer Meel – Akshata Sawant • About the sponsor: – Accenture A SHOW OF HANDS: Who is new to this MeetUp?
All contents © MuleSoft Inc. Speakers 4
All contents © MuleSoft Inc. Surprises! 5 • Thanks for your positive enthusiasm …You earned it .. • Certification Vouchers for all! • Be geared up for the quiz sessions at the end of each modules! 
All contents © MuleSoft Inc. Agenda 6 • Introductions • AnyPoint Platform Overview • AnyPoint Runtime Manager • Deployment Strategies • Servers, Server Groups and Clusters • Setting up Clusters • Anypoint Monitoring • Visualizer • Alerts • What’s next • Networking time
AnyPoint Platform Overview (23 mins) [AP]
All contents © MuleSoft Inc. AnyPoint Platform 8 • One Platform for APIs and Integrations • Friendly for Developers • Tools that architects and developers across the enterprise can adopt quickly to design, build, and manage the entire lifecycles of their APIs, applications and products. • Built with open technologies to promote reusability, modularity and collaboration increasing developer productivity and project speed. • One stop solution to manage APIs, its matrices, its monitoring and everything.
All contents © MuleSoft Inc. AnyPoint Components 9 Anypoint Design Center Anypoint Management Center Anypoint Exchange Mule Runtime Engine API Connectors Platform Services Design Manage Scale Engage Run Connect
All contents © MuleSoft Inc. AnyPoint Design Center 10 API Design er Anypoint Studio DevKit APIKitMunit RAML SDKs Offers Low Friction Dev Tools Tools to design APIs easily Implementation of Integration Flows Build Connectors
All contents © MuleSoft Inc. Mule Runtime Engine 11 Combines data and application integration Single runtime deployable in cloud or on-premises Enables SOA, ESB patterns, SaaS, API, Microservices Extensible to SOAP, REST, JMS, AMQP, AS400, IoT Real Time and Batch Processing Map and Transform data with Dataweave Open Architecture Support Common Standards and New Technologies
All contents © MuleSoft Inc. AnyPoint Management Center 12 Unified web interface to administer applications Manage users, APIs, Flows, traffic, and more Monitoring the status, state, of deployments and servers Visualizer Capabilities Flow Monitoring, Alerts, Deployments and much more
All contents © MuleSoft Inc. AnyPoint Connectors 13 Quick and Easy Connectivity Reusable Connectors Inbuilt Connector Devkit AnyPoint Exchange AnyPoint Data Gateway AnyPoint Connector Devkit AnyPoint Connectors Example for AnyPoint Connectors
All contents © MuleSoft Inc. AnyPoint Exchange 14 AnyPoint Connectors AnyPoint Templates Examples WSDL Files RAML APIs Developer Portals
All contents © MuleSoft Inc. Platform Services 15 Platform Services ensures speed, scale, and security AnyPoint Fabric Enterprise Security AnyPoint VPC Cloudhub MQ 100% uptime Millions transactions per second 1000 of Runtimes in hybrid environment Security Capabilities Policies Trust Boundaries Asynchronous Messaging On Prem Servers Connection Standard Encryption Standards Platform as a Service, true cloud-based Integration Fully Manged, Highly Available No Hardware Required A Service of AnyPoint Platform Pub/Sub Scenarios Connect Corporate Data Centres
All contents © MuleSoft Inc. AnyPoint Platform: Recap 16 AnyPoint Platform AnyPoint Design Center Mule Runtime Engine AnyPoint Management Center AnyPoint Connectors AnyPoint Exchange Platform Services
AnyPoint Management Center (10-12 mins) [AMC]
All contents © MuleSoft Inc. Capabilities of AMC 18 HYBRID MANAGEMENT FULL LIFECYCLE API MANAGEMENT ACTIONABLE VISIBILITY  Single Interface for Cloudhub, on- premises servers, your private cloud  No mattar where your servers are placed  Generate API proxies  Set throttling and rate limiting  Auto deploy API gateways  Apply prebuilt or custom policies to ensure high performance and control  Real Time Monitoring  Speedy Root Cause Analysis  Dependency Mapping  Customizable Alerts, dashboards and log data
All contents © MuleSoft Inc. AMC: Visualizer 19 Graphical View of all APIs All Integrations Captured Organize APIs and Filtered Views
All contents © MuleSoft Inc. AMC: Monitoring 20 Monitor Performance Proactively Personalise your monitoring Connect to third party like Splunk/ELK
All contents © MuleSoft Inc. AMC: API Manager 21 Control Access Customized Access Policies and ALL at one place
All contents © MuleSoft Inc. AMC: Runtime Manager 22 Reduce Resolution Time Logs and Dashboards Identify Issues and Troubleshoot
AnyPoint Runtime Manager (8 Minutes) [RM]
All contents © MuleSoft Inc. Runtime Manager 24 CloudhubRuntime Fabric Runtime Manager On Prem Servers, Server Groups or Clusters
All contents © MuleSoft Inc. Runtime Manager: Architecture 25 Cloud Version supports deployments on Cloudhub or elsewhere On Prem Version supports deployments except Cloudhub Insights, Analytics and Monitoring fully supported with cloud version of Runtime On Prem can send the data to third parties
All contents © MuleSoft Inc. Runtime Manager: Key Capabilities 26
Let’s have a break of 20-30 mins Break
Deployment Strategies (25 mins) [DS]
All contents © MuleSoft Inc. Deployment Strategies 29 Runtime Manager Anypoint Platform Private Cloud Edition Runtime Manager – Cloud Console App Deployment Target - Cloudhub Runtime Manager – Cloud Console App Deployment Target – Your Own Servers Runtime Manager – Private Cloud Edition App Deployment Target – Your Own Servers Runtime Manager – Private Cloud Edition App Deployment Target – PCF Repository
All contents © MuleSoft Inc. Cloud Console Cloudhub Deployment 30 Cloudhub Infrastructure Platform As A Service Automatic Availability of all components Auto Load balancer if multiple workers are used All Components are at one place – Hassle Free Integration
All contents © MuleSoft Inc. Cloud Console to Your Own Servers (Hybrid) 31 Greater Flexibility and Tighter Security No Application Data flows to Anypoint. Only matrices are used. Concept of Servers, Server Groups and Clusters High Availability Scenarios with your own Servers
All contents © MuleSoft Inc. On-Prem Console Own-Prem Deployment 32 Suitable for Customers with Strict Regulatory or Compliances Requirements Containerized Distribution Customer’s private Cloud/DC AnyPoint Platform Private Cloud Edition
All contents © MuleSoft Inc. On-Prem Console to PCF 33 Anypoint Platform Private Cloud Edition Virtualize Local Resources Dynamic Allocation of Resources Replication Factor Concept for Scaling Only Available with AnyPoint Platform Private Cloud Edition
All contents © MuleSoft Inc. Comparison: Deployment Strategies 34 PCF Object Store Infrastructure Monitoring Troubleshooting Scheduling Load Balancing Shared Resource Support Automatic Automatic Automatic Automatic Automatic Automatic By Client By Client Custom Custom Custom By Client By Client By Client By Client By Client By Client By Client By Client By Client By Client By Client By Client By Client
All contents © MuleSoft Inc. Comparison: Deployment Strategies 35 PCF High Availability Logging Alerts Server, Server Groups, Clusters Security Dashboard and Insights Automatic Automatic Automatic Automatic Automatic Automatic Custom By Client By Client Custom Custom By Client By Client NA By Client By Client By Client NA By Client NA NA By Client NA NA
All contents © MuleSoft Inc. Question? 36 Now the Question is – Is there any difference while building app for Cloudhub or On Premises?
All contents © MuleSoft Inc. And the Answer is “YES” 37 Though the Basics of Building applications are same. But there are some considerations while building app for cloudhub. E.g. scheduling vs poll scheduling etc.
Servers, Server Groups and Clusters (25 mins) [S, SG & C]
All contents © MuleSoft Inc. Servers 39 Servers Standalone Servers Runtime Manager gets the data about Server and manage applications Must create the server to manage it through Runtime Remote Servers can be managed individually
All contents © MuleSoft Inc. Server Groups and Clusters 40 A Group of Servers can be managed parallelly through a Server Group or Cluster Server Groups Clusters  The instances of applications are completely isolated from each other.  Provides Redundancy  In case of disaster, applications can be restored seamlessly and quickly with less downtime.  Eliminate duplication of Effort because there is no need to restore each application seperately.  Both the nodes are aware of one another and share common information and synchronize statuses  An on-prem cluster enables up to eight servers to participate in HA unit.
All contents © MuleSoft Inc. Vertical Vs Horizontal Scaling 41 • Vertical scaling – “Scale up” – Consume more resources (CPU cores, RAM) on the same physical machine – Main use case: performance • Horizontal scaling – “Scale out” – Process on multiple concurrent physical machines – Main use case: reliability – Secondary goal: performance
All contents © MuleSoft Inc. Understanding fail-over in a cluster 42 • Objects and VM queues stored in distributed shared-memory survive after a node is lost • However, the cluster does not prevent message loss after a fail over – Messages currently in the middle of a flow can be lost – But developers might guard against message loss using transactions
All contents © MuleSoft Inc. When clusters will not help your applications • No requirement for zero message loss or other high availability • Geographically distributed WAN nodes Or there is high latency in the network • The application is not using VM transports for load balancing • Or the app doesn’t need load balancing and failover at all • App does not need to share state between workers with a persistent object store, or needs to implement a non-default object store
All contents © MuleSoft Inc. 44 1. Cluster Creation 2. Deployments through Runtime Manager 3. See Insights and Transactions 4. Setting up Monitoring 5. Setting up Visualizer 6. Setting up Alerts Demos for Hybrid Environment
All contents © MuleSoft Inc. Take a stand ! 45 • Nominate yourself for the next meetup speaker and suggest a topic as well.
All contents © MuleSoft Inc. What’s next 46 • Share: – Tweet your pictures with the hashtag #MuleMeetup #MuleSoftMeetup – Invite your network to join: https://meetups.mulesoft.com/mumbai/ • Feedback: – Contact your organizers Manish Yadav, Sudeshna Mitra, Akshata Sawant and Ranveer Meel to suggest topics – Tweet your organizers at @SudeshnaMitra14, @Manish_Kyadav, @sawantakshata02 and @meel_Ranveer – Contact MuleSoft at meetup@mulesoft.com for ways to improve the program – Follow us on Instagram (mumbai_mulesoftofficialpage) – Your Feedback is Food for us • Our next meetup: – Date: TBD – Location: Mumbai – Topic: TBD
Networking time Introduce yourself to your neighbors!
See you next time Please send topic suggestions to the organizer
THANK YOU
Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime Manager in Mule 4

Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime Manager in Mule 4

  • 1.
    6th July May,2019:Clustering, Server setup and Hybrid deployment setup using Runtime Manager in Mule 4 Mumbai - India
  • 2.
    All contents ©MuleSoft Inc. Agenda 2 2:00 PM Introduction 2:30 PM Technical Session 3:30 PM Technical Session and Demo 4:30 PM Break: Tea, Coffee and Snack 5:00 PM Networking 5:30 PM Wrap-up and Plan For Next Meetup
  • 3.
    All contents ©MuleSoft Inc. Introductions 3 • About the organizer: – Sudeshna Mitra – Manish Yadav – Ranveer Meel – Akshata Sawant • About the sponsor: – Accenture A SHOW OF HANDS: Who is new to this MeetUp?
  • 4.
    All contents ©MuleSoft Inc. Speakers 4
  • 5.
    All contents ©MuleSoft Inc. Surprises! 5 • Thanks for your positive enthusiasm …You earned it .. • Certification Vouchers for all! • Be geared up for the quiz sessions at the end of each modules! 
  • 6.
    All contents ©MuleSoft Inc. Agenda 6 • Introductions • AnyPoint Platform Overview • AnyPoint Runtime Manager • Deployment Strategies • Servers, Server Groups and Clusters • Setting up Clusters • Anypoint Monitoring • Visualizer • Alerts • What’s next • Networking time
  • 7.
  • 8.
    All contents ©MuleSoft Inc. AnyPoint Platform 8 • One Platform for APIs and Integrations • Friendly for Developers • Tools that architects and developers across the enterprise can adopt quickly to design, build, and manage the entire lifecycles of their APIs, applications and products. • Built with open technologies to promote reusability, modularity and collaboration increasing developer productivity and project speed. • One stop solution to manage APIs, its matrices, its monitoring and everything.
  • 9.
    All contents ©MuleSoft Inc. AnyPoint Components 9 Anypoint Design Center Anypoint Management Center Anypoint Exchange Mule Runtime Engine API Connectors Platform Services Design Manage Scale Engage Run Connect
  • 10.
    All contents ©MuleSoft Inc. AnyPoint Design Center 10 API Design er Anypoint Studio DevKit APIKitMunit RAML SDKs Offers Low Friction Dev Tools Tools to design APIs easily Implementation of Integration Flows Build Connectors
  • 11.
    All contents ©MuleSoft Inc. Mule Runtime Engine 11 Combines data and application integration Single runtime deployable in cloud or on-premises Enables SOA, ESB patterns, SaaS, API, Microservices Extensible to SOAP, REST, JMS, AMQP, AS400, IoT Real Time and Batch Processing Map and Transform data with Dataweave Open Architecture Support Common Standards and New Technologies
  • 12.
    All contents ©MuleSoft Inc. AnyPoint Management Center 12 Unified web interface to administer applications Manage users, APIs, Flows, traffic, and more Monitoring the status, state, of deployments and servers Visualizer Capabilities Flow Monitoring, Alerts, Deployments and much more
  • 13.
    All contents ©MuleSoft Inc. AnyPoint Connectors 13 Quick and Easy Connectivity Reusable Connectors Inbuilt Connector Devkit AnyPoint Exchange AnyPoint Data Gateway AnyPoint Connector Devkit AnyPoint Connectors Example for AnyPoint Connectors
  • 14.
    All contents ©MuleSoft Inc. AnyPoint Exchange 14 AnyPoint Connectors AnyPoint Templates Examples WSDL Files RAML APIs Developer Portals
  • 15.
    All contents ©MuleSoft Inc. Platform Services 15 Platform Services ensures speed, scale, and security AnyPoint Fabric Enterprise Security AnyPoint VPC Cloudhub MQ 100% uptime Millions transactions per second 1000 of Runtimes in hybrid environment Security Capabilities Policies Trust Boundaries Asynchronous Messaging On Prem Servers Connection Standard Encryption Standards Platform as a Service, true cloud-based Integration Fully Manged, Highly Available No Hardware Required A Service of AnyPoint Platform Pub/Sub Scenarios Connect Corporate Data Centres
  • 16.
    All contents ©MuleSoft Inc. AnyPoint Platform: Recap 16 AnyPoint Platform AnyPoint Design Center Mule Runtime Engine AnyPoint Management Center AnyPoint Connectors AnyPoint Exchange Platform Services
  • 17.
  • 18.
    All contents ©MuleSoft Inc. Capabilities of AMC 18 HYBRID MANAGEMENT FULL LIFECYCLE API MANAGEMENT ACTIONABLE VISIBILITY  Single Interface for Cloudhub, on- premises servers, your private cloud  No mattar where your servers are placed  Generate API proxies  Set throttling and rate limiting  Auto deploy API gateways  Apply prebuilt or custom policies to ensure high performance and control  Real Time Monitoring  Speedy Root Cause Analysis  Dependency Mapping  Customizable Alerts, dashboards and log data
  • 19.
    All contents ©MuleSoft Inc. AMC: Visualizer 19 Graphical View of all APIs All Integrations Captured Organize APIs and Filtered Views
  • 20.
    All contents ©MuleSoft Inc. AMC: Monitoring 20 Monitor Performance Proactively Personalise your monitoring Connect to third party like Splunk/ELK
  • 21.
    All contents ©MuleSoft Inc. AMC: API Manager 21 Control Access Customized Access Policies and ALL at one place
  • 22.
    All contents ©MuleSoft Inc. AMC: Runtime Manager 22 Reduce Resolution Time Logs and Dashboards Identify Issues and Troubleshoot
  • 23.
  • 24.
    All contents ©MuleSoft Inc. Runtime Manager 24 CloudhubRuntime Fabric Runtime Manager On Prem Servers, Server Groups or Clusters
  • 25.
    All contents ©MuleSoft Inc. Runtime Manager: Architecture 25 Cloud Version supports deployments on Cloudhub or elsewhere On Prem Version supports deployments except Cloudhub Insights, Analytics and Monitoring fully supported with cloud version of Runtime On Prem can send the data to third parties
  • 26.
    All contents ©MuleSoft Inc. Runtime Manager: Key Capabilities 26
  • 27.
    Let’s have abreak of 20-30 mins Break
  • 28.
  • 29.
    All contents ©MuleSoft Inc. Deployment Strategies 29 Runtime Manager Anypoint Platform Private Cloud Edition Runtime Manager – Cloud Console App Deployment Target - Cloudhub Runtime Manager – Cloud Console App Deployment Target – Your Own Servers Runtime Manager – Private Cloud Edition App Deployment Target – Your Own Servers Runtime Manager – Private Cloud Edition App Deployment Target – PCF Repository
  • 30.
    All contents ©MuleSoft Inc. Cloud Console Cloudhub Deployment 30 Cloudhub Infrastructure Platform As A Service Automatic Availability of all components Auto Load balancer if multiple workers are used All Components are at one place – Hassle Free Integration
  • 31.
    All contents ©MuleSoft Inc. Cloud Console to Your Own Servers (Hybrid) 31 Greater Flexibility and Tighter Security No Application Data flows to Anypoint. Only matrices are used. Concept of Servers, Server Groups and Clusters High Availability Scenarios with your own Servers
  • 32.
    All contents ©MuleSoft Inc. On-Prem Console Own-Prem Deployment 32 Suitable for Customers with Strict Regulatory or Compliances Requirements Containerized Distribution Customer’s private Cloud/DC AnyPoint Platform Private Cloud Edition
  • 33.
    All contents ©MuleSoft Inc. On-Prem Console to PCF 33 Anypoint Platform Private Cloud Edition Virtualize Local Resources Dynamic Allocation of Resources Replication Factor Concept for Scaling Only Available with AnyPoint Platform Private Cloud Edition
  • 34.
    All contents ©MuleSoft Inc. Comparison: Deployment Strategies 34 PCF Object Store Infrastructure Monitoring Troubleshooting Scheduling Load Balancing Shared Resource Support Automatic Automatic Automatic Automatic Automatic Automatic By Client By Client Custom Custom Custom By Client By Client By Client By Client By Client By Client By Client By Client By Client By Client By Client By Client By Client
  • 35.
    All contents ©MuleSoft Inc. Comparison: Deployment Strategies 35 PCF High Availability Logging Alerts Server, Server Groups, Clusters Security Dashboard and Insights Automatic Automatic Automatic Automatic Automatic Automatic Custom By Client By Client Custom Custom By Client By Client NA By Client By Client By Client NA By Client NA NA By Client NA NA
  • 36.
    All contents ©MuleSoft Inc. Question? 36 Now the Question is – Is there any difference while building app for Cloudhub or On Premises?
  • 37.
    All contents ©MuleSoft Inc. And the Answer is “YES” 37 Though the Basics of Building applications are same. But there are some considerations while building app for cloudhub. E.g. scheduling vs poll scheduling etc.
  • 38.
    Servers, Server Groupsand Clusters (25 mins) [S, SG & C]
  • 39.
    All contents ©MuleSoft Inc. Servers 39 Servers Standalone Servers Runtime Manager gets the data about Server and manage applications Must create the server to manage it through Runtime Remote Servers can be managed individually
  • 40.
    All contents ©MuleSoft Inc. Server Groups and Clusters 40 A Group of Servers can be managed parallelly through a Server Group or Cluster Server Groups Clusters  The instances of applications are completely isolated from each other.  Provides Redundancy  In case of disaster, applications can be restored seamlessly and quickly with less downtime.  Eliminate duplication of Effort because there is no need to restore each application seperately.  Both the nodes are aware of one another and share common information and synchronize statuses  An on-prem cluster enables up to eight servers to participate in HA unit.
  • 41.
    All contents ©MuleSoft Inc. Vertical Vs Horizontal Scaling 41 • Vertical scaling – “Scale up” – Consume more resources (CPU cores, RAM) on the same physical machine – Main use case: performance • Horizontal scaling – “Scale out” – Process on multiple concurrent physical machines – Main use case: reliability – Secondary goal: performance
  • 42.
    All contents ©MuleSoft Inc. Understanding fail-over in a cluster 42 • Objects and VM queues stored in distributed shared-memory survive after a node is lost • However, the cluster does not prevent message loss after a fail over – Messages currently in the middle of a flow can be lost – But developers might guard against message loss using transactions
  • 43.
    All contents ©MuleSoft Inc. When clusters will not help your applications • No requirement for zero message loss or other high availability • Geographically distributed WAN nodes Or there is high latency in the network • The application is not using VM transports for load balancing • Or the app doesn’t need load balancing and failover at all • App does not need to share state between workers with a persistent object store, or needs to implement a non-default object store
  • 44.
    All contents ©MuleSoft Inc. 44 1. Cluster Creation 2. Deployments through Runtime Manager 3. See Insights and Transactions 4. Setting up Monitoring 5. Setting up Visualizer 6. Setting up Alerts Demos for Hybrid Environment
  • 45.
    All contents ©MuleSoft Inc. Take a stand ! 45 • Nominate yourself for the next meetup speaker and suggest a topic as well.
  • 46.
    All contents ©MuleSoft Inc. What’s next 46 • Share: – Tweet your pictures with the hashtag #MuleMeetup #MuleSoftMeetup – Invite your network to join: https://meetups.mulesoft.com/mumbai/ • Feedback: – Contact your organizers Manish Yadav, Sudeshna Mitra, Akshata Sawant and Ranveer Meel to suggest topics – Tweet your organizers at @SudeshnaMitra14, @Manish_Kyadav, @sawantakshata02 and @meel_Ranveer – Contact MuleSoft at meetup@mulesoft.com for ways to improve the program – Follow us on Instagram (mumbai_mulesoftofficialpage) – Your Feedback is Food for us • Our next meetup: – Date: TBD – Location: Mumbai – Topic: TBD
  • 47.
  • 48.
    See you nexttime Please send topic suggestions to the organizer
  • 49.