Internap currently offer Cloud Storage out of our US West (Santa Clara, CA) datacenter.
- Auth URL:
- Storage URL (will be returned by swift auth):
- Ubersmith contacts work as well. An 'API key' can be created in Ubersmith by adding a contact like MyCompany_api and creating a complex password. This will allow this contact full access into swift, but it will only have the access you allow into your other hosting operations.
Connecting to Cloud Storage
You can connect to the Cloud Storage platform via various methods, including CLI interfaces, language bindings or GUI tools. Examples for each are provided below.
Connecting via CLI
Swift CLI Example
Detailed documentation for swift cli: http://docs.openstack.org/diablo/openstack-object-storage/admin/content/swift-cli-basics.html
Here's a sample of your user logging on with curl:
Then, create your first container (REQUIRED!):
Language Bindings (Python, Ruby, Perl, PHP, Java)
Bindings for your favorite language can be found on the OpenStack website, located here http://wiki.openstack.org/SwiftAPI
Filesystem Bindings (FUSE)
Sync down and build cloudfuse as detailed here: https://github.com/redbo/cloudfuse/
Create a file called .cloudfiles in your home directory with the following:
Then mount with:
Other options for command line and fstab support are documented on the cloudfuse link above.
s3ql provides a POSIX compliant filesystem on top of swift which can then be used with standard utilities such as rsync.
Download s3ql from http://code.google.com/p/s3ql/ and compile/build it. Follow the directions available on google code.
Create a file in ~/.s3ql/authinfo2 (replace auth info with your own) containing:
Create the container on the swift side using the swift cli (python-swiftclient):
swift -v -A -U $USERNAME -K $PASSWORD post $CONTAINER
create the s3ql file system:
mkfs.s3ql --plain swift://auth.storage.santa-clara.internapcloud.net/$CONTAINER
Mount the file system:
More information at s3ql url listed above.
CyberDuck has OpenStack Swift support, thus Cloud Storage support. You can download the latest copy of CyberDuck here: http://cyberduck.ch . To get started, start Cyberduck and create a bookmark of type OpenStack Swift:
http://www.gladinet.com/ also has some GUI tools for OpenStack Swift that are compatible with Internap's Cloud Storage.