Book Image

OpenStack Cloud Computing Cookbook

By : Egle Sigler, Kevin Jackson, Cody Bunch
Book Image

OpenStack Cloud Computing Cookbook

By: Egle Sigler, Kevin Jackson, Cody Bunch

Overview of this book

Table of Contents (19 chapters)
OpenStack Cloud Computing Cookbook Third Edition
About the Authors
About the Reviewers

Installing the swift client tool

In order to operate our OpenStack Object Storage environment, we need to install an appropriate tool on our client. Swift ships with the swift tool, which allows us to upload, download, and modify files in our OpenStack Object Storage environment.

Getting ready

Ensure you are logged in to a Ubuntu host that has access to our OpenStack environment on the public network. This host will be used to run client tools against the OpenStack environment created. If you are using the accompanying Vagrant environment, you can use the controller node. It has the python-swiftclient package that provides the swift command-line client.

If you created this node with Vagrant, you can execute the following command:

vagrant ssh controller 

Ensure you have set the following credentials (adjust the path to your certificates and key file to match your environment if not using the Vagrant environment):

export OS_TENANT_NAME=cookbook
export OS_USERNAME=admin