OCI ATP Nginx Reverse Proxy in Kubernetes!

When Oracle first announced all of the free-tier resources they offer I immediately jumped on the offer. Thankfully, Dimitri Gielis had already started on his AMAZING Best and Cheapest Oracle APEX hosting: Free Oracle Cloud blog post series. While I don't use things like APEX Office Print - his guides on using a compute instance as a nginx reverse proxy were super helpful.

Now that I've configured an OKE cluster (on ARM for free!) and use an OCI Load Balancer to route my OCI traffic - I wanted to move the simple Nginx reverse proxy into Kubernetes. This repo is quite simple and creates a nginx service with a custom config file. I also use Traefik, so it creates a Traefik IngressRoute for my subdomain.

Photo by XPS / Unsplash

Once you have the infrastrucutre (OCI Load balancer & OKE cluster) setup it is quite simple to get this up and running. I will be creating a blog post and how to use all OCI Free Tier resources to spin up your own managed kubernetes cluster soon!

To use my repo you will need to make a two changes:

  1. Cutomize the nginx.conf with your URL to your ATP instance
  2. Customize deployment/ingress-route.yaml with your match rule

And that's it! Just run follow the How to use section of the readme and you'll have a scalable nginx reverse proxy running in kubernetes!