Cooking Swift

The cookbooks uploaded to the Chef server in Chapter 2, Deploying OpenStack – DevOps and OpenStack Dual Deal, include as well the Swift cookbook named cookbook-openstack-object-storage.

Note

If you did not upload the Swift cookbook, you can download it and add to your Chef cookbook repository from GitHub: https://github.com/openstack/cookbook-openstack-object-storage/tree/stable/havana.

For a large environment, it is recommended to split the proxy and storage layers, as shown in the previous figure. Optionally, we can assign, for each storage node, a triple Swift server: account, container and object role while keeping dedicated nodes for the Swift proxy server. From our Chef server, we can assign the following roles.

A Swift storage ...

Get Mastering OpenStack now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.