MuleSoft Platform Architect's Guide - Jitendra Bafna - E-Book

MuleSoft Platform Architect's Guide E-Book

Jitendra Bafna

0,0
32,39 €

-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.
Mehr erfahren.
Beschreibung

We’re living in the era of digital transformation, where organizations rely on APIs to enable innovation within the business and IT teams are asked to continue doing more with less. Written by Jim Andrews, a Mulesoft Evangelist, and Jitendra Bafna, a Senior Solution Architect with expertise in setting up Mulesoft, this book will help you deliver a robust, secure, and flexible enterprise API platform, supporting any required business outcome.
You’ll start by exploring Anypoint Platform’s architecture and its capabilities for modern integration before learning how to align business outcomes with functional requirements and how non-functional requirements shape the architecture. You'll also find out how to leverage Catalyst and Accelerators for efficient development. You'll get to grips with hassle-free API deployment and hosting in CloudHub 1.0/2.0, Runtime Fabric Manager, and hybrid environments and familiarize yourself with advanced operating and monitoring techniques with API Manager and Anypoint Monitoring. The final chapters will equip you with best practices for tackling complex topics and preparing for the MuleSoft Certified Platform Architect exam.
By the end of this book, you’ll understand Anypoint Platform’s capabilities and be able to architect solutions that deliver the desired business outcomes.

Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:

EPUB
MOBI

Seitenzahl: 616

Veröffentlichungsjahr: 2024

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



MuleSoft Platform Architect’s Guide

A practical guide to using Anypoint Platform’s capabilities to architect, deliver, and operate APIs

Jitendra Bafna

Jim Andrews

MuleSoft Platform Architect’s Guide

Copyright © 2024 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

Group Product Manager: Aaron Tanna

Publishing Product Manager: Uzma Sheerin

Senior Editor: Nisha Cleetus

Technical Editor: Vidhisha Patidar

Copy Editor: Safis Editing

Language Support Editor: Safis Editing

Project Coordinator: K Thoshith Vignesh

Proofreader: Nisha Cleetus

Indexer: Hemangini Bari

Production Designer: Prafulla Nikalje

Marketing Coordinator: Deepak Kumar and Mayank Singh

First published: July 2024

Production reference: 1190724

Published by Packt Publishing Ltd.

Grosvenor House

11 St Paul’s Square

Birmingham

B3 1RB, UK

ISBN 978-1-80512-618-8

www.packtpub.com

This book has been in progress for a long time and I want to thank my parents, who have raised me, and planted the seed of knowledge in me, and nurtured it. To my loving wife, you have always been a source of profound inspiration and relentless support. To my kids, the lifeline and the light of my life.

– Jitendra Bafna

To my wife Debra, you are a constant source of encouragement, support and love. The world is so much more fun with you and your smile in it. To my daughters Elizabeth and Grace, who are already out there being super-heros in the world, you have inspired me to be a better version of myself and always remind me to "Be Awesome". To my parents and brother for all the life steerage. And to my best friend Gil, for teaching me the fine arts of design along with the science of good architecture.

- Jim Andrews

Contributors

About the authors

Jitendra Bafna is a Senior Solution Architect and expert with vast experience in designing and solutioning the integrations and APIs solutions. He is a TOGAF 9.2 Level 1 and Level 2 certified and has expertise in various integration platforms. Jitendra has expertise in architecting and setting up MuleSoft Platform including CloudHub, CloudHub 2.0, Runtime Fabric, Hybrid, Flex Gateway, and Customer Hosted Platform. He completed his Bachelor of Engineering in Computer Science from Mumbai University and a Certificate Programme in Digital Transformation and Innovation from Indian Institute of Management Indore (IIM-I) in 2023.

I would like to first and foremost thank my parents, loving wife, and kids for their continued support, patience, and encouragement throughout the long process of writing this book. Thanks to all MuleSoft Community Managers, leaders, and members for continued support, inspiration and encouragement that I get from the MuleSoft Community.

Jim Andrews is an Integration Architecture Specialist, a MuleSoft evangelist, and a life-long learner: He has been designing and building integration solutions for dozens of clients for over 30 years in an ever-evolving technical landscape. A student of architectural methods, he holds TOGAF 9 Level 1 & 2 certifications. As a volunteer for the MuleSoft certification team, Jim helped develop exams for MuleSoft Developer L2, Integration Associate, Integration and Platform Architecture. A member of the MuleSoft Developer Community and Houston Meetup Leader, Jim presents at Meetups, Dreamforce, and Salesforce TDX. In his spare time, he co-hosts the podcast Bits That Bind. Jim holds BSc degree in a Computer Information Systems from Tarleton State University.

I want to thank my wife for setting the example by plowing through all the writing you've had to do for your MBA. I also want to thank my co-author Jitendra for stepping up and helping when life started throwing me curveballs. And thank you Prajakta. Every week you found a way to encourage me and make writing this book easier. Thank you Mariana Lemus for encouraging me to step up in the MuleSoft Community many years ago, and to the other community managers, Sabrina Hockett, Sabrina Marechal, Isabella Navarro - I truly believe you run the very best developer community in the world. Thanks Packt for believing in me and Jitendra and giving us the space, time, patience, and resources to get this book completed.

About the reviewers

Jose Ramon Huerga began his journey as a self-taught programmer at just 14 years old in the 80s, mastering C++. He earned a degree in Computer Engineering from the Universidad Autonoma of Madrid and has worked in the UK, Germany, Switzerland, Argentina, and Spain, leading projects in content management, integration, and API management. Jose is a MuleSoft Ambassador and leads the MuleSoft Meetup group of Barcelona. He coauthored the book “Kong: Becoming a King of API Gateways” and is a frequent speaker on APIs and integration. Married to Margarita, he is the proud father of two, Carlos and Victor. Jose loves learning new technologies and staying updated.

D. Rajesh Kumar is an Enterprise Architect with over 18 years of extensive experience in the IT industry. For the past 10+ years, he has specialized in the MuleSoft platform, working across various domains on end-to-end platform setups, architecture, design, and Center For Enablement (C4E) setups. He has written multiple technical blogs and has been a speaker and meetup leader, sharing his insights on advanced MuleSoft topics, integration strategies, and architectural patterns. He is a certified MuleSoft Architect and a MuleSoft Ambassador, recognized by MuleSoft for his expertise and contributions to the community. Currently, he is working as an Enterprise Architect at TCS, driving large-scale digital integration initiatives.

Table of Contents

Preface

1

What is the MuleSoft Platform?

Technical requirements

What is MuleSoft and iPaaS?

How have integration approaches evolved?

J&J Music Store Use Case

Point to Point

Middleware and Remote Procedure Calls

Enterprise Service Bus

Service Oriented Architecture

Representational State Transfer (REST Services)

iPaaS

What is the modern challenge to integration?

Breaking the law is harder than you think

Business innovation at the speed of technical debt

The Architectural capabilities of MuleSoft

Planes of operations

Platform deployment options

MuleSoft capabilities and components

Why are APIs so important in delivering modern integrations?

Summary

Questions

Answers

Further Reading

2

Platform Foundation Components and the Underlying Architecture

Technical requirements

The Anypoint control plane

Control plane hosting options

Securing the Anypoint control plane

Organizing the Anypoint control plane

The runtime plane overview

Runtime deployment options

Runtime plane hosting

Core components in the runtime plane

Combining control plane hosts and runtime hosts

Anypoint Core Services

Management capability

Design capability

Discover Capability

Summary

Questions

Further reading

Answers

3

Leveraging Catalyst and the MuleSoft Knowledge Hub

Exploring Catalyst, its core principles, and its engagements

What is Catalyst?

Catalyst’s foundation

Playbook organization

Catalyst engagements

Leveraging the Catalyst Knowledge Hub

Finding value in a C4E

Team enablement

Metrics and KPIs

Staffing

Summary

Questions

Further reading

Answers

4

An Introduction to Application Networks

An introduction to MuleSoft application networks

What is an application network?

Components and the importance of an application network

Building and implementing an application network

Planning the roadmap

Designing and developing

Managing and evangelizing reuse

The benefits and best practices of an application network

Benefits

Best practices

Summary

Questions

Further reading

Answers

5

Speeding with Accelerators

Unpacking the accelerator building blocks

Pre-built APIs

Connectors

Templates

Best practices

Data mappings

Endpoints

Customizing MuleSoft accelerators

Customizing the Accelerator for Retail – J&J Music Store speeds up

Essential building blocks for MuleSoft accelerators

The MuleSoft Catalyst GitHub repository

Summary

Further reading

6

Aligning Desired Business Outcomes to Functional Requirements

Developing business outcomes and functional requirements

Designing for communication

EDM

Advantages of an EDM

Disadvantages of EDMs

Bounded context data model

Advantages of the bounded context data model

Disadvantages of the bounded context data model

Coarse-grained APIs

Advantages of coarse-grained APIs

Disadvantages of coarse-grained APIs

Fine-grained APIs

Advantages of fine-grained APIs

Disadvantages of fine-grained APIs

API concurrency

HTTP verbs

API callback

Summary

7

Microservices, Application Networks, EDA, and API-led Design

Monolithic architecture

Advantages of a monolithic architecture

Disadvantages of a monolithic architecture

Microservices architecture

Characteristics of microservices

Advantages of a microservices architecture

Disadvantages of a microservices architecture

Saga pattern

Saga choreography pattern

Saga orchestration pattern

The Competing Consumers pattern

Benefits of implementing the Competing Consumers pattern

Circuit Breaker pattern

Circuit Breaker states

Anypoint MQ

Message exchanges and queues

Cross-region failover for Anypoint MQ standard queues

Dead-letter queues

The Circuit Breaker pattern with Anypoint MQ

Event-driven architecture (EDA)

Benefits of EDA

Limitations of EDA

API-led connectivity and EDA together

Experience API

Process API

System API

Application networks and composability

Summary

8

Non-Functional Requirements Influence in Shaping the API Architecture

Common non-functional requirements

Meeting performance requirements in the platform

Response time

Throughput

Error rates

Availability

Latency

Scalability

Resource allocation

Performance testing

Performance monitoring

Load balancing

Application caching

API security

Data security in motion or in transit

Data security at rest

Deployment strategies

Rolling update deployment

Blue-green deployment

Canary deployment

Summary

Further reading

9

Hassle-free Deployment with Anypoint iPaaS (CloudHub 1.0)

Technical requirements

What is CloudHub 1.0?

Workers and worker size

Shared load balancer

Region

DNS records

Intelligent healing (single-region disaster recovery)

Zero downtime updates

High availability

Scalability

Persistent Queues

Managing schedules

Object Store V2

Static IP address

Anypoint VPC

Anypoint VPC architecture

VPN IPsec tunnels

VPC peering

Transit Gateway Attachments

AWS Direct Connect

Calculating a CIDR mask for Anypoint VPC

Anypoint dedicated load balancer

Allowlist CIDRs

SSL certificates

Mutual authentication

Dedicated load balancer sizing

Dedicated load balancer timeout

Dedicated load balancer mapping rules

HTTP inbound mode

Recommendations

Dedicated load balancers for public and private traffic

Different options for deploying a MuleSoft application to CloudHub 1.0 Runtime Manager

The Mule Maven plugin

Anypoint CLI

CloudHub 1.0 API

Summary

Further reading

10

Hassle-Free Deployment with Anypoint iPaaS (CloudHub 2.0)

What is CloudHub 2.0?

Why CloudHub 2.0?

Replicas and replica size

Region

Clustering

High availability

Application isolation

Intelligent healing

Zero-downtime updates

Scalability

Supported Mule runtime

Granular vCore options

Object Store v2

Managing schedules

Last-mile security

Shared space

Private space

AWS service role

Inbound and outbound traffic rules

TLS context and domains

Public and private endpoints

Ingress load balancer

HTTP requests

VPN connection

Transit gateways

Private space network architecture

Multiple environments in private spaces

Multiple domains in private spaces

Different options for deploying MuleSoft applications to CloudHub Runtime Manager

Anypoint CLI

Technical enhancements from CloudHub 1.0 to CloudHub 2.0

Summary

Further reading

11

Containerizing the Runtime Plane with Runtime Fabric

Technical requirements

Kubernetes architecture

Master node components

Worker node components

What is Runtime Fabric?

Runtime Fabric on bare-metal servers/VMs

Network architecture

Shared responsibility between the customer and MuleSoft

The concept of etcd in Runtime Fabric

Quorum management

Scalability

High availability

Fault tolerance

Inbound load balancer (ingress load balancer)

Anypoint Security

Application performance metrics

Internal load balancer performance metrics

Runtime Fabric on self-managed Kubernetes

Runtime Fabric architecture on EKS

Installing Runtime Fabric on self-managed Kubernetes

Shared responsibilities between the customer and MuleSoft

High availability and fault tolerance

Scalability

How will an application deployed to self-managed Kubernetes communicate with an external service for which IP whitelisting is required?

The difference between Runtime Fabric on self-managed Kubernetes and bare-metal/VMs

Tokenization services

Secrets Manager

CPU bursting in Runtime Fabric

Pod

Last-mile security

Internal service-to-service communication

Persistence Gateway with Runtime Fabric

Deployment strategy

Clustering

Backing up and restoring Runtime Fabric

When to use the backup and restore process

What’s backed up?

Backing up and restoring

Different options for deploying a MuleSoft application to Runtime Fabric

The Mule Maven plugin

The benefits of Runtime Fabric

Runtime Fabric on Red Hat OpenShift

Summary

12

Deploying to Your Own Data Center

Technical requirements

Hardware requirements

Software requirements

Why an on-premises Mule runtime?

Running applications in an on-premises Mule runtime

High availability

Scalability

Load balancer

Anypoint clustering

Concurrency issues

Setting up Anypoint clustering manually

Setting up Anypoint clustering on Anypoint Platform

Persistent object store

Primary node and secondary nodes

VM queues in Anypoint clustering

Anypoint server group

Anypoint Platform Private Cloud Edition

Running on-premises Mule runtime use cases

Mule runtime plane on-premises and no control plane (standalone)

Mule runtime plane on-premises and control plane on Anypoint Platform (hybrid)

Mule runtime plane on-premises and control plane on Anypoint Platform PCE (fully on-premises)

Running multiple MuleSoft applications on a single port (Mule domain)

How to use a domain project in API-led connectivity architecture

Deploying a MuleSoft application on-premises using the Mule Maven plugin

Deploying a MuleSoft application on-premises using the Anypoint Runtime Manager (ARM) REST API

Deploying Mule for high availability and disaster recovery strategies

Cold standby

Warm standby

Hot standby – active-passive

Active-active

Upgrading a Mule runtime or scaling the underlying infrastructure without any downtime

Mule runtime on-premises security

Summary

Further reading

13

Government Cloud and the EU Control Plane – Special Considerations

FedRAMP compliance

What is MuleSoft Government Cloud?

Government Cloud considerations

Security in MuleSoft Government Cloud

Anypoint Virtual Private Cloud and Virtual Private Network in MuleSoft Government Cloud

A dedicated load balancer in MuleSoft Government Cloud

The MuleSoft Government Cloud control plane

The MuleSoft Government Cloud runtime plane

Standalone Mule support in MuleSoft Government Cloud

Deployment models for MuleSoft Government Cloud

The EU control plane

EU control plane considerations

Deploying applications to the EU control plane

Object Store in the EU control plane

Moving from the US control plane to the EU control plane

Anypoint VPC and VPN in the EU control plane

Anypoint Dedicated Load Balancer (DLB) in the EU control plane

Summary

Further reading

14

Functional Monitoring, Alerts, and Operation Monitors

Why is API monitoring required?

Anypoint Monitoring

The monitoring and analytics capabilities of Anypoint API Manager

Understanding Mule API analytics charts

API Manager alerts

Understanding the Mule Analytics Event API

API reports

Understanding Anypoint Monitoring

Dashboards

Anypoint Monitoring event-driven alerts

Enabling Anypoint Monitoring for applications deployed to CloudHub

Enabling Anypoint Monitoring for applications deployed to CloudHub 2.0

Enabling Anypoint Monitoring for applications deployed to Runtime Fabric

Enabling Anypoint Monitoring for applications deployed in hybrid environments

Data retention policy and limits

Monitoring connectors

Server information for hybrid environments

Enabling alerts for hybrid environments with Runtime Manager

Enabling alerts for CloudHub with Runtime Manager

Enabling alerts for CloudHub 2.0 with Runtime Manager

Functional Monitoring

Monitoring the endpoints of public APIs

Monitoring the endpoints of private APIs

Why is logging important?

Logs in Anypoint Monitoring

Understanding logging with MuleSoft applications deployed to CloudHub

Understanding logging with MuleSoft applications deployed to CloudHub 2.0

Understanding logging with MuleSoft applications deployed to on-premises/hybrid environments

Understanding logging with MuleSoft applications deployed to Runtime Fabric on bare-metal systems/VMs

JSON logging with a Mule application

Anypoint Visualizer

Summary

Further reading

15

Controlling API Sprawl with Universal API Management

API sprawl

How to prevent API sprawl

Universal API management

API management

The full API management life cycle

API gateway

Mule Gateway

API proxies

When to use an API proxy

API proxies versus API autodiscovery

Anypoint Service Mesh

Benefits of Flex Gateway

Flex Gateway in Connected Mode

Flex Gateway in Local Mode

Flex Gateway deployment models

High availability and scalability with Flex Gateway

Routing in Flex Gateway

Flex Gateway in Centralized Mode

Flex Gateway in Decentralized Mode

Flex Gateway API policies

Flex Gateway versus Mule Gateway

Share and discover APIs using Anypoint Platform

Developer portal

ACM

API Experience Hub

ACM versus API Experience Hub

API Analytics

API policies

API Governance

Implementing API Governance

Anypoint API Manager alerts

API security threats

DoS

Summary

References

16

Addressing Non-Functional Requirements – from a Thought to an Operation

Prerequisites

What are NFRs?

High availability

High availability and fault tolerance with CloudHub 1.0

High availability and fault tolerance with CloudHub 2.0

High availability and fault tolerance with the on-premises Mule runtime

High availability and fault tolerance with Runtime Fabric (bare-metal servers/VMs)

High availability and fault tolerance with Runtime Fabric (self-managed Kubernetes)

Scalability

Scalability with CloudHub 1.0

Scalability with CloudHub 2.0

Scalability with Runtime Fabric (bare-metal servers/VMs)

Scalability with Runtime Fabric (self-managed Kubernetes)

DR

DR for CloudHub 1.0 (multi-region)

DR for CloudHub 2.0 (multi-region)

DR for the on-premises Mule runtime

vCores allocation and optimization

vCores optimization and allocation with CloudHub 1.0 and CloudHub 2.0

vCores optimization and allocation with the on-premises Mule runtime

vCores optimization and allocation with Runtime Fabric

Summary

17

Prepare for Success

MCPA – Level 1 certification

Format of the examination

Validity

MCPA – Level 1 Maintenance exam

How to prepare for MCPA – Level 1

Why take the MCPA – Level 1 exam?

Who should take the MCPA – Level 1 exam?

What topics are covered in the examination?

Strategies for answering multiple-choice questions

System requirements for the examination

Exam day

Summary

Questions

Further reading

Answers

18

Tackling Tricky Topics

Considerations for choosing the right deployment model

CloudHub 1.0

CloudHub 2.0

Runtime Fabric

On-premises Mule runtime

Anypoint CLI

Resilient API techniques

Idempotent scope

Cache scope

Core components

Choice router

Scatter-Gather router

Error handling

Transform Message

Use case 1

Use case 2

Use case 3

Summary

Index

Other Books You May Enjoy

Preface

We are living in the era of Digital Transformation, where organizations rely on APIs to enable innovation within the business and across business partners. A robust, secure, and flexible enterprise platform is key to driving successful business outcomes which enable this innovation to thrive.

This book is a comprehensive guide exploring the capabilities and architecture of the Anypoint Platform. Beginning with an overview we will look at how business outcomes and functional requirements can be addressed in MuleSoft with out of the box Platform capabilities. This book will then walk you through best practices and the usage of core components including API Manager, Anypoint Monitoring, hosting options including CloudHub, CloudHub 2.0, Runtime Fabric Manager, and customer hosted. The book will also explore how Catalyst and Accelerators can be leveraged successfully from the start of a project through go-live and support, enabling faster, more efficient development cycles so you can release your APIs and get started innovating with the business.

By the end of this book, you will be able to master the Anypoint Platform capabilities and architect solutions that will not only enable but empower the Digital Transformation of your company.

Who this book is for

Technical Architects with knowledge of Integration and APIs looking to understand how to implement these solutions with the MuleSoft Anypoint Platform

MuleSoft Senior Developers who want to take on MuleSoft Platform Architect roles, are planning to take the MuleSoft Platform Architect certification exam and want to understand the platform capabilities in-depth.

Infrastructure Architects who need to understand and define MuleSoft hosting options and who are responsible for their organizations Anypoint Platform strategy.

What this book covers

Chapter 1: What is the MuleSoft Platform? In this chapter we will examine MuleSoft and the Anypoint Platform. We’ll identify the components and how they relate to each other. And we will describe the platform’s role in an organization and high level capabilities it provides as an integration Platform as a Service. We’ll also review a history of traditional integration approaches and how MuleSoft solves the need for a modern integration approach.

Chapter 2: Platform foundation components and the underlying architecture, The Anypoint platform is made up of many different services, components, and capabilities. This chapter examines at a high level the major components of the platform, why they are important to integration, if and how they interact. Essentially, this chapter begins to explore the properties and characteristics of the platform including Exchange, Runtime Manager, API Manager, Monitoring. This chapter will also point to later chapters where a more detailed exploration of certain services (such as CloudHub 2.0) and design an architecture to make the best use of them.

Chapter 3: Leveraging Catalyst and the Mulesoft KnowledgeHub, MuleSoft provides customers and partners access to a framework and methodology for delivery enterprise integration. This chapter will describe the methodology and how it combines business outcomes with technology and organization enablement using a library of artifacts, templates, and examples gathered from the field across numerous MuleSoft projects and deployments.

Chapter 4: Introduction to Application Networks, The structure produced through API-led connectivity is a network of nodes and applications. In this chapter we will discuss the logical concept of the application network, the physical manifestation, the benefits and the challenges of the network. This chapter will show how designing an application network not only enables the creation of a composable enterprise but also how it impacts the different platform deployment approaches.

Chapter 5: Speeding with Accelerators, MuleSoft has developed and made available 8 accelerators accessible through Anypoint Exchange. In this chapter, the reader will learn how these accelerators can save time across the various stages of the API lifecycle. The reader will gain a perspective on how the building blocks in each accelerator can be used and customized and what different assets, patterns, mappings, and endpoints have been included. Following a use case of a retail music store, the reader will walk through setting up and customizing the Retail Accelerator.

Chapter 6: Aligning desired business outcomes to functional requirements, A critical step in getting the most out of the MuleSoft platform is to understand the desired business outcomes and turn those outcomes into functional requirements. This chapter looks at how functional requirements line up with the platform capabilities. The reader will look at how these functional requirements can influence architecture decisions and design patterns such as data models, granularity, concurrency, and HTTP methods. The chapter will include examples of using bounded context data models vs. enterprise data models, using asynchronous APIs with polling and callbacks.

Chapter 7: Microservices, Application Networks, and API led design, The MuleSoft Platform is very flexible and is able to accommodate multiple approaches to architecture design. This chapter will address popular architecture design approaches and how these will look when deployed to (or managed by) the Anypoint Platform. The chapter will also compare and contrast the architecture approaches, examine pros and cons of each, and suggest best practices for designing solutions.

Chapter 8: Non-Functional Requirements influence in shaping the Architecture, Every architect must manage a set of non-functional requirements. These non-functional requirements describe the technical constraints of the solution and document how the solution should behave. What kind of performance is expected? What about availability? What happens when disaster strikes? Who can access and when? Is security critical or not? What kind of encryption is needed? The reader will see in this chapter how the answers to these questions influence the architecture design and how the design should use MuleSoft Platform.

Chapter 9: Hassle-free deployment with Anypoint iPaaS (CloudHub), In this chapter the reader will learn approaches to deployment using MuleSoft CloudHub. This chapter will look at what are the differences and how are the two cloud iPaaS environments similar. This chapter will also look at the different ways to deploy your solution to the Anypoint CloudHub offerings and the pros and cons of each of these methods. It will also examine licensing implications of your design and architecture approach.

Chapter 10: Hassle-free deployment with Anypoint iPaaS (CloudHub 2.0), In this chapter the reader will learn approaches to deployment using MuleSoft CloudHub 2.0. This chapter will look at what are the differences and how are the two cloud iPaaS environments similar. This chapter will also look at the different ways to deploy your solution to the Anypoint CloudHub 2.0 offerings and the pros and cons of each of these methods. It will also examine licensing implications of your design and architecture approach.

Chapter 11: Containerizing the Runtime Plane with Runtime Fabric, This chapter will introduce the Anypoint Runtime Fabric (RTF). The chapter will look at the basic concepts of containerization using some of the industry standards such as EKS and AKS. It will then look at how RTF aligns with these container concepts and platforms. The chapter will also examine the different approaches MuleSoft supports with RTF, including self-managed containers and Anypoint managed containers.

Chapter 12: Deploying to your own Data Center, As a hybrid integration platform as a service, MuleSoft can run anywhere including inside a businesses data center on the businesses own iron. This chapter takes a look at how to set up the server to run the MuleSoft engine and how to connect it to the control panel so it can be managed. The chapter will also take a brief look at Private Cloud Edition (PCE) and how it allows an organization to run both the control plane as well as the runtime plane from their own hardware and servers from within their own development center.

Chapter 13: Government Cloud and EU Control Plane: Special considerations, This chapter will show the reader some important differences when working with the Government Cloud as well as the EU Control Plane. The chapter will give a brief introduction to FEDRAMp compliance. The reader will learn the government cloud is deployed in a special AWS region which is FEDRamp compliment.

Chapter 14: Functional Monitoring, Alerts, and Operation Monitors: Advanced monitoring techniques, This chapter will show the reader what are the capabilities provided by Anypoint Monitoring and what are the different alerts that can be configured on APIs and Servers. The reader will learn about Functional Monitoring and some of the advanced features of Anypoint Monitoring.

Chapter 15: Controlling API Sprawl in one Platform with Universal API Management, This chapter will show the reader how to manage MuleSoft APIs and Non MuleSoft APIs lifecycle using API Manager. The reader will learn Mule Gateway, Flex Gateway, Service Mesh, API Proxies, Analytics, Alerts etc.

Chapter 16: Addressing non-functional requirements from thought to operate, This chapter will show the reader about implementing Non-Functional requirements like HA, Fault Tolerance, Resilience and allocating and optimizing the vCores to enhance the application performance.

Chapter 17: Prepare for exam success, This chapter will show the reader how to prepare for the MuleSoft Certified Platform Architecture Exam - Level 1 and eligibility criteria for the exam. It will tell what are the important topics for the MCPA exam and recommendations and guidelines for the exam.

Chapter 18: Tackling Tricky Topics, The MuleSoft Exams are not meant to be tricky. They have been designed and developed to set the bar at just the right level to ensure the exam takers know the material. Occasionally some of the topics covered in the Platform Architecture exam are a bit more difficult and can seem tricky. This chapter will look at the topics that may be more difficult.

To get the most out of this book

Software/hardware covered in the book

Operating system requirements

Java 8 or Java 17

Windows, macOS, or Linux

Maven

Anypoint Studio IDE and Anypoint Platform

Download the color images

We also provide a PDF file that has color images of the screenshots and diagrams used in this book. You can download it here: https://packt.link/gbp/9781805126188.

Disclaimer on images

Some images in this title are presented for contextual purposes, and the readability of the graphic is not crucial to the discussion. Please refer to our free graphic bundle to download the images. You can download the images from https://packt.link/gbp/9781805126188

Conventions used

There are number of text conventions used throughout this book.

Code in text: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “The backup and restore process is simple via rtfctl."

A block of code is set as follows:

<plugin>  <groupId>org.mule.tools.maven</groupId>  <artifactId>mule-maven-plugin</artifactId>  <version>3.8.6</version>  <extensions>true</extensions>  <configuration>    <standaloneDeployment>      <muleHome>${mule.home }</muleHome>      <muleVersion>${app.runtime}</muleVersion>    </standaloneDeployment>  </configuration></plugin>

Any command-line input or output is written as follows:

./rtfctl backup <path_to_store_backup>

Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: "Checking specifically for Design Architecture & Implementation, as shown in Figure 3.1, we find a playbook step that may be helpful.

Tips or important notes

Appear like this.

Get in touch

Feedback from our readers is always welcome.

General feedback: If you have questions about any aspect of this book, email us at [email protected] and mention the book title in the subject of your message.

Errata: Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you have found a mistake in this book, we would be grateful if you would report this to us. Please visit www.packtpub.com/support/errata and fill in the form.

Piracy: If you come across any illegal copies of our works in any form on the internet, we would be grateful if you would provide us with the location address or website name. Please contact us at [email protected] with a link to the material.

If you are interested in becoming an author: If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, please visit authors.packtpub.com.

Share Your Thoughts

Once you’ve read MuleSoft Platform Architect’s Guide, we’d love to hear your thoughts! Please click here to go straight to the Amazon review page for this book and share your feedback.

Your review is important to us and the tech community and will help us make sure we’re delivering excellent quality content.

Download a free PDF copy of this book

Thanks for purchasing this book!

Do you like to read on the go but are unable to carry your print books everywhere?

Is your eBook purchase not compatible with the device of your choice?

Don’t worry, now with every Packt book you get a DRM-free PDF version of that book at no cost.

Read anywhere, any place, on any device. Search, copy, and paste code from your favorite technical books directly into your application.

The perks don’t stop there, you can get exclusive access to discounts, newsletters, and great free content in your inbox daily

Follow these simple steps to get the benefits:

Scan the QR code or visit the link below

https://packt.link/free-ebook/9781805126188

Submit your proof of purchaseThat’s it! We’ll send your free PDF and other benefits to your email directly