This is an exercise from the Extras part of the HPC Cloud Tutorial.
In this advanced part of our HPC Cloud tutorial we ask you to play around with the XML RPC API.
Exercise: start a new VM (you are now in the advanced part; you should be able to do this on your own)
This exercise should make you familiar with our general documentation pages.
On our general documentation, find the Getting started with the XML-RPC page.
Follow the instructions to prepare your Python environment with the Python bindings for the API, on the VM you prepared on the previous section.
Run the first example from that documentation page. Make sure you are able to see the API version number as a result.
Food for brain:
- What version does the API reply with?
Food for brain:
- Can you now modify the VM list to show only the running VMs?
- Can you make a program that will shutdown all your VMs but leaving intact the one you are running the program from?