This was a good execise to understand the HTTP/REST base cloud API Rackspace has. It helped to understand and see in practice how the fist generation Racspace Cloud API works on a HTTP/REST level. This script shows how you can construct the GET/POST/DELETE requests according the the API specification to achive expected results.
- How to create a Cloud Server using Rackspace API
- How to use the first generation of Rackspace Cloud Server API
Usualy it is not necessry to write code on such a low level. There is a python library that exposes pythonic object related interface to work with the API.
First Gen Cloud (base on Mosso code) python-cloudservers
Next Gen Cloud (base on Openstack) python-novaclient
- How to filter and dump in clear text http requests and responses from the network dump using the cli program tshark
firstgen_example.py and nova_example.py
- Basic tutorial on how to connect and debug Cloud API for the NextGene (Openstack based) or FirsGen (build by Mosso) Rackspace cloud infrastructure