CloudHub 1.0 to CloudHub 2.0 Migration: Complete Architectural Checklist
A 10-point technical refactoring guide covering ephemeral storage (/tmp), strict 8081 port bindings, Ingress TLS termination, and Maven 3.8+ deployment.
What are the critical application-level refactoring requirements when migrating from CloudHub 1.0 to 2.0?
CloudHub 2.0 runs as containerized Kubernetes pods in Shared or Private Spaces. Key refactorings include: 1) Strict HTTP port 8081 (CloudHub 1.0 allowed 8082 for HTTPS, whereas CH 2.0 terminates TLS at the Ingress controller); 2) Ephemeral file system (local disk storage is wiped whenever replicas restart or horizontally autoscale); 3) Maven plugin upgrade to 3.8.0+ targeting deploymentType cloudhub2.
<plugin>
<groupId>org.mule.tools.maven</groupId>
<artifactId>mule-maven-plugin</artifactId>
<version>3.8.2</version>
<configuration>
<cloudhub2Deployment>
<uri>https://anypoint.mulesoft.com</uri>
<provider>MC</provider>
<environment>Production</environment>
<target>us-east-1-private-space</target>
<vCores>0.2</vCores>
</cloudhub2Deployment>
</configuration>
</plugin>
How does CloudHub 2.0 handle Dedicated Load Balancers (DLB) vs Ingress Controllers?
In CloudHub 1.0, teams provisioned costly Dedicated Load Balancers (DLBs) to map vanity domains and path-based routing. In CloudHub 2.0, Ingress routing is built-in natively at the Private Space level, eliminating the need to pay for and manage standalone DLBs while providing sub-millisecond path routing and TLS termination.