SlideShare a Scribd company logo
Cloudhub Dedicated
Load Balancers
Fatih Cihat Turgut, Mulesoft Architect
fcturgut@gmail.com
AGENDA
● Registration & Coffee/ 17:30-18:00
● Welcome & Introduction / 18:00-18:15
● Cloudhub Dedicated Load Balancers / 18:15-19:00
● Trivia & Prizes / 19:00-19:15
● Next Meetup Ideas / 19:15-19:20
● Pizza & Drinks Time & Networking / 19:20 - 20:00
Introductions
●About the organizer: Fatih Turgut
○ Moved to the Netherlands 2 years ago, Living in Amsterdam, married, 1 daughter.
○ 10+ Years in IT, last 6 years with Mulesoft. MCIA, MCPA.
○ Sr. Consultant at Devoteam for the last 2 years. Recent assignments; Intergamma, RTL,
Sodexo, Accell IT
●About the sponsor: Devoteam
○ Devoteam is a leading consulting firm focused on digital strategy, tech platforms, data and
cybersecurity.
○ With 25 years’ experience and more than 10,000 employees across Europe, the Middle East
and Africa, Devoteam promotes responsible tech for people and works to create better change.
Cloudhub Dedicated Load Balancers
What is a Load Balancer?
● Efficiently distributing incoming network traffic across a group of servers or applications.
○ Maximizes speed and capacity utilization and ensures that no server is overworked or
overwhelmed.
Mulesoft Cloudhub
● CloudHub is a cloud-based integration platform as a service (iPaaS) that enables developers to
integrate and orchestrate applications and services. These applications and services are run on
one or more instances of MuleSoft which is known as Workers. CloudHub provides a load
balancing service for all integrations. We can use the default load balancing service (SLB) or
obtain a dedicated load balancer.
Shared Load Balancer
● As the name suggests, a ‘Shared’ Load Balancer is shared between all the CloudHub
customers and it sits outside of the Client’s VPC.
● There is one SLB clustered instance in each CloudHub region that serves all the CloudHub
customers in that AWS region.Therefore, SLB can only be used to balance the calls for the
external-facing APIs, it can’t be used for balancing the load between your internal workers.
Dedicated Load Balancer
● Dedicated Load Balancer (DLB) is an
optional component of the Anypoint
Platform that enables you to route
external and internal HTTP and HTTPS
traffic to multiple Mule applications
deployed in your VPC.
● DLB sits inside of your VPC and while
routing incoming traffic, it will route to
8091 and 8092 ports.
● You will have more control over it, like
scalability, vanity domain, your very own
SSL certificates, and two-way TLS
configuration.
Technical Aspects of DLB
● Every DLB can be associated with only one VPC.
● Each DLB by default runs in a highly available configuration with 2 workers.
● Each worker size is configured as 2 vCores + 3.5 GB Memory. This won't consume the vCores
from CloudHub vCore subscription.
● Scalable horizontally but not vertically.
● Every entitlement includes 2 workers. So for every 2 workers you need 1 DLB licence.
● 1 DLB can be configured with max 8 workers.
● Connect timeout is 4 seconds per worker (4 times it tries for a TCP handshake and waits for 1
second per try). If the attempt fails for one worker, it gets another IP from the internal DNS for
subsequent workers. When there are no more workers left, it responds with a Connect Timeout.
Technical Aspects of DLB
Public and Private Exposure
● Default 2 workers, so 2 Public and 2 Private IPs are assigned.
● Public IP addresses can be set as static
● Private IP addresses can not be assigned static IPs. It randomly gets assigned to two of the
CIDR range of the VPC.
● Private IP addresses naturally can be called only from your internal network. That means only by
the Mule applications that runs on the same VPC or over the VPN tunnel if exists.
● You can limit the IPs that can access to the DLB with Allowlist. Its default is 0.0.0.0/0 , basically
anywhere.
DNS Structure and Mappings
● 2 DNS is associated with your DLB regardless of worker counts. 1 DNS is for public facing and
resolves to your public IPs of DLB, and the other one is for internal facing and resolves to your
internal IPs of DLB.
● Public DNS naming convention is: <lb-name>.<sub-domain-for-anypointdns>.anypointdns.net
● Private DNS naming convention is: internal-<lb-name>.<sub-domain-for-
anypointdns>.anypointdns.net
● We can mask the default DNS of Anypoint Platform with a SSL Certificate and DNS CNAME
Record. DNS A record is not advised even though you use static IPs.
DLB Properties and Options
● Allowlisted CIDRs - Default 0.0.0.0/0
● Timeout in Seconds - Response Timeout Default 300 Seconds
● Connect Timeout - 4 seconds (4 times it tries for a TCP handshake and waits for 1 second per try
per worker)
● Inbound HTTP Mode:
○ Mode Off
○ Mode On
○ Mode Redirect
● Static IP
● Keep URL Encoding - Non-ASCII chars to ASCII; %20 (space) and %23 (#)
● Support TLS 1.0 - Not advised. Last resort.
● Upstream TLS 1.2 - Force the TLS 1.2 from DLB to Mule worker
● Forward Client Certificate*
SSL Certificates
A dedicated load balancer must have at least one certificate associated with it in order to create it.
● Certificates must be pem-encoded.
● The private Key has to be unencrypted.
● All the key attributes and bag attributes must be removed.
● Files must contain the entire certificate chain and that chain has to be ordered sequentially.
If those are sent to you separately you can simply append them to a text editor. The order of
the certificates in the file must be:
○ Certificate for the DLB
○ Certificates for intermediate CAs
○ Certificate for the root CA
Creating the SSL Certificate
● We are going to use OpenSSL
● If you already have Git for Windows, you may simply go to the Git installation directory, find
usrbinopenssl.exe and run it or run the Git Bash and use the “OpenSSL” command.
● A third option would be to add the git OpenSSL path to the environment variables so you
can access OpenSSL from cmd and anywhere.
Create cert&key: openssl req -x509 -newkey rsa:2048 -keyout dlbk.pem -out dlbcert.pem -days 365
Decrypt key: openssl rsa -in dlbk.pem -out undlbk.pem
Creating the DLB
Trivia Time
Next Meetup Ideas
Thank You

More Related Content

Similar to DLB Meetup Mulesoft.pptx

Secure and private collaboration - LinuxDays 2015 Kolab and Univention
Secure and private collaboration - LinuxDays 2015 Kolab and UniventionSecure and private collaboration - LinuxDays 2015 Kolab and Univention
Secure and private collaboration - LinuxDays 2015 Kolab and Univention
hcderaad
 
Truemotion Adventures in Containerization
Truemotion Adventures in ContainerizationTruemotion Adventures in Containerization
Truemotion Adventures in Containerization
Ryan Hunter
 
How Pulsar Enables Netdata to Offer Unlimited Infrastructure Monitoring for F...
How Pulsar Enables Netdata to Offer Unlimited Infrastructure Monitoring for F...How Pulsar Enables Netdata to Offer Unlimited Infrastructure Monitoring for F...
How Pulsar Enables Netdata to Offer Unlimited Infrastructure Monitoring for F...
StreamNative
 
Toronto Virtual Meetup #7 - Anypoint VPC, VPN and DLB Architecture
Toronto Virtual Meetup #7 - Anypoint VPC, VPN and DLB ArchitectureToronto Virtual Meetup #7 - Anypoint VPC, VPN and DLB Architecture
Toronto Virtual Meetup #7 - Anypoint VPC, VPN and DLB Architecture
Alexandra N. Martinez
 
SPDY and What to Consider for HTTP/2.0
SPDY and What to Consider for HTTP/2.0SPDY and What to Consider for HTTP/2.0
SPDY and What to Consider for HTTP/2.0
Mike Belshe
 
How Much Can You Connect? | Bhavesh Raheja, Disney + Hotstar
How Much Can You Connect? | Bhavesh Raheja, Disney + HotstarHow Much Can You Connect? | Bhavesh Raheja, Disney + Hotstar
How Much Can You Connect? | Bhavesh Raheja, Disney + Hotstar
HostedbyConfluent
 
How Much Can You Connect? | Bhavesh Raheja, Disney + Hotstar
How Much Can You Connect? | Bhavesh Raheja, Disney + HotstarHow Much Can You Connect? | Bhavesh Raheja, Disney + Hotstar
How Much Can You Connect? | Bhavesh Raheja, Disney + Hotstar
HostedbyConfluent
 
Locking down your Kubernetes cluster with Linkerd
Locking down your Kubernetes cluster with LinkerdLocking down your Kubernetes cluster with Linkerd
Locking down your Kubernetes cluster with Linkerd
Buoyant
 
RTBkit Meetup - Developer Spotlight, Behind the Scenes of RTBkit and Intro to...
RTBkit Meetup - Developer Spotlight, Behind the Scenes of RTBkit and Intro to...RTBkit Meetup - Developer Spotlight, Behind the Scenes of RTBkit and Intro to...
RTBkit Meetup - Developer Spotlight, Behind the Scenes of RTBkit and Intro to...
Datacratic
 
Services in kubernetes-KnolX .pdf
Services in kubernetes-KnolX .pdfServices in kubernetes-KnolX .pdf
Services in kubernetes-KnolX .pdf
Knoldus Inc.
 
Go at uber
Go at uberGo at uber
Go at uber
Rob Skillington
 
MuleSoft Surat Live Demonstration Virtual Meetup#1 - Anypoint VPC VPN and DLB
MuleSoft Surat Live Demonstration Virtual Meetup#1 - Anypoint VPC VPN and DLBMuleSoft Surat Live Demonstration Virtual Meetup#1 - Anypoint VPC VPN and DLB
MuleSoft Surat Live Demonstration Virtual Meetup#1 - Anypoint VPC VPN and DLB
Jitendra Bafna
 
MuleSoft Meetup Vancouver 5th Virtual Event
MuleSoft Meetup Vancouver 5th Virtual EventMuleSoft Meetup Vancouver 5th Virtual Event
MuleSoft Meetup Vancouver 5th Virtual Event
Vikalp Bhalia
 
Building a Small DC
Building a Small DCBuilding a Small DC
Building a Small DC
APNIC
 
OpenFlow @ Google
OpenFlow @ GoogleOpenFlow @ Google
OpenFlow @ Google
Open Networking Summits
 
Running Dataproc At Scale in production - Searce Talk at GDG Delhi
Running Dataproc At Scale in production - Searce Talk at GDG DelhiRunning Dataproc At Scale in production - Searce Talk at GDG Delhi
Running Dataproc At Scale in production - Searce Talk at GDG Delhi
Searce Inc
 
Building a Small Datacenter
Building a Small DatacenterBuilding a Small Datacenter
Building a Small Datacenter
ssuser4b98f0
 
DORS/CLUC How to setup Kolab and Seafile as your personal secure data bank
DORS/CLUC How to setup Kolab and Seafile as your personal secure data bankDORS/CLUC How to setup Kolab and Seafile as your personal secure data bank
DORS/CLUC How to setup Kolab and Seafile as your personal secure data bank
hcderaad
 
HAProxy as Egress Controller
HAProxy as Egress ControllerHAProxy as Egress Controller
HAProxy as Egress Controller
Julien Pivotto
 
Laskar: High-Velocity GraphQL & Lambda-based Software Development Model
Laskar: High-Velocity GraphQL & Lambda-based Software Development ModelLaskar: High-Velocity GraphQL & Lambda-based Software Development Model
Laskar: High-Velocity GraphQL & Lambda-based Software Development Model
Garindra Prahandono
 

Similar to DLB Meetup Mulesoft.pptx (20)

Secure and private collaboration - LinuxDays 2015 Kolab and Univention
Secure and private collaboration - LinuxDays 2015 Kolab and UniventionSecure and private collaboration - LinuxDays 2015 Kolab and Univention
Secure and private collaboration - LinuxDays 2015 Kolab and Univention
 
Truemotion Adventures in Containerization
Truemotion Adventures in ContainerizationTruemotion Adventures in Containerization
Truemotion Adventures in Containerization
 
How Pulsar Enables Netdata to Offer Unlimited Infrastructure Monitoring for F...
How Pulsar Enables Netdata to Offer Unlimited Infrastructure Monitoring for F...How Pulsar Enables Netdata to Offer Unlimited Infrastructure Monitoring for F...
How Pulsar Enables Netdata to Offer Unlimited Infrastructure Monitoring for F...
 
Toronto Virtual Meetup #7 - Anypoint VPC, VPN and DLB Architecture
Toronto Virtual Meetup #7 - Anypoint VPC, VPN and DLB ArchitectureToronto Virtual Meetup #7 - Anypoint VPC, VPN and DLB Architecture
Toronto Virtual Meetup #7 - Anypoint VPC, VPN and DLB Architecture
 
SPDY and What to Consider for HTTP/2.0
SPDY and What to Consider for HTTP/2.0SPDY and What to Consider for HTTP/2.0
SPDY and What to Consider for HTTP/2.0
 
How Much Can You Connect? | Bhavesh Raheja, Disney + Hotstar
How Much Can You Connect? | Bhavesh Raheja, Disney + HotstarHow Much Can You Connect? | Bhavesh Raheja, Disney + Hotstar
How Much Can You Connect? | Bhavesh Raheja, Disney + Hotstar
 
How Much Can You Connect? | Bhavesh Raheja, Disney + Hotstar
How Much Can You Connect? | Bhavesh Raheja, Disney + HotstarHow Much Can You Connect? | Bhavesh Raheja, Disney + Hotstar
How Much Can You Connect? | Bhavesh Raheja, Disney + Hotstar
 
Locking down your Kubernetes cluster with Linkerd
Locking down your Kubernetes cluster with LinkerdLocking down your Kubernetes cluster with Linkerd
Locking down your Kubernetes cluster with Linkerd
 
RTBkit Meetup - Developer Spotlight, Behind the Scenes of RTBkit and Intro to...
RTBkit Meetup - Developer Spotlight, Behind the Scenes of RTBkit and Intro to...RTBkit Meetup - Developer Spotlight, Behind the Scenes of RTBkit and Intro to...
RTBkit Meetup - Developer Spotlight, Behind the Scenes of RTBkit and Intro to...
 
Services in kubernetes-KnolX .pdf
Services in kubernetes-KnolX .pdfServices in kubernetes-KnolX .pdf
Services in kubernetes-KnolX .pdf
 
Go at uber
Go at uberGo at uber
Go at uber
 
MuleSoft Surat Live Demonstration Virtual Meetup#1 - Anypoint VPC VPN and DLB
MuleSoft Surat Live Demonstration Virtual Meetup#1 - Anypoint VPC VPN and DLBMuleSoft Surat Live Demonstration Virtual Meetup#1 - Anypoint VPC VPN and DLB
MuleSoft Surat Live Demonstration Virtual Meetup#1 - Anypoint VPC VPN and DLB
 
MuleSoft Meetup Vancouver 5th Virtual Event
MuleSoft Meetup Vancouver 5th Virtual EventMuleSoft Meetup Vancouver 5th Virtual Event
MuleSoft Meetup Vancouver 5th Virtual Event
 
Building a Small DC
Building a Small DCBuilding a Small DC
Building a Small DC
 
OpenFlow @ Google
OpenFlow @ GoogleOpenFlow @ Google
OpenFlow @ Google
 
Running Dataproc At Scale in production - Searce Talk at GDG Delhi
Running Dataproc At Scale in production - Searce Talk at GDG DelhiRunning Dataproc At Scale in production - Searce Talk at GDG Delhi
Running Dataproc At Scale in production - Searce Talk at GDG Delhi
 
Building a Small Datacenter
Building a Small DatacenterBuilding a Small Datacenter
Building a Small Datacenter
 
DORS/CLUC How to setup Kolab and Seafile as your personal secure data bank
DORS/CLUC How to setup Kolab and Seafile as your personal secure data bankDORS/CLUC How to setup Kolab and Seafile as your personal secure data bank
DORS/CLUC How to setup Kolab and Seafile as your personal secure data bank
 
HAProxy as Egress Controller
HAProxy as Egress ControllerHAProxy as Egress Controller
HAProxy as Egress Controller
 
Laskar: High-Velocity GraphQL & Lambda-based Software Development Model
Laskar: High-Velocity GraphQL & Lambda-based Software Development ModelLaskar: High-Velocity GraphQL & Lambda-based Software Development Model
Laskar: High-Velocity GraphQL & Lambda-based Software Development Model
 

Recently uploaded

Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
zwunae
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
Kamal Acharya
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
ssuser7dcef0
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
ChristineTorrepenida1
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
anoopmanoharan2
 

Recently uploaded (20)

Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
 

DLB Meetup Mulesoft.pptx

  • 1. Cloudhub Dedicated Load Balancers Fatih Cihat Turgut, Mulesoft Architect fcturgut@gmail.com
  • 2. AGENDA ● Registration & Coffee/ 17:30-18:00 ● Welcome & Introduction / 18:00-18:15 ● Cloudhub Dedicated Load Balancers / 18:15-19:00 ● Trivia & Prizes / 19:00-19:15 ● Next Meetup Ideas / 19:15-19:20 ● Pizza & Drinks Time & Networking / 19:20 - 20:00
  • 3. Introductions ●About the organizer: Fatih Turgut ○ Moved to the Netherlands 2 years ago, Living in Amsterdam, married, 1 daughter. ○ 10+ Years in IT, last 6 years with Mulesoft. MCIA, MCPA. ○ Sr. Consultant at Devoteam for the last 2 years. Recent assignments; Intergamma, RTL, Sodexo, Accell IT ●About the sponsor: Devoteam ○ Devoteam is a leading consulting firm focused on digital strategy, tech platforms, data and cybersecurity. ○ With 25 years’ experience and more than 10,000 employees across Europe, the Middle East and Africa, Devoteam promotes responsible tech for people and works to create better change.
  • 4. Cloudhub Dedicated Load Balancers What is a Load Balancer? ● Efficiently distributing incoming network traffic across a group of servers or applications. ○ Maximizes speed and capacity utilization and ensures that no server is overworked or overwhelmed.
  • 5. Mulesoft Cloudhub ● CloudHub is a cloud-based integration platform as a service (iPaaS) that enables developers to integrate and orchestrate applications and services. These applications and services are run on one or more instances of MuleSoft which is known as Workers. CloudHub provides a load balancing service for all integrations. We can use the default load balancing service (SLB) or obtain a dedicated load balancer.
  • 6. Shared Load Balancer ● As the name suggests, a ‘Shared’ Load Balancer is shared between all the CloudHub customers and it sits outside of the Client’s VPC. ● There is one SLB clustered instance in each CloudHub region that serves all the CloudHub customers in that AWS region.Therefore, SLB can only be used to balance the calls for the external-facing APIs, it can’t be used for balancing the load between your internal workers.
  • 7. Dedicated Load Balancer ● Dedicated Load Balancer (DLB) is an optional component of the Anypoint Platform that enables you to route external and internal HTTP and HTTPS traffic to multiple Mule applications deployed in your VPC. ● DLB sits inside of your VPC and while routing incoming traffic, it will route to 8091 and 8092 ports. ● You will have more control over it, like scalability, vanity domain, your very own SSL certificates, and two-way TLS configuration.
  • 8. Technical Aspects of DLB ● Every DLB can be associated with only one VPC. ● Each DLB by default runs in a highly available configuration with 2 workers. ● Each worker size is configured as 2 vCores + 3.5 GB Memory. This won't consume the vCores from CloudHub vCore subscription. ● Scalable horizontally but not vertically. ● Every entitlement includes 2 workers. So for every 2 workers you need 1 DLB licence. ● 1 DLB can be configured with max 8 workers. ● Connect timeout is 4 seconds per worker (4 times it tries for a TCP handshake and waits for 1 second per try). If the attempt fails for one worker, it gets another IP from the internal DNS for subsequent workers. When there are no more workers left, it responds with a Connect Timeout.
  • 10. Public and Private Exposure ● Default 2 workers, so 2 Public and 2 Private IPs are assigned. ● Public IP addresses can be set as static ● Private IP addresses can not be assigned static IPs. It randomly gets assigned to two of the CIDR range of the VPC. ● Private IP addresses naturally can be called only from your internal network. That means only by the Mule applications that runs on the same VPC or over the VPN tunnel if exists. ● You can limit the IPs that can access to the DLB with Allowlist. Its default is 0.0.0.0/0 , basically anywhere.
  • 11. DNS Structure and Mappings ● 2 DNS is associated with your DLB regardless of worker counts. 1 DNS is for public facing and resolves to your public IPs of DLB, and the other one is for internal facing and resolves to your internal IPs of DLB. ● Public DNS naming convention is: <lb-name>.<sub-domain-for-anypointdns>.anypointdns.net ● Private DNS naming convention is: internal-<lb-name>.<sub-domain-for- anypointdns>.anypointdns.net ● We can mask the default DNS of Anypoint Platform with a SSL Certificate and DNS CNAME Record. DNS A record is not advised even though you use static IPs.
  • 12. DLB Properties and Options ● Allowlisted CIDRs - Default 0.0.0.0/0 ● Timeout in Seconds - Response Timeout Default 300 Seconds ● Connect Timeout - 4 seconds (4 times it tries for a TCP handshake and waits for 1 second per try per worker) ● Inbound HTTP Mode: ○ Mode Off ○ Mode On ○ Mode Redirect ● Static IP ● Keep URL Encoding - Non-ASCII chars to ASCII; %20 (space) and %23 (#) ● Support TLS 1.0 - Not advised. Last resort. ● Upstream TLS 1.2 - Force the TLS 1.2 from DLB to Mule worker ● Forward Client Certificate*
  • 13. SSL Certificates A dedicated load balancer must have at least one certificate associated with it in order to create it. ● Certificates must be pem-encoded. ● The private Key has to be unencrypted. ● All the key attributes and bag attributes must be removed. ● Files must contain the entire certificate chain and that chain has to be ordered sequentially. If those are sent to you separately you can simply append them to a text editor. The order of the certificates in the file must be: ○ Certificate for the DLB ○ Certificates for intermediate CAs ○ Certificate for the root CA
  • 14. Creating the SSL Certificate ● We are going to use OpenSSL ● If you already have Git for Windows, you may simply go to the Git installation directory, find usrbinopenssl.exe and run it or run the Git Bash and use the “OpenSSL” command. ● A third option would be to add the git OpenSSL path to the environment variables so you can access OpenSSL from cmd and anywhere. Create cert&key: openssl req -x509 -newkey rsa:2048 -keyout dlbk.pem -out dlbcert.pem -days 365 Decrypt key: openssl rsa -in dlbk.pem -out undlbk.pem

Editor's Notes

  1. A Record is not suggested because if the DLB is upscaled or downscaled we need to update the A record again. We will go into the details of creating a certificate