What is the problem?
I'd like to access my octopi through the internet using a proxy in the cloud.
Since AWS or Google Cloud make it really simple to set up a server with a static ip or even a nice Url, i would like to register the octipi on my cloud server and access octopi through the cloud server. Since you can create Images of the server and publish them, everyone could set up a server in the cloud without much effort.
What did you already try to solve it?
Just thought about it and did some research.
- You need something like a discovery service  on the cloud server and octopi has to register itself, because the ISP change you IP every 24h (at least for me). The ip address of the cloud sever doesn't change.
- octopi creates a reverse tunnel to the cloud server (like ngrock), so there's no need to configure portforwarding on the router.
- set up a reverse proxy (nginx) with authentication mechanism
EDIT: I think there's no need for a service discovery. A secure tunnel should be sufficient.