Background

This article aims to explain what RackSpace ServiceNet is and how it is used.

Answer

RackSpace ServiceNet is a free service offered by RackSpace that allows for free, quick and efficient transfers between RackSpace Cloud Servers and RackSpace Cloud Files. It's a complimentary service offered by RackSpace, and it should be enabled on any new/existing RackSpace accounts by default.

Note: Some extremely old RackSpace accounts may need to have this service enabled. In order to do so, you may need to contact RackSpace directly to get this feature enabled on your account.

RackSpace accomplishes this by using it's Cloud server's internal IP address/interface. This interface can be found fairly easily using a Linux or Windows cloud server -

ifconfig eth1

Using this command on a Linux server should result in your private interface details, including it's private IP address.

The only other thing you may need to do to enable ServiceNet on your cloud server is to export an environment variable, like so -

export RACKSPACE_SERVICENET=True

IMPORTANT: If you experience errors when transferring data using service net/cloud files/cloud servers, you will want to ensure that your cloud files and your cloud servers are in the SAME RACKSPACE DATACENTER/REGION. ServiceNet will not work between regions such as Chicago (ORD1) to Texas (DFW1))

ServiceNet URLs are the exact same as their public counterpart, with the exception that they have 'snet' prepended to the beginning. For example, a public cloud file URL may look like this -

storage<NUMBER>.<DATACENTER>.clouddrive.com

and the ServiceNet version looks like this -

snet-storage<NUMBER>.<DATACENTER>.clouddrive.com

Need more information?

How to use the private IP on your Rackspace cloud server

How to connect to cloud files (includes useful links to code samples and a PHP example)