NOTE: Commands listed for Amazon Linux 2023 AMI
Go to https://www.duckdns.org/ and add a domain for the production EC2’s public IP .
It supports http:// appended with port :8080 after above step.
For HTTPS in production EC2:
sudo dnf update -y
sudo dnf install -y nginx
sudo systemctl enable nginx
sudo systemctl start nginx
sudo dnf install -y certbot python3-certbot-nginx
amazon-linux-extras is gone in AL2023. Use dnf.
Verify:
sudo nano /etc/nginx/conf.d/saasight.conf