This tutorial will show you how to deploy QuantRocket to your preferred cloud provider.
http://localhost:1969
to access JupyterLab, go to http://<private_ip_of_instance>:1969
.To deploy QuantRocket to the cloud, you need a cloud server running Docker and accessible by SSH, HTTPS, and HTTP. (HTTP is only used for provisioning an SSL certificate from Let's Encrypt, as described in more detail in the Oracle Cloud tutorial.) The exact steps vary by cloud provider, and tutorials are readily available on the web, so a step-by-step tutorial is not provided here. However, the basic steps are as follows:
ufw allow http && ufw allow https
.)To verify that you have successfully completed the above steps, obtain the IP of your cloud server from your cloud provider's web console and login to the cloud server using SSH. If public key authentication is set up correctly, you will not need to enter a password:
$ ssh your_username@your_cloud_server_ip
Once you are on the cloud server, verify that Docker is installed and running by entering a docker command, such as:
$ docker info
Per Docker's SSH tips, it's a good idea to add the following lines to your ~/.ssh/config
file on your local computer to allow Docker to reuse SSH connections:
ControlMaster auto
ControlPath ~/.ssh/control-%C
ControlPersist yes
Complete the installation by following the steps in the "Oracle Cloud" tutorial beginning with the Setup Domain section.