storage openstack Object Store

OpenStack storage types

Introduction

There are different types of storage in OpenStack: Ephemeral storage, Volume Storage and Object Storage. It’s important you understand the difference so you can best determine which type to use. This guide explains the differences between the two. It also describes two varieties of persistent storage you can use.

Ephemeral Storage

This type of storage is associated with a single unique instance. It exists only as long as the instance itself. It’s generally used for the root file system and operating system of the instance. The size and amount of ephemeral storage is determined by the flavor of the instance and the image used. Ephemeral storage persists as long as the instance isn’t deleted; it will not be lost and reset due to reboots.

Volume Storage (Block Storage)

Persistent volumes are manually created by users. Their size is determined by the user. Upon creation it’s raw data, but it can be attached (mounted) to instances and partitioned and formatted. They are used as if they are an external hard drive. They can only be attached to a single instance at once, although you can detach and reattach them to different instances.

Persistent volumes can be configured to be bootable to provide to persistent virtual image. They do not provide concurrent access from multiple instances. That requires additional configuration such as NFS or a cluster file system like GlusterFS.

Persistent volumes offer high performance and I/O and are ideal for resource intensive applications such as many databases. Block storage is also very effective for archiving large amounts of files.

Because every use case requires a different storage solution we have created three different flavours. When creating a volume you have the ability to choose between our low, regular and high storage types. Use our low tier for large amounts of data that don't need a high I/O performance, like back-ups. Our regular tier uses HDD storage and can be used for most of the applications that don't need the most high performance. In case you are looking for the best, and fastest storage solution on the market, please select our high tier. Extreme fast by using our state-of-the-art SSD technology.

Object Storage

With object storage, users access binary objects through a URL or REST API. It’s great for archiving or managing large datasets, you want to provide them with object storage. In addition, as an alternative to storing the images on a file system, OpenStack can store your virtual machine images inside of an object storage system, as well as back-ups and large media files.

OpenStack storage comparison

Ephemeral storage Volume storage Object storage
Used to Run operating system and scratch space Add additional persistent storage to a VM Store data, including VM images
Accessed through A file system A block device that can be partitioned, formatted, and mounted A REST API
Accessible from Within a VM Within a VM Anywhere
Persists until VM is terminated Deleted by user Deleted by user

Was this article helpful?