DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Coding
  3. Tools
  4. Mulesoft CloudHub Custom Domain and HA Setup With AWS ELBs

Mulesoft CloudHub Custom Domain and HA Setup With AWS ELBs

Explore Mulesoft's CloudHub custom domain and HA setup with AWS ELBs.

Kaustubh Patil user avatar by
Kaustubh Patil
·
Feb. 27, 19 · Analysis
Like (9)
Save
Tweet
Share
13.19K Views

Join the DZone community and get the full member experience.

Join For Free

Mulesoft's Anypoint CloudHub is the iPaaS that provides auto-scaling Mulesoft runtimes and other associated services for the entire infrastructure. CloudHub offers HA by default when any integration application is deployed on to the runtimes of Anypoint CloudHub. The underlying AWS services provide the HA based on the number of workers you assign to the application/integration.

One of the crucial components that helps in achieving this is the "load balancer."  As an organization, you may use the public load balancer that is available to any of the application deployed on CloudHub runtimes. This, however, comes with the default CloudHub domain,  "<your-vpc-region>.cloudhub.io." The other approach — a more appropriate and most used one — is to have a custom domain name for your organization application. And this is logical as well. If you have services and applications that are specific to your organization, you will want to have a custom domain name and not use the default CloudHub's domain. The other important features this would provide are the abilities to configure your own custom routing rules, TLS certificates, and firewall rules for your own custom load balancer, amongst other things.

The custom load balancer, however, comes at a price. This CloudHub LB has to be purchased separately in addition to the base Mulesoft CloudHub licenses and VPCs.

Another aspect is CloudHub essentially uses AWS services and infrastructure under the hood. An organization might already have an AWS account and a subscription and might want to make use of it. One of the ways to leverage the AWS is to use the load balancer from AWS to front the CloudHub workers.

The below section explores the option of using the gateway and network services available in  AWS to construct a custom domain and gateway for the CloudHub VPC and applications on it.

Image title

As the diagram explains, the applications deployed on workers in the Mulesoft Anypoint CloudHub are accessed only by allowing the traffic to the CloudHub from the AWS VPC and the private subnets on AWS VPC. The two VPC's are peered using VPC peering. The AWS VPC is a standard setup having private and public subnets with AWS Internet Gateway.

The load balancing and HA is achieved by using the Public and Private ELB setups on AWS Public and Private ELBs, and the NGINX workers direct the traffic to the applications instances on CloudHub.

Let us know your thoughts in the comments.

AWS MuleSoft application Load balancing (computing)

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Java Development Trends 2023
  • Using JSON Web Encryption (JWE)
  • Why Every Fintech Company Needs DevOps
  • Choosing the Best Cloud Provider for Hosting DevOps Tools

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: