you can now try out the latest version of Tango 9.2.5a on the cloud. I have created an Amazon image running Ubuntu 16.04 with Tango 9.2.5a pre-installed and configured to start up at boot time. The image is public and can be found under this id and region: [quote]AMI-ID: ami-d503cfba
region=EU-Frankfurt[/quote] (see [1] to find out how to do this).
Launch VM with this image and you will have Tango 9.2.5 + PyTango 9.2.0 up and running including the Tango REST API [2] so you can access it from internet.
Note that the TANGO_HOST is the private IP address of the VM. This means the Tango database and device servers are not accessible from the internet but only on the VM or set of VMs which share the same VPN. This can be seen as a security feature. Use the REST api and Tango security to open up access to the device servers you want to expose.
To experiment with the REST api I have started an instance of the AMI image on Amazon cloud. You can connect to the TangoWebApp as follows:
set the TANGO_HOST to [quote]ip-172-31-29-94.eu-central-1.compute.internal:10000[/quote] (note: NO spaces or quotes otherwise it won’t work!)
click on the refresh button to the right of the TANGO_HOST field
login as user=tango-cs and pw=tango when prompted (note: if you do not get a new prompt for user name and pwd from the host ec2-35-156-147-163.eu-central-1.compute.amazonaws.com then the WebApp is down and it won’t work)
expand the tree of devices at the top left of the application
See picture below to find out more. You should be able to play with the TangoTest device sys/tg_test/1 :
Let me know if you get the AMI image to launch for you. I can share some more tips about security and how to start a remote desktop.
glad it helps. I admit to having had some fun playing with this and exploring the use of the cloud for Tango. You are right the machine has been changed. I have downgraded the instance type to a t2.micro which is free. The new public IP is :
The image has been updated since the original one to include pytango 9.2.1, starter + astor configured to start TangoTest and WeatherUnderground device servers. The WeatherUnderground server is a server to give the live weather from the towns where there is a major Tango site. I will update the public image soon so these changes can be shared.
You can test the REST api by executing this command: