Object Storage as a Service using Openstack Swift (Stand alone)

 In Openstack

7This blog will explain the components and installation procedure for providing Object storage as a service using Openstack swift (stand alone) . Object storage as a Service is explained in the blog.


The following Openstack projects are required for providing Object Storage as a service

  • Keystone for indentify service
  • Swift for Object storage
  • Ceilometer for metering
  • Horizon for dashboard


Hardware Requirement

  • Commodity hardware
  • Each Server should have 2NICs. one for public network & one for storage/management network.
  • Hardware RAID is not required for storage drives.


Swift components

It includes the following components:

  • Proxy servers (swift-proxy-server). Accepts Object Storage API and raw HTTP requests to upload files, modify metadata, and create containers. It also serves file or container listings to web browsers. To improve performance, the proxy server can use an optional cache usually deployed with memcache.
  • Account servers (swift-account-server). Manage accounts defined with the Object Storage service.
  • Container servers (swift-container-server). Manage a mapping of containers, or folders, within the Object Storage service.
  • Object servers (swift-object-server). Manage actual objects, such as files, on the storage nodes.
  • A number of periodic processes. Performs housekeeping tasks on the large data store. The replication services ensure consistency and availability through the cluster. Other periodic processes include auditors, updaters, and reapers.
  • Configurable WSGI middleware that handles authentication. Usually the Identity Service.


Swift high Level Architecture


Swift hardware Reference Architecture



Openstack Swift Installation


Prerequisite components






Object Storage



High Availability

The combination of HAproxy and KeepAlived provides the following advantages,

  • Failure of a component does not lead to failure of new requests
  • Surviving application service failures
  • Scaling and Redundancy



Ceilometer efficiently collects the metering data about the storage containers, objects, incoming and outgoing data. It provides data by monitoring notifications sent from services or by polling the infrastructure and it uses a separate database to store the values due to high utilization.


Horizon Dashboard

The Openstack dashboard, also known as Horizon, is a Web interface that enables cloud administrators and users to manage various Openstack resources and services but this required Nova as a mandatory component to work. We have done the following changes to the Openstack Horizon code to work in Standalone Swift setup

  • Decouple Horizon from the mandatory component Nova so that it can manage just Swift functions to provide Object storage as a service solution
  • Swift access URL generation – Additional features into Horizon


Horizon Installation

Recent Posts
pingbacks / trackbacks
  • […] This blog will explain the components and installation procedure for providing Object storage as a service using Openstack swift (stand alone) . Object storage  […]

Leave a Comment

Start typing and press Enter to search