0% found this document useful (0 votes)
15 views2 pages

Cloud Computing Assignment-4

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views2 pages

Cloud Computing Assignment-4

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Name: Deepak Yadav

Assignment No.4: Nginx Web Server

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

An instance of NGINX can be configured as any of the following:

 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.

3. How to Install NGINX

Steps to Install Nginx:

Step 1: Start

sudo apt-get update

Step 2: Next, run this command:

sudo apt-get install nginx


Name: Deepak Yadav

Step 3: Then, enable your firewall with the following:

sudo ufw enable

Step 4: To verify NGINX is installed, run the following:

nginx -v

Step 5: You can run the command below to find out if NGINX is running:

sudo ufw status

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:

sudo systemctl status nginx

4. Key Features of Nginx

a. High Performance

 Asynchronous, event-driven architecture


 Efficient handling of static content

b. Load Balancing

 HTTP, TCP, and UDP load balancing


 Health checks

c. Reverse Proxy

 Reverse proxying
 Caching
 SSL/TLS termination

d. Security Features

 Access control
 Rate limiting

You might also like