Cloud Computing Assignment-4
Cloud Computing Assignment-4
1. What is Nginx?
Description: NGINX is open-source web server software used for reverse proxy, load
balancing, and caching. It provides HTTPS server capabilities and is mainly designed
for maximum performance and stability. It also functions as a proxy server for email
communications protocols, such as IMAP, POP3, and SMTP.
2. Use Cases
A web server. This is the most common because of its performance and
scalability.
A reverse proxy server. NGINX does this by directing the client’s request to
the appropriate back-end server.
A load balancer. It automatically distributes your network traffic load
without manual configuration.
An API gateways. This is useful for request routing, authentication, and
exception handling.
A firewall for web applications. This protects your application by filtering
incoming and outgoing network requests on your server.
A cache. NGINX acts as a cache to help store your data for future requests.
Protection against distributed-denial-of-service (DDoS) attacks.
K8s. These automate deployments and scaling and manage containerized
applications.
A sidecar proxies. This routes traffic to and from the container it runs
alongside.
Step 1: Start
nginx -v
Step 5: You can run the command below to find out if NGINX is running:
Step 6: After running this command, you should see the following:
status: active
Step 7: To check whether your NGINX server is working fine, run the following:
a. High Performance
b. Load Balancing
c. Reverse Proxy
Reverse proxying
Caching
SSL/TLS termination
d. Security Features
Access control
Rate limiting