Object Storage Resources

Welcome to our exploration of Object Storage resources within OCI. Let’s delve into the intricacies of managing your data efficiently.

Object Storage Namespace: Your Unique Container

At the core of OCI’s Object Storage lies the concept of a namespace. Picture it as the overarching container housing all your buckets and objects. Upon account creation, each OCI tenant receives a distinct object storage namespace, ensuring data isolation and organization.

Buckets: Logical Containers for Data

Within this namespace, data is organized into buckets, acting as logical containers for storing objects. Crucially, bucket names must be unique within a region for each tenancy. For instance, while you can create a bucket named “demo bucket” in India West, you cannot replicate the same name within the Mumbai region. However, you can employ identical bucket names in different regions, such as India South or Hyderabad.

Constructing Object Storage Endpoints

Let’s dissect the anatomy of an object storage endpoint using an example:
Object Name: oci.jpg
Bucket Name: training
Namespace: ocimadesimple

The endpoint structure unveils as follows:

https://objectstorage.region.oraclecloud.com/n/namespace/b/bucket/o/object_name

Here, /o denotes the object name, /b the bucket name, and /n the namespace. Alongside, the endpoint showcases the service name (object storage) and the region, providing comprehensive access details.

Leveraging Prefixes for Hierarchical Structure

Although buckets and objects reside in a flat hierarchy, we can simulate a directory structure using prefixes. By appending a string with forward slashes to an object name, we establish a semblance of directories. For instance, considering “oci.jpg” as the object name, we append the prefix “training/oci,” creating a virtual directory structure.

Benefits of Prefixes

Why bother with prefixes? They enable streamlined management, facilitating bulk operations like deletes and downloads via CLI or API. Additionally, they enhance usability by enabling the display of hierarchical views within the console interface, fostering intuitive navigation and organization.

By mastering these fundamental concepts, you lay a robust foundation for efficient data management within OCI’s Object Storage ecosystem. Dive deeper into its capabilities to unleash the full potential of your data infrastructure.

Previous
Overview of Object Storage
Next
Object Storage Characteristics