Skip to content

Reach the Studio privately

HTTPS is encrypted, but it needs ports 80 and 443 open to every address, so anyone on the internet can reach the Studio's sign-in page, and only the password keeps them out. If you would rather nobody could reach the Studio at all, turn HTTPS off and reach it through an encrypted tunnel instead:

sudo sushi-ml-studio https off

Then close ports 80, 443 and 8501 in the security group. Either way below, you then open http://localhost:8501 on your own computer.

Only port 22 needs to be open:

ssh -i <key>.pem -L 8501:localhost:8501 ubuntu@<public-ip>

No inbound ports at all. Needs the IAM role from Connect to your instance, plus the AWS CLI and its Session Manager plugin on your computer:

aws ssm start-session --target <instance-id> \
  --document-name AWS-StartPortForwardingSession \
  --parameters '{"portNumber":["8501"],"localPortNumber":["8501"]}'

Once you use a tunnel, you can remove the 80, 443 and 8501 rules from the security group.

Without a tunnel

With HTTPS off, you can also leave port 8501 open, but only to addresses you choose, and open http://<public-ip>:8501:

  • Your own IP only: in the security group, allow port 8501 from <your-ip>/32 and remove the 80, 443 and 22 rules you do not need.
  • Inside your VPC: allow port 8501 from your VPC's address range, for other instances or a VPN to reach it.

This traffic is not encrypted, so the password is what protects it. On a network you do not trust, use a tunnel instead.

Turning the password off

If nobody can reach the Studio from the network, with HTTPS off and ports 80, 443 and 8501 closed, turning the password off with sudo sushi-ml-studio disable-password is reasonable. Never turn it off while HTTPS is on: port 443 is open to the whole internet.

Last updated October 19, 2026 · Suggest an improvement