Cloud Storage
Manage cloud object storage (GCS, S3, Azure Blob) as backing storage for MayaNAS. Cloud storage is configured automatically during marketplace deployments, but you can add additional accounts and buckets post-deployment.
Access
Section titled “Access”Navigate to Cloud Storage in the Web UI sidebar.
Cloud Accounts
Section titled “Cloud Accounts”A cloud account defines the credentials and endpoint for a cloud provider.
Create a Cloud Account
Section titled “Create a Cloud Account”- Click New Cloud
- Fill in the account details:
| Field | Description |
|---|---|
| Name | Account label (e.g., gcp-prod) |
| Cloud Type | Provider: Google Storage, AWS S3, Azure Blob, or S3-compatible |
| Access Key | Cloud provider access key or service account |
| Secret Key | Cloud provider secret key |
| Storage URL | Endpoint URL (auto-filled for major providers) |
| Region | Storage region |
- Click Create
Delete a Cloud Account
Section titled “Delete a Cloud Account”- Select the account
- Click Delete
Cloud Buckets
Section titled “Cloud Buckets”Buckets hold the object data backing your ZFS pools.
View Buckets
Section titled “View Buckets”Switch to the Cloud Buckets tab to see buckets organized by cloud account. Each bucket shows:
- Cloud account name
- Blob count
- Bucket size
Click List on any bucket to count all blobs and calculate total size.
Create a Bucket
Section titled “Create a Bucket”- Select a cloud account
- Click Create
- Enter the bucket name
- Click OK
Create a Cloud Disk from a Bucket
Section titled “Create a Cloud Disk from a Bucket”A cloud disk makes a bucket usable as a block device for ZFS pools.
- Select a bucket
- Click Bind
- Configure the cloud disk:
| Field | Description |
|---|---|
| Disk Name | Name for the cloud disk device |
| Size | Disk capacity |
| Block Size | Block size for cloud objects (1 MB recommended) |
| Cache File | Optional local cache file path |
| Loop Device | Optional loop device binding |
| Cluster ID | Auto-filled in HA configurations |
- Click Create
Delete a Bucket
Section titled “Delete a Bucket”- Select the bucket
- Click Delete
# Show all cloud accountsmayacli show cloud
# Show a specific accountmayacli show cloud myaccount
# List buckets in an accountmayacli show cloud myaccount type=list
# Show bucket sizemayacli show cloud myaccount type=size bucket=mybucket
# Create a cloud accountmayacli create cloud proj-devops s3type=azure \ accesskey=testdev:FIzTY4AB3deaBcpOo1278===
# Create a cloud account (Google Storage)mayacli create cloud gcp-prod s3type=google \ accesskey=AKID:SECRET region=us-central1
# Delete a cloud accountmayacli delete cloud proj-devops
# Delete a bucketmayacli delete cloud proj-devops bucket=testbucket
# Create a cloud disk from a bucketmayacli create disk cloud_disk1 cloud=mys3account \ bucket=zettatest-blobdisk-13 cachefile=blobdisk-13 \ size=40g blocksize=1024K
# Delete a cloud diskmayacli delete cloud disk=mys3testdiskSee CLI Guide for the full command reference.