O'Reilly logo

OpenStack Cloud Computing Cookbook by Kevin Jackson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Uploading objects

Objects are the files or directories that are stored within a container. Uploading objects can be achieved in a number of ways. A simple way is by using the swift client tool. We run this client tool against our OpenStack Identity Service, which in turn has been configured to communicate to our OpenStack Storage proxy server and allow us to create, delete, and modify containers and objects in our OpenStack Storage environment.

Getting ready

Log in to a computer or server that has the swift client package installed.

How to do it...

Carry out the following steps to upload objects into our OpenStack Storage environment:

Uploading objects

  1. Create a 500 MB file under /tmp as an example file to upload, as follows:
    dd if=/dev/zero of=/tmp/example-500Mb ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required