Below is my userdata
#!/bin/bash
sudo yum update -y
sudo amazon-linux-extras install nginx1
sudo systemctl start nginx
sudo touch /tmp/file2.txt
nginx is installed but not started, I want to understand why it is not started, can someone please help me here.