Creating an OCI Load Balancer for APEX
We are going to create an OCI Load Balancer in its on VCN and configure it with prepared certificates.
Preparation
Create a VCN as described here - use the examples provided
Update the ADB’s Network Access to Private End Point on the lb-vnc and the subnet-lb-private and use the Network Security Group nsg-lb. For further information how to do this, refer to this guide - including re-downloading your wallet.
Prepare your Certificates by following this guide & make a note of the linked table of where to upload your certificates
Load Balancer
In OCI, click Hamburger > Networking > Load Balancer
Click Create Load Balancer
Name = lb, Virtual cloud network = vnc-lb, Subnet = subnet-lb-public > Click Next
Select Port 443 in the Health Check Policy (for now)
Click Show Advanced Options > Backend set = bs-lb > Click Next
Certificate Resource = Load balancer managed certificate
Upload your Cloudflare SSL certificate file (or refer to the table in this blog for the equivalent Let’s Encrypt Steps)
Check the Specify CA certificate
Upload the Cloudflare RSA PEM (download from here)
Check the Specify Private key
Upload your Cloudflare SSL private key file
Click Next
Change Log Group to Default_Group & Log name to lb-log
Click Submit
Now you are ready to add Backends - Your options are
(Recommended) If you were linked to this blog by another of my blogs, return to that blog now
Prepare an Oracle Managed ORDS Back End on a Private end point.
ENJOY!
What’s the picture? Well, I was walking down this footpath in Wetherby and it got real dodgy real quickly, so I took this picture and I legged it. Visit Yorkshire! (but don’t go here)
Subscribe to my newsletter
Read articles from Matt Mulvaney directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
Matt Mulvaney
Matt Mulvaney
With around 20 years on the job, Matt is one of the most experienced software developers at Pretius. He likes meeting new people, traveling to conferences, and working on different projects. He’s also a big sports fan (regularly watches Leeds United, Formula 1, and boxing), and not just as a spectator – he often starts his days on a mountain bike, to tune his mind.