SlideShare a Scribd company logo
MuleSoft® Meetup #2 (Virtual)
Indore
19 Sep 2020
All contents © MuleSoft Inc.
Agenda
2
• Introductions and Welcome
• Session 1: Deploying Mule Applications
• Quiz Time
• Session 2: Object Store in Depth
• Q&A and MuleSoft Community Experience Sharing
All contents © MuleSoft Inc.
Introductions
3
Organizer: Pradhan Yash Sharma
https://meetups.mulesoft.com/indore/
A SHOW OF HANDS:
Who is new to this Meetup?
Sponsor: YASH Technologies Pvt. Ltd.
mulesoftindore@gmail.com
All contents © MuleSoft Inc.
Pradhan Yash Sharma
• Certified MuleSoft Developer
• Active open-source contributor
• Leading MuleSoft Meetup Indore Chapter
• Working in YASH Technologies as Senior Developer
• Java Enthusiast member of Java Community Process at
Open-JDK
Speakers
pradhanyashsharma20@gmail.com
@PradhanYashSha1
https://www.linkedin.com/in/pradha
nyashsharma/
All contents © MuleSoft Inc. 5
Kirti Gurjar
• MuleSoft Certified Integration Architect
• MuleSoft Meetup Speaker
• Working in YASH Technologies as Lead Consultant
gurjarkirti3@gmail.com
https://www.linkedin.com/in/kirti-
gurjar-b322b479/
Speakers
All contents © MuleSoft Inc. 6
• Please keep yourself on mute unless you have any question.
• You can also write down your questions in chat section.
• We encourage keeping your video on for making our meetup interactive.
• Once you join, write down your registered name in chat section so we will have an
attendance.
• As this is our first virtual Meetup, we appreciate your valuable feedback.
Guidelines for Virtual Meetup
Deploying Mule Applications
Session 1
Pradhan Yash Sharma
All contents © MuleSoft Inc. 8
Main Components of Anypoint Platform
All contents © MuleSoft Inc. 9
Run and Execute the Hello Mule Project
All contents © MuleSoft Inc.
Mule Runtime Engine
10
All contents © MuleSoft Inc. 11
Mule runtime engine (Mule) is a lightweight integration engine
that runs Mule apps.
It is a single, universal engine for connecting applications, data,
and devices.
Users can build Mule apps to connect systems, services, APIs,
and devices using MuleSoft’s API-led connectivity instead of
point-to-point integrations.
Mule Runtime Engine
All contents © MuleSoft Inc. 12
Features of Mule Runtime Engine
Combines data &
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. 13
• Mule applications are configured to run in Mule runtime engine.
Deployment Targets
MuleSoft
App
CloudHub
Anypoint
Runtime
Fabric
On-Premise
Mule
instances
All contents © MuleSoft Inc. 14
Anypoint
Studio
Anypoint Runtime
Manager
Anypoint Platform CLI
Mule Maven plugin
Deployment Tools
All contents © MuleSoft Inc. 15
CloudHub or Anypoint Runtime Fabric, these services take
care of the Mule runtime engine instances needed to run
applications.
On-premises, the installation of Mule runtime engine is
required.
Deploy Applications
All contents © MuleSoft Inc. 16
Deployment Models
Anypoint Platform Private
Cloud Edition
All contents © MuleSoft Inc.
Deployment Strategies
17
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
Runtime Manager
All contents © MuleSoft Inc.
Deploy anywhere from Single Interface
Runtime Manager
18
Runtime
Manager
CloudHub
Runtime
Fabric
On Prem
All contents © MuleSoft Inc.
Runtime Manager: Architecture
19
All contents © MuleSoft Inc. 20
• Cloud version supports deployments on Cloudhub or elsewhere
• On-Prem version supports deployments except Cloudhub
• On-Premise can send the data to third parties
• Insights, Analytics and Monitoring fully supported with cloud version
Runtime Manager: Architecture
All contents © MuleSoft Inc.
Runtime Manager: Key Capabilities
21
All contents © MuleSoft Inc.
Cloud Console Cloudhub Deployment
22
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 On-Prem Deployment (Hybrid)
23
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
24
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. 25
Comparison: Deployment Strategies
High Availability Automatic Custom By Client
Logging Automatic By Client By Client
Alerts Automatic Custom NA
Server, Server
Groups, Clusters
Automatic Custom NA
Security Automatic By Client By Client
Dashboard & Insights Automatic By Client NA
All contents © MuleSoft Inc. 26
Comparison: Deployment Strategies
Object Store
Infrastructure
Automatic
By Client
By Client
Monitoring Automatic Custom By Client
Troubleshooting Automatic Custom By Client
Scheduling Automatic Custom By Client
Load Balancing Automatic By Client By Client
Shared Resource
Support
Automatic By Client By Client
All contents © MuleSoft Inc.
Servers
27
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
28
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.
Demo
Deploy to CloudHub
All contents © MuleSoft Inc.
Deploy an
Application from
Runtime Manager
Deploy an
Application
from Studio
Deploy an
Application
from the
Command
Line
Deploy to CloudHub
All contents © MuleSoft Inc.
Deploy an Application from Runtime Manager
Application Name
Upload JAR File
Deploy Application
All contents © MuleSoft Inc. 33
• Open your application in Studio.
• In Package Explorer, right-click the project folder and select Anypoint Platform >
Deploy to CloudHub.
• If this is your first time deploying from Studio, provide your Anypoint Platform
credentials at the prompt.
• Studio stores your credentials for future use. You can manage these credentials by
selecting Anypoint Studio > Preferences > Anypoint Studio >
Authentication.
• After you sign in, you see the Deploying Application page.
• Click Deploy Application.
Deploy an Application from Studio
All contents © MuleSoft Inc. 34
• Download and install NodeJS, Git and npm.
– npm install -g anypoint-cli@latest
– anypoint-cli --username="PradhanYashSharmaMule“ <<user_name>>
– use environment Sandbox <<env_name>>
– runtime-mgr cloudhub-application deploy mulesoftindoremeetupdeployent-cli
<<app_name>> C:Usersyash.sharmaDesktopmulesoftindoremeetupdeployent.jar
<<location>>
– runtime-mgr cloudhub-application list
Deploy an Application from the Command Line
Deploy to On-Prem
All contents © MuleSoft Inc.
• Downloading Mule
– $MULE_HOME/bin/mule
• Add Servers to Runtime Manager
– From Anypoint Platform, select Runtime Manager.
– Click Servers in the left menu.
– Click the Add Server button.
– Copy command to copy the amc_setup
• $MULE_HOME/bin/mule install
• $MULE_HOME/bin/mule start
• Deploying Using the Runtime Manager REST API
Deploy to On-Prem
All contents © MuleSoft Inc.
• Deploying Using the Runtime Manager REST API
– Configure the CloudHub deployment strategy in your project pom.xml
<armDeployment>
<muleVersion>${app.runtime}</muleVersion>
<uri>https://anypoint.mulesoft.com</uri>
<target>${target}</target>
<targetType>${target.type}</targetType>
<username>${username}</username>
<password>${password}</password>
<environment>${environment}</environment>
</armDeployment>
• Package the app and execute the deploy goal
– mvn clean package deploy –DmuleDeploy
Deploy to On-Prem
All contents © MuleSoft Inc.
• Mule runtime engine: https://docs.mulesoft.com/mule-runtime/4.3
• Private Cloud Edition: https://docs.mulesoft.com/private-cloud/2.1
• Deploying to CloudHub: https://docs.mulesoft.com/studio/7.6/deploy-mule-
application-task
• Anypoint Platform CLI: https://docs.mulesoft.com/runtime-manager/anypoint-
platform-cli-commands
• Download Anypoint Studio 7: https://www.mulesoft.com/lp/dl/studio
• Download Mule 4 standalone: https://www.mulesoft.com/lp/dl/mule-esb-enterprise
References
Questions?
Thank you!
Mule soft indore meetup 2
Object Store in Depth
Session 2
Kirti Gurjar
All contents © MuleSoft Inc.
Agenda
43
• Introduction Of Object Store
• Object Store Variants
• Features
• Limitations
• Walkthrough and Demo
What is Object Store?
All contents © MuleSoft Inc. 45
Object Store
Object Store is a fully managed services that enables sharing of states in multi-clustered
environments on CloudHub without any risk of state loss during disaster events or
application restarts.
All contents © MuleSoft Inc. 46
Use cases
• Storing synchronization information, such as watermarks.
• Storing temporal information such as access tokens.
• Storing user information.
• For state management:
– Between the flow Execution
– Between iterations when processing a collection of elements like batch
processing or, to aggregate results such as a total price or total count.
All contents © MuleSoft Inc. 47
Continued…
All contents © MuleSoft Inc. 48
• Object Store as Connector
• Object Store in form of REST API
• Reference Link to download Object Store -
https://www.mulesoft.com/exchange/org.mule.connectors/mule-objectstore-
connector/
Ways to access the Object Store service
Object Store Variants
All contents © MuleSoft Inc. 50
• Used by Customer-Hosted and RTF Run-time Planes
• Available in form of OS connector
• Available only in us-east region
• Local to worker and always Transient
• Persists keys for 30 days unless updated
• 1 MB Value Limit
• Limited to 100k Keys/App
Object Store V1
All contents © MuleSoft Inc.
Object Store V2
51
• Simple key value store
• Available in form of OS connector and Rest API
• Synchronized access at key level
• Uses TLS for transport and FIPS 140-2 compliant encryption standard for data
at rest
• Supports unlimited keys/app
• 10 MB max value size
• Is preserved upon application redeployment and restarts
• Is deleted upon application deletion
All contents © MuleSoft Inc. 52
Object Store Types
All contents © MuleSoft Inc. 53
Continued…
• Non-persistent in memory storage is the fastest way to access data, but is the
least reliable/durable
• Local persistent storage, such as to a file system, is slower but more reliable,
and not shared
• Replicated in-memory data grid storage lies somewhere between in-memory
and on-disk
• An external storage system may be the most reliable and can be shared, but
also may be much slower
All contents © MuleSoft Inc. 54
Continued…
All contents © MuleSoft Inc. 55
Object Store V2 Features
All contents © MuleSoft Inc. 56
Limitation
• Not a universal data storage solution
• Does not support transactions
• Does not replace an actual DB and not suitable for searches, queries, etc.
• Data is automatically removed after a set amount of time – 30 days for
OSv2
• Limited to 10 TPS per app for “free tier” – Can licence higher TPS
Walkthrough and Demo
All contents © MuleSoft Inc. 58
Operations
• Clear — Removes all the contents in the store.
• Contains — Checks if there is any value associated to the given key. If no value exists for
the key, then false is returned.
• Remove — Removes the value associated to the given key. If no value exists for the key,
then an OS:KEY_NOT_FOUND error is thrown.
• Retrieve — Retrieves the value stored for the given key. If no value exists for the key,
behavior depends on the defaultValue parameter.
• Retrieve all keys — Returns a List containing all keys that the object store currently holds
values for.
• Retrieve all — Retrieves all the key value pairs in the object store.
• Store — Stores the given value using the given key. This operation can be used either for
storing new values or updating existing ones, depending on the value of the failIfPresent.
All contents © MuleSoft Inc. 59
Object Store Instances
• Default Object Store
• Global Object Store
• Private Object Store
Questions?
Thank you!
MuleSoft Community Experience Sharing
Ask Questions / Share Feedback!
All contents © MuleSoft Inc.
What’s next
63
• Share:
– Post your pictures with the hashtag #MuleIndoreMeetup on LinkedIn/Twitter
– Invite your network to join: https://meetups.mulesoft.com/indore/
• Feedback:
– Contact your organizer Pradhan Yash Sharma to suggest topics at
mulesoftindore@gmail.com
– Contact MuleSoft at meetup@mulesoft.com for ways to improve the program
See you next time
Please send topic suggestions to the organizer
Thank You!

More Related Content

PPTX
Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...
PPTX
On prem to cloud hub migration (updated)
PPTX
Mulesoft meetup slides mumbai_20113019_exception_handling
PPTX
Second Caracas MuleSoft Meetup Slides
PPT
Error Handling in Mulesoft
PPTX
Warsaw MuleSoft Meetup #6 - CI/CD
PPTX
Mumbai MuleSoft Meetup 11
PPTX
MuleSoft Meetup Charlotte 2019
Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...
On prem to cloud hub migration (updated)
Mulesoft meetup slides mumbai_20113019_exception_handling
Second Caracas MuleSoft Meetup Slides
Error Handling in Mulesoft
Warsaw MuleSoft Meetup #6 - CI/CD
Mumbai MuleSoft Meetup 11
MuleSoft Meetup Charlotte 2019

What's hot (20)

PPTX
Meet up slides_mumbai_21032020_final
PPTX
Kochi mulesoft meetup 02
PDF
MuleSoft Meetup #2 in Kyiv, Ukraine - What is special about MuleSoft Catalyst™?
PPTX
Warsaw MuleSoft Meetup #7 - custom policy
PDF
Introduction To Anypoint CloudHub With Mulesoft
PDF
WHISHWORKS-MuleSoft Hyderabad Meetup -Oct 2018
PPTX
Mule soft meetup_virtual_ 3_charlotte_07july_2021__final
PPTX
MuleSoft Meetup slides_kualalumpur_19thSept_Undisturbed REST: Achieving Undis...
PPTX
First Caracas MuleSoft Meetup Slides
PDF
[QCon London 2020] The Future of Cloud Native API Gateways - Richard Li
PPTX
Charlotte meetup anypointmonitoring_v3
PDF
Introducing Mule Application and API
PDF
Datasheet mavenpluginforrd
PDF
WHISHWORKS-MuleSoft Hyderabad Meetup -April 2019
PPTX
MuleSoft Meetup Charlotte 2 - 2019
PDF
Part 3: Enabling Continuous Delivery (Pivotal Cloud Platform Roadshow)
PDF
Datasheet apachepluginforrd
PPTX
Manila MuleSoft Meetup - September 2018
PPTX
MuleSoft CloudHub API Versioning
PDF
Pivotal spring boot-cloud workshop
Meet up slides_mumbai_21032020_final
Kochi mulesoft meetup 02
MuleSoft Meetup #2 in Kyiv, Ukraine - What is special about MuleSoft Catalyst™?
Warsaw MuleSoft Meetup #7 - custom policy
Introduction To Anypoint CloudHub With Mulesoft
WHISHWORKS-MuleSoft Hyderabad Meetup -Oct 2018
Mule soft meetup_virtual_ 3_charlotte_07july_2021__final
MuleSoft Meetup slides_kualalumpur_19thSept_Undisturbed REST: Achieving Undis...
First Caracas MuleSoft Meetup Slides
[QCon London 2020] The Future of Cloud Native API Gateways - Richard Li
Charlotte meetup anypointmonitoring_v3
Introducing Mule Application and API
Datasheet mavenpluginforrd
WHISHWORKS-MuleSoft Hyderabad Meetup -April 2019
MuleSoft Meetup Charlotte 2 - 2019
Part 3: Enabling Continuous Delivery (Pivotal Cloud Platform Roadshow)
Datasheet apachepluginforrd
Manila MuleSoft Meetup - September 2018
MuleSoft CloudHub API Versioning
Pivotal spring boot-cloud workshop
Ad

Similar to Mule soft indore meetup 2 (20)

PPTX
Mule soft cloudhub deployment basics
PPTX
Meetup_Bangalore_Rajesh
PPTX
São Paulo MuleSoft Meetup - Deployments Models
PPTX
CloudHub and other Cloud Deployment Options
PPTX
London MuleSoft Meetup
PDF
MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...
PDF
MuleSoft Surat Live Demonstration Virtual Meetup#4 - Automate Anypoint VPC, V...
PPTX
Indianapolis_meetup_April-1st-2022.pptx
PDF
MuleSoft Nashik Virtual Meetup#4 - Implementing CI/CD pipeline for deploying ...
PPTX
Running and Managing Mule Applications
PPTX
Implementing CloudHub 2.0 CI/CD Pipeline with Bitbucket Integration
PPTX
Mulesoftmeetup Thiruvanathapuram #4
PPTX
Mulesoft Connections to different companies, and different services
PDF
MuleSoft Surat Virtual Meetup#25 - Anypoint Platform Features and Capabilitie...
PPTX
Nyc mule soft_meetup_13_march_2021
PPTX
Introductiontocloudhubwithmulesoft by nagarjunareddy
PDF
Virtual meetup - Exploring the Runtime Fabric deployment model
PPTX
London-MuleSoft-Meetup-April-19-2023
PPTX
2.4.Mule Runtime Engine
PPTX
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
Mule soft cloudhub deployment basics
Meetup_Bangalore_Rajesh
São Paulo MuleSoft Meetup - Deployments Models
CloudHub and other Cloud Deployment Options
London MuleSoft Meetup
MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...
MuleSoft Surat Live Demonstration Virtual Meetup#4 - Automate Anypoint VPC, V...
Indianapolis_meetup_April-1st-2022.pptx
MuleSoft Nashik Virtual Meetup#4 - Implementing CI/CD pipeline for deploying ...
Running and Managing Mule Applications
Implementing CloudHub 2.0 CI/CD Pipeline with Bitbucket Integration
Mulesoftmeetup Thiruvanathapuram #4
Mulesoft Connections to different companies, and different services
MuleSoft Surat Virtual Meetup#25 - Anypoint Platform Features and Capabilitie...
Nyc mule soft_meetup_13_march_2021
Introductiontocloudhubwithmulesoft by nagarjunareddy
Virtual meetup - Exploring the Runtime Fabric deployment model
London-MuleSoft-Meetup-April-19-2023
2.4.Mule Runtime Engine
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
Ad

Recently uploaded (20)

PDF
1 - Historical Antecedents, Social Consideration.pdf
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
August Patch Tuesday
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Tartificialntelligence_presentation.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Approach and Philosophy of On baking technology
PDF
Web App vs Mobile App What Should You Build First.pdf
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
1 - Historical Antecedents, Social Consideration.pdf
NewMind AI Weekly Chronicles - August'25-Week II
Programs and apps: productivity, graphics, security and other tools
Assigned Numbers - 2025 - Bluetooth® Document
MIND Revenue Release Quarter 2 2025 Press Release
August Patch Tuesday
Enhancing emotion recognition model for a student engagement use case through...
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Group 1 Presentation -Planning and Decision Making .pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Tartificialntelligence_presentation.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
Approach and Philosophy of On baking technology
Web App vs Mobile App What Should You Build First.pdf
A novel scalable deep ensemble learning framework for big data classification...
Encapsulation_ Review paper, used for researhc scholars
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11

Mule soft indore meetup 2

  • 1. MuleSoft® Meetup #2 (Virtual) Indore 19 Sep 2020
  • 2. All contents © MuleSoft Inc. Agenda 2 • Introductions and Welcome • Session 1: Deploying Mule Applications • Quiz Time • Session 2: Object Store in Depth • Q&A and MuleSoft Community Experience Sharing
  • 3. All contents © MuleSoft Inc. Introductions 3 Organizer: Pradhan Yash Sharma https://meetups.mulesoft.com/indore/ A SHOW OF HANDS: Who is new to this Meetup? Sponsor: YASH Technologies Pvt. Ltd. mulesoftindore@gmail.com
  • 4. All contents © MuleSoft Inc. Pradhan Yash Sharma • Certified MuleSoft Developer • Active open-source contributor • Leading MuleSoft Meetup Indore Chapter • Working in YASH Technologies as Senior Developer • Java Enthusiast member of Java Community Process at Open-JDK Speakers pradhanyashsharma20@gmail.com @PradhanYashSha1 https://www.linkedin.com/in/pradha nyashsharma/
  • 5. All contents © MuleSoft Inc. 5 Kirti Gurjar • MuleSoft Certified Integration Architect • MuleSoft Meetup Speaker • Working in YASH Technologies as Lead Consultant gurjarkirti3@gmail.com https://www.linkedin.com/in/kirti- gurjar-b322b479/ Speakers
  • 6. All contents © MuleSoft Inc. 6 • Please keep yourself on mute unless you have any question. • You can also write down your questions in chat section. • We encourage keeping your video on for making our meetup interactive. • Once you join, write down your registered name in chat section so we will have an attendance. • As this is our first virtual Meetup, we appreciate your valuable feedback. Guidelines for Virtual Meetup
  • 7. Deploying Mule Applications Session 1 Pradhan Yash Sharma
  • 8. All contents © MuleSoft Inc. 8 Main Components of Anypoint Platform
  • 9. All contents © MuleSoft Inc. 9 Run and Execute the Hello Mule Project
  • 10. All contents © MuleSoft Inc. Mule Runtime Engine 10
  • 11. All contents © MuleSoft Inc. 11 Mule runtime engine (Mule) is a lightweight integration engine that runs Mule apps. It is a single, universal engine for connecting applications, data, and devices. Users can build Mule apps to connect systems, services, APIs, and devices using MuleSoft’s API-led connectivity instead of point-to-point integrations. Mule Runtime Engine
  • 12. All contents © MuleSoft Inc. 12 Features of Mule Runtime Engine Combines data & 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
  • 13. All contents © MuleSoft Inc. 13 • Mule applications are configured to run in Mule runtime engine. Deployment Targets MuleSoft App CloudHub Anypoint Runtime Fabric On-Premise Mule instances
  • 14. All contents © MuleSoft Inc. 14 Anypoint Studio Anypoint Runtime Manager Anypoint Platform CLI Mule Maven plugin Deployment Tools
  • 15. All contents © MuleSoft Inc. 15 CloudHub or Anypoint Runtime Fabric, these services take care of the Mule runtime engine instances needed to run applications. On-premises, the installation of Mule runtime engine is required. Deploy Applications
  • 16. All contents © MuleSoft Inc. 16 Deployment Models Anypoint Platform Private Cloud Edition
  • 17. All contents © MuleSoft Inc. Deployment Strategies 17 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 Runtime Manager
  • 18. All contents © MuleSoft Inc. Deploy anywhere from Single Interface Runtime Manager 18 Runtime Manager CloudHub Runtime Fabric On Prem
  • 19. All contents © MuleSoft Inc. Runtime Manager: Architecture 19
  • 20. All contents © MuleSoft Inc. 20 • Cloud version supports deployments on Cloudhub or elsewhere • On-Prem version supports deployments except Cloudhub • On-Premise can send the data to third parties • Insights, Analytics and Monitoring fully supported with cloud version Runtime Manager: Architecture
  • 21. All contents © MuleSoft Inc. Runtime Manager: Key Capabilities 21
  • 22. All contents © MuleSoft Inc. Cloud Console Cloudhub Deployment 22 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
  • 23. All contents © MuleSoft Inc. Cloud Console to On-Prem Deployment (Hybrid) 23 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
  • 24. All contents © MuleSoft Inc. On-Prem Console Own-Prem Deployment 24 Suitable for Customers with Strict Regulatory or Compliances Requirements Containerized Distribution Customer’s private Cloud/DC AnyPoint Platform Private Cloud Edition
  • 25. All contents © MuleSoft Inc. 25 Comparison: Deployment Strategies High Availability Automatic Custom By Client Logging Automatic By Client By Client Alerts Automatic Custom NA Server, Server Groups, Clusters Automatic Custom NA Security Automatic By Client By Client Dashboard & Insights Automatic By Client NA
  • 26. All contents © MuleSoft Inc. 26 Comparison: Deployment Strategies Object Store Infrastructure Automatic By Client By Client Monitoring Automatic Custom By Client Troubleshooting Automatic Custom By Client Scheduling Automatic Custom By Client Load Balancing Automatic By Client By Client Shared Resource Support Automatic By Client By Client
  • 27. All contents © MuleSoft Inc. Servers 27 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
  • 28. All contents © MuleSoft Inc. Server Groups and Clusters 28 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.
  • 29. Demo
  • 31. All contents © MuleSoft Inc. Deploy an Application from Runtime Manager Deploy an Application from Studio Deploy an Application from the Command Line Deploy to CloudHub
  • 32. All contents © MuleSoft Inc. Deploy an Application from Runtime Manager Application Name Upload JAR File Deploy Application
  • 33. All contents © MuleSoft Inc. 33 • Open your application in Studio. • In Package Explorer, right-click the project folder and select Anypoint Platform > Deploy to CloudHub. • If this is your first time deploying from Studio, provide your Anypoint Platform credentials at the prompt. • Studio stores your credentials for future use. You can manage these credentials by selecting Anypoint Studio > Preferences > Anypoint Studio > Authentication. • After you sign in, you see the Deploying Application page. • Click Deploy Application. Deploy an Application from Studio
  • 34. All contents © MuleSoft Inc. 34 • Download and install NodeJS, Git and npm. – npm install -g anypoint-cli@latest – anypoint-cli --username="PradhanYashSharmaMule“ <<user_name>> – use environment Sandbox <<env_name>> – runtime-mgr cloudhub-application deploy mulesoftindoremeetupdeployent-cli <<app_name>> C:Usersyash.sharmaDesktopmulesoftindoremeetupdeployent.jar <<location>> – runtime-mgr cloudhub-application list Deploy an Application from the Command Line
  • 36. All contents © MuleSoft Inc. • Downloading Mule – $MULE_HOME/bin/mule • Add Servers to Runtime Manager – From Anypoint Platform, select Runtime Manager. – Click Servers in the left menu. – Click the Add Server button. – Copy command to copy the amc_setup • $MULE_HOME/bin/mule install • $MULE_HOME/bin/mule start • Deploying Using the Runtime Manager REST API Deploy to On-Prem
  • 37. All contents © MuleSoft Inc. • Deploying Using the Runtime Manager REST API – Configure the CloudHub deployment strategy in your project pom.xml <armDeployment> <muleVersion>${app.runtime}</muleVersion> <uri>https://anypoint.mulesoft.com</uri> <target>${target}</target> <targetType>${target.type}</targetType> <username>${username}</username> <password>${password}</password> <environment>${environment}</environment> </armDeployment> • Package the app and execute the deploy goal – mvn clean package deploy –DmuleDeploy Deploy to On-Prem
  • 38. All contents © MuleSoft Inc. • Mule runtime engine: https://docs.mulesoft.com/mule-runtime/4.3 • Private Cloud Edition: https://docs.mulesoft.com/private-cloud/2.1 • Deploying to CloudHub: https://docs.mulesoft.com/studio/7.6/deploy-mule- application-task • Anypoint Platform CLI: https://docs.mulesoft.com/runtime-manager/anypoint- platform-cli-commands • Download Anypoint Studio 7: https://www.mulesoft.com/lp/dl/studio • Download Mule 4 standalone: https://www.mulesoft.com/lp/dl/mule-esb-enterprise References
  • 42. Object Store in Depth Session 2 Kirti Gurjar
  • 43. All contents © MuleSoft Inc. Agenda 43 • Introduction Of Object Store • Object Store Variants • Features • Limitations • Walkthrough and Demo
  • 44. What is Object Store?
  • 45. All contents © MuleSoft Inc. 45 Object Store Object Store is a fully managed services that enables sharing of states in multi-clustered environments on CloudHub without any risk of state loss during disaster events or application restarts.
  • 46. All contents © MuleSoft Inc. 46 Use cases • Storing synchronization information, such as watermarks. • Storing temporal information such as access tokens. • Storing user information. • For state management: – Between the flow Execution – Between iterations when processing a collection of elements like batch processing or, to aggregate results such as a total price or total count.
  • 47. All contents © MuleSoft Inc. 47 Continued…
  • 48. All contents © MuleSoft Inc. 48 • Object Store as Connector • Object Store in form of REST API • Reference Link to download Object Store - https://www.mulesoft.com/exchange/org.mule.connectors/mule-objectstore- connector/ Ways to access the Object Store service
  • 50. All contents © MuleSoft Inc. 50 • Used by Customer-Hosted and RTF Run-time Planes • Available in form of OS connector • Available only in us-east region • Local to worker and always Transient • Persists keys for 30 days unless updated • 1 MB Value Limit • Limited to 100k Keys/App Object Store V1
  • 51. All contents © MuleSoft Inc. Object Store V2 51 • Simple key value store • Available in form of OS connector and Rest API • Synchronized access at key level • Uses TLS for transport and FIPS 140-2 compliant encryption standard for data at rest • Supports unlimited keys/app • 10 MB max value size • Is preserved upon application redeployment and restarts • Is deleted upon application deletion
  • 52. All contents © MuleSoft Inc. 52 Object Store Types
  • 53. All contents © MuleSoft Inc. 53 Continued… • Non-persistent in memory storage is the fastest way to access data, but is the least reliable/durable • Local persistent storage, such as to a file system, is slower but more reliable, and not shared • Replicated in-memory data grid storage lies somewhere between in-memory and on-disk • An external storage system may be the most reliable and can be shared, but also may be much slower
  • 54. All contents © MuleSoft Inc. 54 Continued…
  • 55. All contents © MuleSoft Inc. 55 Object Store V2 Features
  • 56. All contents © MuleSoft Inc. 56 Limitation • Not a universal data storage solution • Does not support transactions • Does not replace an actual DB and not suitable for searches, queries, etc. • Data is automatically removed after a set amount of time – 30 days for OSv2 • Limited to 10 TPS per app for “free tier” – Can licence higher TPS
  • 58. All contents © MuleSoft Inc. 58 Operations • Clear — Removes all the contents in the store. • Contains — Checks if there is any value associated to the given key. If no value exists for the key, then false is returned. • Remove — Removes the value associated to the given key. If no value exists for the key, then an OS:KEY_NOT_FOUND error is thrown. • Retrieve — Retrieves the value stored for the given key. If no value exists for the key, behavior depends on the defaultValue parameter. • Retrieve all keys — Returns a List containing all keys that the object store currently holds values for. • Retrieve all — Retrieves all the key value pairs in the object store. • Store — Stores the given value using the given key. This operation can be used either for storing new values or updating existing ones, depending on the value of the failIfPresent.
  • 59. All contents © MuleSoft Inc. 59 Object Store Instances • Default Object Store • Global Object Store • Private Object Store
  • 62. MuleSoft Community Experience Sharing Ask Questions / Share Feedback!
  • 63. All contents © MuleSoft Inc. What’s next 63 • Share: – Post your pictures with the hashtag #MuleIndoreMeetup on LinkedIn/Twitter – Invite your network to join: https://meetups.mulesoft.com/indore/ • Feedback: – Contact your organizer Pradhan Yash Sharma to suggest topics at mulesoftindore@gmail.com – Contact MuleSoft at meetup@mulesoft.com for ways to improve the program
  • 64. See you next time Please send topic suggestions to the organizer