This isn't for Streamlit users but for Streamlit Developers. There's no way for a streamlit user to use this at the moment. This setup is to learn what is required and what needs to be built
make build
make push
https://github.com/streamlit/streamlit/wiki/Running-Streamlit-on-Docker-on-EC2#use-vpn
$ sudo /usr/local/sbin/openvpn --config /path/to/user.ovpn
https://github.com/streamlit/streamlit/wiki/Running-Streamlit-on-Docker-on-EC2#create-ssh-tunnel
$ ssh [email protected] -L127.0.0.1:2374:/var/run/docker.sock -fN
https://github.com/streamlit/streamlit/wiki/Running-Streamlit-on-Docker-on-EC2#run-containers-in-aws
$ exporrt DOCKER_HOST=tcp://127.0.0.1:2374
$ make pull
$ make aws
STREAMLIT_VERSION=0.43.1 docker-compose pull
Pulling benchmark ... done
Pulling benchmark-gpu ... done
STREAMLIT_VERSION=0.43.1 docker-compose up -d
WARNING: The Docker Engine you're using is running in swarm mode.
Compose does not use swarm mode to deploy services to multiple nodes in a swarm. All containers will be scheduled on the current node.
To deploy your application across the swarm, use `docker stack deploy`.
Creating network "sharing_default" with the default driver
Creating sharing_benchmark-gpu_1 ... done
Creating sharing_benchmark_1 ... done
Ports from docker-compose.yml
TODO(armando): Write ELB Instructions
$ make down
STREAMLIT_VERSION=0.43.1 docker-compose down
Stopping sharing_benchmark_1 ... done
Stopping sharing_benchmark-gpu_1 ... done
Removing sharing_benchmark_1 ... done
Removing sharing_benchmark-gpu_1 ... done
Removing network sharing_default