Setting up a virtual server for trading is essential for running reliable algorithmic trading strategies 24/7. Many traders choose cloud-based virtual server solutions on Amazon EC2 to ensure uninterrupted execution for Python stock trading.

Why Use a Dedicated Virtual Server for Trading?
Many users want to set up a dedicated server for algorithm trading and it is definitely highly recommended because any other services at the same server that runs IBridgePy may adversely affect implementing your pre-defined trading strategies. For example, excessive internet traffic during streaming a Netflix movie will take the resources of communication between IBridgePy and IB server and slow down the trading processes.
In this tutorial, we will talk about setting up a dedicated virtual server IBridgePy at Amazon Elastic Compute Cloud (EC2).
What is Amazon EC2?
Amazon EC2 provides scalable computing capacity in the Amazon Web Services (AWS) cloud. Using Amazon EC2 eliminates your need to invest in hardware up front, so you can develop and deploy applications faster.
For detailed setup instructions and configuration guides, visit our tutorials section or check our documentation.

How about I use an Android tablet? Can I go to Google Play to download the Microsoft remote desktop to connect, in Step 12 above?
Yes, you can do that. Tutorial is updated.
I did exactly the same with Alibaba Cloud !
OK it cost 4.5 US Dollar per month (Ubuntu in Germany) but it comes with 40GB disc space.
Here a very short Tutorial:
++++++++++++++++++++
First of all create the Key-pair and bind it with the instance then log in via ssl to install a Desktop:
++++++++++++++++++++
ssh -i “keyAlibaba.pem” root@11.55.33.77
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
adduser carofa
sudo apt-get install lxde
apt-get install default-jdk
+++++++++++++++++++
access the Desktop inside the Chrome-browser via Alibaba Console by the link ” Connect”
first use the Guest login and reboot then login as carofa
+++++++++++++++++++
wget https://download2.interactivebrokers.com/installers/ibgateway/stable-standalone/ibgateway-stable-standalone-linux-x64.sh
wget
chmod a+x ibgateway-stable-standalone-linux-x64.sh
./ibgateway-stable-standalone-linux-x64.sh
wget https://ibridgepy.com//wp-content/uploads/2018/09/IBridgePy_Ubuntu_Python27_64.zip
unzip IBridgePy_Ubuntu_Python27_64.zip
python -m pip install pandas
python2.7 RUN_ME.py
++++++++++++++++++
If everything is fine make a Snapshot (9GB) via the Alibaba Console.
I cannot find the IBridgePy image in the Amazon comunity. Is still there?
thanks
Yes, it is still there.
Yes I found it. I was in a wrong region! sorry. Thanks.
Now I could set it up but the instance has low resources to handle the TWS + Spyder. I can’t open both simultaneously.
Make the instance larger and stronger.
Thanks. I’ve increased the power and now goes well. Now I’m updating the ibridgepy version.
Does the instance still come with Python 2.7? I’m testing my code in Python 3.7, not sure what is the effect if I run it under Python 2.7? Or just remove and replace with 3.7?
The instance has default python 2.7. You may install Python 3.7 and download IBridgePy for Python 3.7