Skip to main content
Last updated on

Upload Objects

Objects are the files you store in a bucket — they can be images, videos, documents, backups, or any other file type. LANIT Cloud Simple Storage supports uploading directly through the web portal or via S3-compatible tools (S3 Browser, AWS CLI, Rclone...).

Upload via the Web Portal

Step 1: In the left menu, select Simple Storage → Buckets.

Bucket List

Step 2: Click the name of the bucket you want to upload files to.

Step 3: On the bucket detail page, click Upload files in the top-right corner.

Bucket Detail Page

Select and Configure the Upload

Step 4: The upload window appears. You can:

Upload Dialog

  • Drag & Drop: Drag files from your computer into the upload area
  • Select files: Click Browse or Choose files to open a file picker

You can select multiple files at once for batch upload.

Step 5: After selecting files, configure the upload options:

  • Prefix / Folder: If you want to organize files into virtual folders, enter a prefix here. For example, enter images/2024/ to place the file inside the virtual "folder" images/2024/ within the bucket.

  • Access: Choose the access permission for the object:

    • Inherit from Bucket: Inherit the policy from the bucket (default)
    • Private: Only the owner can access
    • Public Read: Anyone can view/download
  • Content-Type: The system auto-detects the file type. You can override it if needed (e.g., application/json, image/webp).

Step 6: Click Upload to start the upload. A progress bar shows the status for each file.

Step 7: When the upload completes, the file appears in the bucket's object list with its size, file type, and upload time.

Organizing Objects with Virtual Folders (Prefixes)

Simple Storage has no real folder structure, but supports prefixes (path prefixes) to organize objects in a virtual folder-like structure. For example:

backup/2024/01/database.sql
backup/2024/02/database.sql
images/products/phone-01.jpg
images/products/phone-02.jpg

In the portal, these prefixes are displayed as a folder structure, allowing easy navigation.

Getting an Object's URL

After uploading, each object has an access URL in this format:

https://<bucket-name>.s3.lanit.com.vn/<object-key>

Or in path-style format:

https://s3.lanit.com.vn/<bucket-name>/<object-key>

If the bucket has a Private policy, a direct URL returns 403 Forbidden. Create a Presigned URL or configure a Bucket Policy to grant temporary access.

Upload via External Tools

In addition to the web portal, you can upload objects using S3-compatible tools:

  • S3 Browser — Graphical interface for Windows (see guide at S3 Browser)
  • AWS CLI — Cross-platform command line (see AWS CLI)
  • Rclone — Cross-platform file sync (see Rclone)