LogoLogo
Run to Console
  • ClawCloud Run
    • Document
    • Getting Started
      • Create a DevBox
      • Deploy Database
      • Deploy from Docker
      • Deploy from Template
    • Guide
      • App Launchpad
        • Install Application
        • Update Application
        • Custom Domain
        • Exposing Multiple Ports
        • Environment Variables
        • Configuration Files
        • Auto Scaling
        • Persistent Storage
        • Custom Domain Certificates
      • Devbox
        • Devbox List
        • Devbox Details
        • Devbox Release
      • Database
        • PostgreSQL
        • MySQL
        • Redis
        • MongoDB
        • Kafka
        • Milvus
      • Object Storage
      • Advanced
        • Workspace
        • Terminal
        • Cron Job
        • KubeConfig
    • Pricing
    • Billing & Usage
    • Migration
      • Migrate from Docker
      • Migrate from Docker Compose
    • Architecture
      • Devbox Architecture
      • System Architecture
      • User Architecture
    • Legal
      • Privacy Policy
      • Terms and Conditions
      • Data Processing Addendum
    • Changelog
    • Best Practice
    • FAQ
    • More
      • Abuse Complaint
    • Help
  • Blog
Powered by GitBook

Copyright @ 2023-Present CLAWCLOUD. All Rights Reserved.

On this page
  • Basic Usage
  • Creating a Bucket
  • Uploading Files
  • Modifying Access Permissions
  • Retrieving Access Keys
  • Static Website Hosting
  • Setting Up a Publicly Accessible Bucket
  • Accessing the Hosted Website

Was this helpful?

Export as PDF
  1. ClawCloud Run
  2. Guide

Object Storage

ClawCloud Run Object Storage provides an enterprise-grade cloud storage solution that supports S3-compatible interfaces, multi-language SDK integration, and fine-grained access control.

PreviousMilvusNextAdvanced

Last updated 1 month ago

Was this helpful?

The Object Storage service is built into ClawCloud Run and is designed to store and manage unstructured data. It offers a secure, reliable, and high-performance cloud storage solution suitable for a wide range of storage needs—from small applications to large-scale distributed systems.

Currently, Object Storage offers the following features:

  • Upload files to a bucket.

  • Download files from a bucket.

  • Configure public access for buckets.

  • Access buckets via SDKs.

  • Monitor bucket resource metrics.

  • Host static websites.

Basic Usage

Creating a Bucket

  1. Locate and click the Object Storage icon in ClawCloud Run.

  1. In the Object Storage interface, click the Create Bucket button.

  2. Enter a bucket name, set the bucket's access permissions, and then click the Apply button in the top-right corner.

Bucket Access Levels:

  • private: Only authenticated users can access the bucket contents, ideal for storing sensitive data or for internal use.

  • publicRead: Allows anyone to read objects in the bucket (no authentication required) while write operations remain protected. This setting is suitable for content distribution or static website hosting.

  • publicReadWrite: Grants full read and write permissions to the public (use with caution). This setting is not recommended for production environments.

Uploading Files

ClawCloud Run Object Storage supports flexible file management operations. Follow these steps to upload files:

Navigating to the Target Bucket

  1. Open the Object Storage interface.

  2. Select the target bucket from the bucket list.

  3. Navigate to the directory where you want to upload files (by default, the root directory is used).

Performing the Upload

  1. Click the Upload button in the top toolbar.

  2. In the file/folder selector:

    • Choose File to open your system's file browser and select one or multiple files for batch upload.

    • Choose Folder to select an entire folder and maintain its directory structure during the upload.

  3. Click the Upload button to start the transfer.

Modifying Access Permissions

Accessing Bucket Settings

  1. Open the Object Storage interface.

  2. Locate and click the target bucket from the bucket list.

  3. Click the Edit button in the top-right corner next to the bucket name.

Choosing an Access Level

In the bucket permission settings panel, select a new access level:

  • private: Only users with access keys can access the content.

  • publicRead: Allows anonymous users to read objects (recommended for static website hosting).

  • publicReadWrite: Permits anonymous read/write operations (use with caution, mainly for development/testing).

Make sure there is no sensitive data in the bucket (if switching to a public access level) and then click the Apply button to confirm.

Retrieving Access Keys

Access keys are the digital credentials for accessing the Object Storage service. They include an AccessKeyID and a SecretAccessKey. Follow these steps to obtain your access keys:

  1. From the bucket list, select the target bucket.

  2. Click the Access Keys button in the bottom left corner.

  1. In the pop-up window, you will see the current bucket's Access Key, Secret Key, as well as the Internal and External URLs. The Access Key and Secret Key serve as your credentials for accessing the service, while the Internal URL is for internal access and the External URL is for public access.

In S3-compatible mode, please select the path-style mode for Addressing Style.

If the storage protocol includes MinIO, it is preferred to choose that protocol.

Static Website Hosting

ClawCloud Run Object Storage offers a complete static website hosting solution with features such as automatic URL generation and custom domain configuration.

Setting Up a Publicly Accessible Bucket

  1. Create a new bucket or select an existing one. Ensure that its access level is set to publicRead or publicReadWrite.

  2. In the bucket details page, click the Enable Hosting button in the top toolbar.

Accessing the Hosted Website

  1. Once static hosting is enabled, the system automatically generates a URL.

  2. Click the generated URL to open your website in a new browser tab.

  3. Ensure that an index.html file is uploaded to the bucket as the default homepage.

Configuring a Custom Domain

  1. Click the three-dot menu in the top-right corner of the bucket interface and select Custom Domain. This will redirect you to the Application Management interface for domain configuration.

By following these instructions, you can leverage ClawCloud Run's Object Storage service to efficiently manage your unstructured data and even host static websites with ease.

Follow the same steps as described in the .

Custom Domain Configuration Guide
Object Storage Entry
Bucket Creation Interface
File Upload Interface
Bucket Permission Settings
Access Key Entry
Access Key Result
Enable Static Hosting
Static Website URL
Custom Domain Configuration