INTRODUCTION
EC2 (Elastic Compute Cloud): A scalable virtual server in AWS used to run applications and workloads.
Ubuntu: A popular, open-source Linux operating system
AWS (Amazon Web Services): A cloud platform providing computing, storage, and networking services.
NGINX: is a reverse proxy and web server that is dependable and quick. It serves as a mediator between users and backend systems, distributes traffic among servers, and delivers web pages.
Creating EC2
- to Create an EC2 instance from AWS console search for EC2 on the search bar.

- Launch instance

- name your server and click on ubuntu

- configure the Amazon Machine Image, size and type, in my case, im leaving at default

- Select/create a new pair key
- allow http to have access to web server
- upon completion click on view all instances

Connect to EC2 Instance
- right click on the server created and connect
Install NGINX
- A terminal will pop out. we update to the latest package by typing sudo apt-get update

- Install Nginx from Ubuntu repository by typing sudo apt-get install nginx and press y when prompted

- to check the version of nginx installed, type in nginx -v

- we can check the status of the nginx by typing sudo systemctl status nginx

- Select the created server and copy the public ip

- paste the copied public ip address in a browser

Conclusion
Setting up an EC2 instance with Ubuntu and installing NGINX on AWS enables you to create a scalable, high-performance web server. This process equips you to host and serve web content efficiently while making full use of AWS cloud resources.
SOCIAL SHARE CARD GENERATOR