VCD Object Storage Extension-Part 7: Bucket & Object Operations

In last post of this series, we learnt how to enable VCD tenants to consume Object Storage. In this post we will learn various operations that can be performed on bucket and objects stored within a bucket.

If you have landed directly on this post by mistake, I would recommend reading previous articles from this series:

1: Introduction & Architecture of VCD OSE

2: Infrastructure Preparation

3: Installing Cloudian Hyperstore

4: Configuring Cloudian for VCD Integration

5: VCD OSE Installation & Cloudian Integration

6: Service Provider Configuration

1: Bucket Creation

Login to VCD as tenant and navigate to Object Storage plugin from context menu.

vCD-OSE66

Go to buckets tab and click on get started button.

vCD-OSE67

Provide a name for the bucket and hit save. 

vCD-OSE68

2: Viewing Bucket Properties

Click on newly created bucket and select the Properties tab to view attributes associated with a bucket. 

You can share the S3 url associated with bucket with other users, so that they can consume this bucket for storing data/objects.

Bucket-Properties

Permissions tab shows who all are authorized to access this bucket. 

Bucket-Permissions01

Clicking on Edit button allows you to change permissions for users. Use toggle button to alter permission per user.

Bucket-Permissions02

3: Add Items to Bucket

To add items in this newly created bucket, click on the bucket name.

vCD-OSE69

Add items to this bucket by clicking on upload button.

vCD-OSE70

I have uploaded a sample image file to test upload operation.

vCD-OSE71-1

Clicking on file will show general properties of file including:

  • File Owner
  • S3 URL for file sharing.
  • Size of file.
  • Type of file.

vCD-OSE73

Click on preview button will show you content of the file.

vCD-OSE75

From Actions tab, additional actions like copying file to another bucket, deleting file from bucket etc. Also file download can be performed from here.

vCD-OSE76

4: Object Copy Operation

An object can be shared across buckets by clicking on 3 elliptical dots in front of object and selecting “Copy to” options

01

Select the destination bucket and click on copy.

02

Once copy operation is completed, click on “Go To Destination Bucket” to view copied object in new bucket. 

03

You can see object has now been copied to new bucket. 

04

5: Deleting Buckets

A bucket needs to be emptied first before it can be deleted.

To delete a bucket, select the bucket in question and click on Empty button. It will delete all objects that are stored in that bucket.

bucket-delete1

Once all objects has been nuked, Delete button will be available for selection. Click on delete button to permanently delete te bucket.

bucket-delete2

And that’s it for this post.

I hope you enjoyed reading this post. Feel free to share this on social media if it is worth sharing 🙂

Leave a Reply