CmdID / aws / aws lightsail
aws lightsail open-instance-public-ports
Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses allowed to connect to the instance through the ports, and the protocol. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--instance-nameThe name of the instance for which to open ports.--port-infoAn object to describe the ports to open for the specified instance.