Skip to end of metadata
Go to start of metadata

Key URL's

Internap currently offer Cloud Storage out of our US West (Santa Clara, CA) datacenter.

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

CURL Example

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)

CloudFuse

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

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 https://auth.storage.santa-clara.internapcloud.net/v1.0 -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:
mount.s3ql swift://auth.storage.santa-clara.internapcloud.net/$CONTAINER$MOUNTPOINT

More information at s3ql url listed above.

GUI Tools

Cyberduck

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:



Gladinet

http://www.gladinet.com/  also has some GUI tools for OpenStack Swift that are compatible with Internap's Cloud Storage.

 

  • No labels