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
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Configuring OpenStack Object Storage – proxy server


Clients connect to OpenStack Object Storage via the proxy servers. This allows us to scale out our OpenStack Object Storage environment as needed, without affecting the frontend to which the clients connect. Configuration of the Swift proxy service is simply done by editing the /etc/swift/proxy-server.conf file.

Getting ready

Ensure that you are logged in to the swift-proxy nodes. If you created this with vagrant, you can access this node by issuing the following command:

vagrant ssh swift-proxy

How to do it...

To configure the OpenStack Object Storage proxy server, carry out the following steps:

  1. We first create the /etc/swift/proxy-server.conf file with the following content:

    [DEFAULT]
    bind_port = 8080
    user = swift
    swift_dir = /etc/swift
    log_level = DEBUG
    
    [pipeline:main]
    # Order of execution of modules defined as follows
    pipeline = catch_errors healthcheck cache authtoken keystone proxy-server
    
    [app:proxy-server]
    use = egg:swift#proxy
    allow_account_management...