Creating Containers - a container can be thought of as a root folder under our OpenStack Object Storage. In the OpenStack dashboard, you can only manage containers and objects.
In OpenStack Object Storage, containers provide storage for objects in a manner similar to a Windows folder or Linux file directory, though they cannot be nested. An object in OpenStack consists of the file to be stored in the container and any accompanying metadata.
To gain in-depth knowledge and be on par with practical experience, then explore OpenStack Online Certification Training.
They allow for objects to be stored within them. Creating containers and objects can be achieved in a number of ways. A simple way is by using the swift client tool. We run this client tool against our OpenStack Identity Service, which in turn has been configured to communicate to our OpenStack Object Storage Proxy Service and allows us to create, delete, and modify containers and objects in our OpenStack Object Storage environment.
Log into a computer or a server that has the swift client package installed.
Carry out the following steps to create a container under OpenStack Object Storage:
Creating containers by using the supplied swift tool is very simple. The syntax is as follows:
Explore OpenStack Sample Resumes! Download & Edit, Get Noticed by Top Employers! Download Now!
This authenticates our user through OpenStack Identity Service using Version 2.0 authentication, which in turn connects to the OpenStack Object Storage endpoint configured for this tenant and executes the required command to create the container.
Ravindra Savaram is a Content Lead at Mindmajix.com. His passion lies in writing articles on the most popular IT platforms including Machine learning, DevOps, Data Science, Artificial Intelligence, RPA, Deep Learning, and so on. You can stay up to date on all these technologies by following him on LinkedIn and Twitter.