Francisco, I would follow the below steps in order to port a local ThingWorx application to any (Cloud) server like Amazon:
a ) Decide on which OS you want to host a ThingWorx application and the costs involved.
From "Installing ThingWorx" guide you will see that you can use Windows or Linux.
b1) On the server install the same software versions that you have on the local machine :
- Java version
- Tomcat version
- ThingWorx version
b2) Archive and replace on the server the following folders :
b3) Start Tomcat and monitor the Tomcat and ThingWorx log files.
We are looking forward to receive your feedback regarding your scenario.