Installing Ngnix in a EC2 instance using User data.

To do list:

Create an EC2 Instance

#!/bin/bash/
#This is a script to install Nginx
sudo yum update -y
sudo amazon-linux-extras install nginx1 -y
sudo systemctl enable nginx
sudo systemctl start nginx

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Christopher Lilly

Cloud Enthusiast | Problem Solver | Content creator | Techie writing about Cloud Engineering Connect with me on LinkedIn: https://www.linkedin.com/in/christophe