Site icon LeadexSystems

Install Anypoint Runtime Fabric on Oracle Cloud Infrastructure and OpenShift

Medium link


Quick Start with Anypoint Rutime Fabric and OpenShift Oracle OCI in Saudi Arabia

Owned by Dmitry Fundak

Last updated: Oct 08, 2024

Forward

There are many options available when it comes to public clouds in Saudi Arabia.

Vendors with exisiting clouds:

Google Cloud

Dammam ( 2 availability zones)

Alibaba Cloud

Vendors announced investments in Saudi Arabia and soon would have clouds:

So to stay compliant with data regulations / data residency and use cloud benefits GCP and Oracle Cloud Infrastructure looks like mosts logical ways when it comes to running Anypoint Runtime Fabric.
While GCP’s Google Kubernets Engine supported by MuleSoft it’s pretty straighforward to follow and install it.

Oracle Cloud’s Oracle Kubernetes Engine (OKE) officially not support by MuleSoft and recommended approach to run RTF is to set it up “on top” of enterprise kubernetes platform i.e. Red Hat Openshift.

Another benefit of using Red Hat OpenShift is ready out of the box Cloud Exit strategy – run RTF internal network i.e. with Oracle Cloud @ Customer

It this short article I will describe how to do RTF installation and base configuration to Oracle Cloud in Jeddah region (me-jeddah-1).

1 Create Oracle OCI (if you don’t have one)

If you don’t have Oracle Cloud account, simply create one – Oracle Cloud Free Tier Signup
In order to setup default OpenShift configuration on Oracle Cloud free tier would not be enough, need to upgrade OCI to paid version.

2 Create Cluster in Red Hat OpenShift Console

In order to setup OpenShift you would need one of the MuleSoft supported versions:

As Red Hat Customer or Partner you can use fully features free 60 days trial to give a try.

Try Red Hat OpenShift

There are several options to install OpenShift on OCI, easiest way would be to use Hybric Cloud Console and Assisted installer.

1 Login in to OpenShift Cloud console – Hybrid Cloud Console

→ Cluster List → Create Cluster → Data Center → Assisted Installer -> Create Cluster

Open Screenshot 2024-10-08 121216.png

Open Screenshot 2024-10-08 121125.png

2 Fill in cluster details form

Open image-20241008-102855.png

While choosing K8S version simply match version of Kubernetes in OpenShift release documentation and RTF release documentation
K8S version chosen should be support by both MuleSoft and Red Hat.

Open Screenshot 2024-10-08 121826.png

Open Screenshot 2024-10-08 121701.png

2 Skip Operators details

3 On Host discovery click “Add hosts” and add ssh key to be used to connect to K8S cluster and click Generate Discovery ISO

Open image-20241008-103752.png

Once ISO generated, download it to your local machine

Open image-20241008-103853.png

and uplod it to Oracle Cloud Storage

to do it, go to Oracle Cloud Console → Storage → Object Strorage & Archive Storage → Buckets

Open image-20241008-104122.png

Create Bucket (keep standard parameters) → Go to created Bucket → Objects → Upload

Upload previous generated ISO image

Open image-20241008-104454.png

Once uploaded, create Pre-Authorization Request from the list menu

Open image-20241008-105107.png

Keep all the params default, you should get url like following in the end:
https://objectstorage.me-jeddah-1.oraclecloud.com/p/uIkytUdmm4-EmuOeFShB6BUTfxSeApi7apVlR0f8SYVNoPd774EMcxdMHnt6h890/n/axhew5e98eoj/b/bucket-20241002-1514/o/rtf-oci2b262517-bc68-490b-80c0-12796c00160d-discovery.iso

This URL will be needed as input for terraform scripts.

3 Run terraform scripts to provision OpenShift nodes

Oracle prepared

5 Create RTF with OpenShift CLI

6 Create Basic Ingress

7 Deploy and test API

Next steps would be to configure SSL, change setup of OpenShift to disconnected installation, networks and configurations.



More links on subject:

Exit mobile version