With Oracle GoldenGate Microservices, you have the option of using a reverse proxy or not. In reality, it is a best practice to install the recommended reverse proxy for the architecture. The main benefit here is the security aspect of using it. In Oracle GoldenGate Microservices, depending on the number of deployments you have per host the port numbers that you will need access to is anywhere between 5 to who knows.
In my test environments, I really don’t need to use a reverse proxy, but it is a good thing to get into doing when using Oracle GoldenGate Microservices. In an earlier post, I wrote about using the reverse proxy to improving your URLs (here) and that post still applies. The reason for this post is to show you how to install Nginx on OEL7.
In setting up my test environment using Docker, I make sure that my Dockerfile has a reference to install Nginx. After building my Docker image I came to find out that Nginx did not install. In all honesty it was kinda weird that it didn’t install. This lead me to figure out how to install Nginx directly from Nginix. The steps that I had to use are as follows:
1. Create a new repo on my Linux/Docker Container
$ sudo touch /etc/yum.repo.d/nginx.repo
2. Edit the repo file as such
$ sudo vi /etc/yum.repo.d/nginx.repo
3. Lastly, install nginx
$ sudo yum install nginx
4. Check to make sure nginx is installed
$ sudo yum list nginx
Loaded plugins: ovl, ulninfo
nginx.x86_64 1:1.16.1-1.el7.ngx @nginx-stable
After the install
After you get Nginx installed, you can then proceed to configure the Nginx reverse proxy for Oracle GoldenGate Microservices. To help you do this, you can review my previous post on how to improve your URLs with Oracle GoldenGate (above link).