Installing NGINX in OCI Compute

Nginx is great web server which can act as reverse proxy and load balancer with routing capabilities. We will look into the steps to install Nginx in OCI Compute instances. There are various products of Nginx but we will focus only on NGINX open-source product in this tutorial.

NGINX Products Overview

NGINX OneCentralized control: Manage NGINX instances from a single console.
Enhanced monitoring and risk detection: Automatically detect critical vulnerabilities (CVEs), verify SSL certificate statuses, and identify security issues in NGINX configurations.
Graphical metrics display: View the performance of your NGINX instances at a glance with a dashboard that presents a clear, graphical overview of key metrics, including instance availability, version distribution, system health, and utilization trends.
Real-time alerts: Get alerts about critical issues.
NGINX PlusAll features of NGINX one plus additional features such Load Balancing, Content Caching , Dynamic Configuration, Real time Monitoring
NGINX Management SuiteBrings everything into a single platform, making it easy to configure, monitor, and troubleshoot NGINX instances; manage and govern APIs; optimize load balancing for apps; and enhance overall security.
NGINIX open-sourceIt can act as reverse proxy, mail proxy, serve static and index files, load balancing and fault tolerance, response rate limiting etc.

Installation Steps

  • SSH to VM instance
  • sudo apt update
  • sudo apt -y install firewalld
  • sudo apt-get install dnf
  • sudo apt install nginx
  • sudo systemctl enable –now nginx.service
  • sudo systemctl status nginx
  • sudo firewall-cmd –add-service=http –permanent
  • sudo firewall-cmd –reload

Leave a Reply