26 Oct 2021

5 Ways On How To Perform Media upload/download Easily to Huawei OBS

By Gabby Liau 26 Oct 2021

Object Storage Service (OBS)

Object Storage Service (OBS) provides massive, secure, reliable, and low-cost data storage capabilities. It applies to various data storage scenarios, such as enterprise backup and archiving, video on-demand (VoD), video surveillance, and big data analysis.

Users can have up to exabyte level of storage for any application or service deployment, such as big data analysis, Artificial Intelligence processing, content sharing, and backup storage, that requires unlimited storage at a cheaper price.

The following are some of the key features offered by Huawei Cloud Object Storage:

1. High Availability & Reliability

With its high availability feature, you will never lose your data even if there’s an outage. The system automatically replicates all objects across multiple servers so that no single server failure would cause loss of data. This ensures continuous access to your data from anywhere anytime.

2. Scalability

You can scale out your object storage capacity with ease. You can add more nodes to increase the overall performance of your storage solution. With this, you can store larger amounts of data without worrying about running into space limitations.

3. Security

Your data remains safe within Huawei Cloud networked environment. All data stored in the cloud is encrypted before it leaves the premises. Once received, Huawei Cloud decrypt them locally and then securely transfer them to the destination location.

4. Low cost

Compared to other similar solutions available today, Huawei Cloud offers much lower costs than others. For example, compared to Amazon S3, which charges $0.01 per GB per month, Huawei Cloud only charges 0.05 cents per GB per month. In addition, unlike most competitors who charge extra fees when you exceed certain limits, Huawei Cloud does not impose additional fees after reaching those limits.

5. Flexible Pricing Options

Huawei Cloud provides three pricing options: Pay Per Use, Monthly Billing, and Yearly Billing. Users can select whichever option best suits their needs.

6. Easy Integration

Huawei OBS offers easy integration with popular applications like Google Drive, Dropbox, Box, OneDrive, etc., allowing you to seamlessly integrate these apps with your existing infrastructure.

7. User Friendly Interface

The user-friendly interface makes it easier for you to manage your account settings, billing information, and usage details

And not only just that, to allow efficient management and O&M, but Huawei also enables users to access the OBS via multiple methods:

(1) Huawei Cloud management console,
(2) OBS Browser+ (GUI tool that allows you to manage OBS locally)
(3) obsutils (command line method of accessing OBS locally),
(4) obsfs (allows OBS to be bound to user’s local device so that the user can access their OBS bucket just like a local file system),
(5) SDKs & APIs.

Today, in this article, we will focus on the OBS Browser+ accessing method.

Why do we need to use OBS Browser+?

Using the Huawei Cloud management console to access to the OBS is good because, through the console, we can enable quite a lot of the additional functions of the OBS such as URL Validation, Lifecycle Management, Static Website Hosting and etc. which are unable to be configured through OBS Browser+, obsutils, obsfs, APIs and SDKs (We will look into the additional functions of OBS in the other articles).

However, there will be some constraints and limitations on the media upload for the users.

To upload files into the OBS bucket through the management console, users can only upload files with total size not greater than 5 GB at a time. And for each batch of the media upload, only 100 files can be uploaded.

Example scenario 1:
When the users wish to upload files with total size larger than 5GB, they will need to split the files for several upload.
So, if we have a total of 10 files (each file size is 1 GB, total file size will be equals to 10GB, which is greater than 5GB), then the users have to split the 10 files to be uploaded separately, 5 files (total 5GB) at a time.

Example scenario 2:
Another case is when there is 1 file which its file size is 10GB, then the file cannot be directly uploaded via the Huawei Cloud management console. As an alternative, we have to upload via the OBS Browser+.

OBS Browser+ do not have any limitation for the users on the total file size that can be uploaded per time, moreover, the number of files that can be uploaded per time will be 500 files instead of 100 files as in the management console.

Getting started.

Before users can use the OBS Browser+, users need to download the installation package of OBS Browser+ from Huawei Cloud.

Login to the Huawei Cloud.

Huawei Cloud Console page

Look for the Object Storage Service (OBS) from the service list.

OBS in the service list.

Download the OBS Browser+ installation package from the OBS console page.

OBS Browser+ Installation package in the OBS console page.

Obtain the suitable installation package according to different versions of Windows OS (32bits or 64bits) or Mac OS.

After downloading the installation package, double-click into the downloaded .exe file.

Select the installation options.

Choose the install location.

Installation completed.

How to access the OBS bucket(s) through OBS Browser+.

There will be a total of 3 login methods for the users.
(1) using key pair (Access key ID and Secret access key),
(2) using Huawei Cloud account name and password (usual account login),
(3) using Authorization code/Shared folder URL.

OBS -How to Upload and Download files through OBS Browser

First method: Using Key Pair (AK Login-Access key ID and Secret access key)

Enter the following information to login:

Users also can obtain the access keys by clicking into the button below “Obtain Access Keys”:

Once clicked in, users will be brought to the “My Credentials” console page, under the “Access Keys” tab, users are allowed to create their own keys for the login.

(Optional) Users can enter some custom descriptions about the access key to be created.

Users can only download the access key only once. Once the access key is lost, users have to create a new one.

Access Key ID and Secret Access Key information contained in the downloaded file.

For the access path, we just need to put the obs://bucket name. (“bucket name” varies for different users).

Example OBS path:

Bucket name: bucket-gabbb

Fill in the obtained AK/SK and the access path to the bucket.

Second method: Using Huawei Cloud account name and password (usual account login)

Using this method to login OBS Browser+ is just like how we can login to the Huawei Cloud.
We just need to use the Huawei Cloud account name and password to login.

IAM user can also login to the OBS Browser+.

Third method: Using Authorization Code/Shared Folder URL

The shared folder URL can be either generated by yourself based on your own OBS bucket, or it can also be getting from other Huawei Cloud users (other users share their shared folder URL to you).

How to generate the shared folder URL:

To generate the shared folder URL from the Huawei Cloud management console, clicks on the share button of the folder that you want to access from the OBS Browser+(You can also obtain the shared folder URL through obsutils or from the other OBS Browser+).

When getting a share folder URL,
Set the URL validity period (How long you want the URL to be valid to use, for example, if it was set to 5 minutes, the URL will not provide any access to the folder after the 5 minutes validity period).

Set a 6-digit Access Code, so that when the users want to access the folder via this URL, they have to enter the correct access code, only they are able to access the folder.

Click on the “Create Share” button,

Then you will be able to copy the link and put it into the login page of OBS Browser+ (using the authorization code login).

Finally, you will be able to login to the OBS Browser+ and view the folders.

As simple as that!
You can now access to your OBS bucket(s) through the OBS Browser+ and easily use this simple tool to manage your data stored in the buckets locally and directly, without going into the Huawei Cloud management console, which need you to find the OBS among all the cloud services provided by Huawei Cloud.

In conclusion, I hope my article helps you understand more clearly what’s happening behind the scenes with the OBS Browser+, and gives you an idea of using the OBS Browser+ to do something useful.

Please visit here to know more on the Huawei cloud services training we are offering

Gabby Liau

Technical Instructor
Huawei Certified System Instructor – AI, Cloud Service.
Microsoft Certified Trainer (MCT).

Leave a Reply

Your email address will not be published. Required fields are marked *