IPTV for Plex DVR on Lightsail
Create AWS Lightsail instance via AWS Lightsail CLI
aws lightsail create-instances --instance-names "lightsail-iptv-eu-central-vm" --availability-zone eu-central-1a --blueprint-id centos_7_1805_01 --bundle-id medium_2_0 --user-data file://user-data.txt
You can find the script in /var/lib/cloud/instance/user-data.txt
on the instance
aws lightsail open-instance-public-ports --port-info fromPort=443,toPort=443,protocol=TCP --instance-name lightsail-iptv-eu-central-vm
aws lightsail open-instance-public-ports --port-info fromPort=32400,toPort=32400,protocol=TCP --instance-name lightsail-iptv-eu-central-vm