Thinfinity VirtualUI is a great solution to host your Windows-based applications on AWS and provide web access to multiple concurrent users.
While AWS allows you to enable multiple concurrent users to access to EC2 instances, VirtualUI permits you to publish your Win32 apps to be accessed within a browser window.
This article covers many programming languages and app types, like C++, C#, Delphi, VB.NET, VB6, Windev, MS Access, Visual Fox Pro, and Visual Fox Pro 9 (among others).
Tips to start:
1) Be sure you already have an .EXE file of your application compiled with Thinfinity VirtualUI Libraries, if you don’t just visit our Tutorial’s Page to find examples and guides for your current application project.
2) Also, we recommend you to test your application on a local environment before you go to the cloud. If you haven’t done yet, you can give this other tutorial a quick look:
After you cover those steps locally, you’ll be ready to publish the app on AWS instances.
Now that we have all the information we are ready to go!
Thinfinity VirtualUI will listen on port 6580 by default but you can change it to any available port. To verify this, open Thinfinity VirtualUI Server Manager:
With this information, we can now go to AWS portal and open the port for Thinfinity VirtualUI:
1. Go to the ‘Security Groups’ tab:
2. Create a new Security Group:
3. Add the port you configured in the Thinfinity VirtualUI Server Manager (in this case we will use the default, ‘6580’ but you can set up any free port):
4. Now select the Security Group on your VM. To do so right-click on the VM and go to “Networking > Change Security Groups”.
Last but not least, make sure port 6580 is also open on the Windows Firewall in the VM. You can add an inbound rule to be sure. In order to do so:
1. Run “wf.msc” to open Windows Firewall:
2. Create a new inbound rule:
3. Select Port and hit “Next”
4. Make sure “TPC” is selected and add the specific port. If you have the default port configured in Thinfinity VirtualUI Server Manager just enter “6480” and hit “Next”.
5. Select “Allow all connections” and press “Next”.
6. Ensure “Public” is checked and press “Next”.
7. Add a name and description and press “Next.
That’s it! Now you will be able to reach and run your Windows application over the internet from any browser. Enjoy!