Tutorials How to get started with UpCloud Object Storage

How to get started with UpCloud Object Storage

If your project or application has the need to handle large amounts of unstructured data, you should make use of object storage. It’s a computer data storage architecture that manages data as objects as opposed to block storage which manages data as blocks within sectors and tracks. As such, object storage is commonly used for storing large datasets like photos on Facebook, songs on Spotify, or files in online collaboration services.

The secure and redundancy ensured UpCloud Object Storage is the perfect place to store any data for your needs. Thanks to the S3-compatible and programmable interface, you have a host of options for existing tools and code implementations to make quick work of integrating Object Storage with your application.

Test hosting on UpCloud!

Creating new Object Storage

Begin by logging into your UpCloud Control Panel and going to the Object Storage section.

Object Storage

Click “Get started” button to create your first Object Storage.

Select your configuration options:

  • Location of where you want the storage to be situated
  • Plan by how much storage you want
  • Name your Object Storage, this will be used in the endpoint URI and needs to be unique
    Note that it can’t be changed later without recreating the Object Storage
  • Choose access networks
  • Select whether you want to create the first bucket right away
    • If yes, give the bucket a name

Finally, click the “Create Object Storage” button to launch the new storage device.

Creating new Object Storage instance

The deployment will take a moment after which you’ll see the new Object Storage appear on the list.

Example Object Storage

You are then ready to start using the Object Storage. Continue below with the instructions on how to go forward.

Creating and managing buckets

In Object Storage, all files are organised in “buckets” of objects. Before you can start adding files, you’ll need to create a bucket. If you create a bucket already at the Object Storage deployment, you are all set to start uploading files.

Creating a new file bucket is quick and easy. Open the Object Storage details by clicking the name.

Object Storage

Then click the “Create bucket” button.

Creating new bucket in Object Storage

You will then see the new bucket window.

Name the bucket with the consideration that it will be used as a subdomain to your Object Storage address. The bucket name is specific to the particular Object Storage and needs to be unique only within the storage device.

Object Storage

Once created, the bucket will appear on your Object Storage and can be browsed directly at your UpCloud Control Panel.

Example bucket created in Object Storage

That’s all you need to do to prepare your Object Storage to upload files. Continue to the next part to start adding files.

Managing files in Object Storage

Once you’ve deployed your Object Storage and created the first bucket, you can start uploading files. Go to the Object Storage details and click the bucket name where you want the files to be uploaded.

Example bucket created in Object Storage

In the files view, you have the options to upload files directly from your own computer as well as create a directory like prefixes to further organise your files.

Files list in Object Storage

Start by clicking the Upload files button which will open your local file selector. Find the file you want to upload and click open to select it.

When started, the upload will copy the selected files to your Object Storage. Depending on the file size and your network speed, the upload might take a moment. You can follow the progress of the upload in the notification in your web browser.

Uploading file to Object Storage

If the upload is taking too long or you accidentally selected the wrong file, you can cancel the transfer at any time by clicking the X icon on the upload notification.

Once the upload has finished, the file will appear on the list.

Upload to Object Storage complete

You can then access the files uploaded to the Object Storage via your UpCloud Control Panel. Additionally, you can also allow anonymous public download by enabling HTTPS Access.

Click the HTTPS Access link in your file list view.

Then enable HTTPS Access by clicking the toggle in the following window.

HTTPS Access settings to Object Storage

Afterwards, you can view any files within the specific bucket by going to the URL shown in the HTTP Access details and by appending the filename to the URL.

https://{bucket}.{object-storage}.{location}.upcloudobjects.com/{file-name}

For example:

https://example-bucket.example-object-storage.nl-ams1.upcloudobjects.com/example.txt

Congratulations! You should now have a good understanding of how Object Storage works. However, uploading and accessing files in your Object Storage using a web browser wouldn’t be very convenient. Therefore, you should have a look below for the S3 Access details and for some examples of S3 clients.

S3 API Access details

Files in Object Storage are commonly managed via S3 clients. To do so, you need to enable access by providing the client with the keys and endpoint details to your Object Storage.

To find your access details, go the Object Storage details at your UpCloud Control Panel. Then click the S3 API access link to open the access details.

Example bucket created in Object Storage

You’ll then see the S3 API Access details that include your Access and Secret keys as well as the Endpoint URL specific to your Object Storage.

S3 Access details to Object Storage

These can be copied easily one at the time by clicking the Copy link on the side and entered to your prefered S3 client. Check below for some examples of popular S3 clients you might like.

File management clients

MSP360 Explorer provides a user interface allowing to access, move and manage files across your local storage and the cloud storage of your choice. Cloud file management software by MSP360™ is available in two versions: Freeware and PRO which both include clients for Windows and macOS.

CloudBerry Object Storage configuration

Cyberduck is a libre server and cloud storage browser for macOS and Windows with support for S3 compliant object storage in addition FTP, SFTP, Dropbox, Google Drive and more. Cyberduck is funded through donation but the software itself is free to download and use.

Cyberduck Object Storage configuration

DragonDisk is a powerful file manager for all cloud storage solutions that provide compatibility with S3 API. It allows organizing and sharing data using a simple and intuitive interface similar to common file explorers. DragonDisk is free and cross-platform, with clients for Windows, macOS and Linux.

Dragondisk Object Storage configuration

Command line tools

S3cmd is a free open-source command-line tool and client for uploading, retrieving and managing data for any cloud storage service providers that use the S3 protocol and works great with UpCloud Object Storage. It is best suited for power users who are familiar with command-line programs but is simple enough for beginners to learn quickly as well. It is also ideal for batch scripts and automated backup to S3, for example, by scheduling using cronjobs.

Check out our guide on S3cmd and get started managing your Object Storage tasks.

MinIO Client provides a modern alternative to UNIX commands like ls, cat, cp, mirror, diff, find etc. It supports filesystems and S3 compatible cloud storage service across the board. In addition to being available for download on Windows, macOS and Linux, MinIO is also available as a docker image.

 

Editor-in-chief and Technical writer at UpCloud since 2015. Cloud enthusiast writing about server technology and software.

4 thoughts on “How to get started with UpCloud Object Storage

    1. Hi Dima, thanks for the question. There are currently no connection limits per bucket. However, we might consider applying some restrictions in the future depending on how the Object Storage usage develops.

Leave a Reply

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

Locations

Helsinki (HQ)

In the capital city of Finland, you will find our headquarters, and our first data centre. This is where we handle most of our development and innovation.

London

London was our second office to open, and a important step in introducing UpCloud to the world. Here our amazing staff can help you with both sales and support, in addition to host tons of interesting meetups.

Singapore

Singapore was our 3rd office to be opened, and enjoys one of most engaged and fastest growing user bases we have ever seen.

Seattle

Seattle is our 4th and latest office to be opened, and our way to reach out across the pond to our many users in the Americas.