What is the difference between Cinder, Glance and Swift?

asked 2014-05-17 03:41:51 -0500

Azendale gravatar image

I'm new to openstack, and trying to get an understanding of what the various components do.

I know that Cinder, Glance and Swift all have something to do with storage, but, what exactly is the differences between them? Is it the kind of objects they store?

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2014-05-23 22:47:22 -0500

annegentle gravatar image

The cinder project provides block storage so you can mount volumes for instances to access, the glance project provides a service for storing and retrieving operating system images (they can be publicly accessible or private per tenant), the swift project provides eventually consistent object storage and retrieval. Images can be backed by object storage or on the controller node's file system. There are plenty of considerations for storage in OpenStack - read this page for more info. http://docs.openstack.org/trunk/opens...

edit flag offensive delete link more


Thanks, this is exactly the high level overview answer I needed!

Azendale gravatar imageAzendale ( 2014-05-23 23:28:18 -0500 )edit

Link has to be modified to https://docs.openstack.org/arch-design/design-storage/design-storage-arch.html#choosing-storage-back-ends (https://docs.openstack.org/arch-desig...)

abhinav1592 gravatar imageabhinav1592 ( 2019-06-20 00:59:13 -0500 )edit

answered 2014-05-18 07:43:54 -0500

machi029 gravatar image

Personally, I believe the below is the best explained document for your question http://www.rackspace.com/blog/laying-cinder-block-volumes-in-openstack-part-1-the-basics/ (http://www.rackspace.com/blog/laying-...) See the nice figure on "Storage Options in OpenStack"

edit flag offensive delete link more


Link provided by you is devoted to cinder advantages and nothing else. It doesn't look as an answer for asked question.

DanIzack gravatar imageDanIzack ( 2014-05-20 04:45:30 -0500 )edit

http://ddf912383141a8d7bbe4-e053e711fc85de3290f121ef0f0e3a1f.r87.cf1.rackcdn.com/cinder.2.png (Link to Difference Image what machi029 was referring to)

Abhijeet gravatar imageAbhijeet ( 2017-06-25 22:24:32 -0500 )edit

answered 2014-05-17 03:49:53 -0500

dbaxps gravatar image

updated 2014-05-17 04:10:26 -0500

Cinder is supposed manage volumes in  block storage as it's backend ( GlusterFS for instance)
Swift is supposed manage objects in it's special Object storage.
Glance is supposed to manage images and images upload into  storage allocated fo glance.
Instances may be  bootup via glance images with ephemeral storage.

Regarding Swift storage , you may see http://vivekraghuwanshi.wordpress.com...
or http://blog.adityapatawari.com/2014/0...
Ragarding Block Storage for cinder see http://docs.openstack.org/grizzly/ope... .

edit flag offensive delete link more


So Cinder would be used to store hard drive images used by the virtual machines that run on nova compute. And Glance would be used to store OS install images? Is it only readonly images? And Swift is more like a generic filesystem?.

Azendale gravatar imageAzendale ( 2014-05-17 18:13:53 -0500 )edit

Not exactly, please view and read links provided.

dbaxps gravatar imagedbaxps ( 2014-05-18 03:24:25 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2014-05-17 03:41:51 -0500

Seen: 19,421 times

Last updated: May 23 '14