Creating an Object Storage Bucket in Oracle Cloud

In Oracle Cloud, object storage is used to store and manage data as objects, providing a reliable, secure and scalable service. OCI Object storage uses “buckets” as a method of organizing the objects (or files). Ultimately, you can think of a bucket as a container that stores –ideally related– objects within an Oracle Cloud compartment (see Creating a Compartment in Oracle Cloud) within a namespace.

A bucket can only be associated to a single compartment and it’s possible to set policies against the compartment & bucket which define the actions/permissions that a user or group have to manipulate the bucket and the objects in the bucket.

In this post, I will explain how you can very easily create a object storage bucket in Oracle Cloud.

Note 1: The details in this post assume that you already have an Oracle Cloud free tier (or upgraded!) account. If you don’t you can get one here.
Note 2: Given the regular release schedule present in Oracle Cloud, it is possible that the screens may change somewhat beyond the writing of this post. If this happens, please comment on this post and I will try to help you out. (and update this post!)


Create an Object Storage Bucket

Step 1: Log into your Oracle Cloud account (free tier is suitable)

Step 2: Click on the menu icon (often referred to as “Hamburger” or “Pancake Stack” icon)

Step 3: Select “Storage” and then Select “Buckets”

Step 4: You will be presented with the Bucket management screen. Select the compartment in which you would like to create a bucket (If you haven’t got any compartments and you don’t want to use your root compartment, take a look at my post: Creating a Compartment in Oracle Cloud).

When you have selected the compartment that you want to create your bucket in, click “Create Bucket”

Step 5: Provide basic information for the bucket creation and click “Create”

Step 6: The bucket will be provisioned, click on the bucket name to access the bucket

Step 7: You will be presented with the bucket details screen. Here you will be able to view the objects stored within the bucket

Upload a file to the Bucket

Once you have created your bucket using the above steps, you can add a file to the bucket.

Step 1: Click “Upload”, browse for your object and then Click “Upload”

Step 2: When the file has successfully loaded, the “Upload” button will change to “Close”. Click “Close”

Step 3: Now, you can see the uploaded file available in the object storage bucket

Step 4: Click the “3 dots” icon on the uploaded file and select “View Object Details”

Step 5: Here you can see details about the uploaded object including a URL which can be used to access the object. You also have the ability to download the object. To exit the screen, click “Cancel”

One thought on “Creating an Object Storage Bucket in Oracle Cloud

  1. Pingback: Accessing an Object Storage Bucket in Oracle Cloud using Pre-Authenticated Requests | AMY SIMPSON-GRANGE – BLOG

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s