Articles on: Infrastructure

Storage Options

This guide covers the different storage options available in Gozunga Cloud and how to use them effectively.

Storage Types

Block Storage (Volumes)

Persistent block storage volumes that can be attached to instances.

Creating a Volume

  1. Navigate to Volumes
  2. Click "Create Volume"
  3. Specify:
    • Volume name
    • Size (GB)
    • Storage type (NVMe, etc)
    • Optional: Create from snapshot/backup

Attaching Volumes

  1. Select volume from volumes list
  2. Click "Attach to Instance"
  3. Choose target instance
  4. Click 'Attach'

Managing Volumes

  • Extend: Increase volume size
  • Snapshot: Create point-in-time backup
  • Clone: Create exact copy
  • Transfer: Move to different project

Object Storage

Scalable storage for objects like files, images, and backups.

Buckets

  1. Creating a Bucket
    • Navigate to Object Storage
    • Click "Create Bucket"
    • Set bucket name and access policy

  1. Managing Objects
    • Upload files via web interface
    • Use S3-compatible API
    • Set object lifecycle policies


Our Cloud Management Portal imposes limitations on file size for uploads. Use the native cloud storage API or software to achieve full capability.


Access Control

  • Bucket policies
  • Access Control Lists (ACLs)

Best Practices

Volume Storage

  1. Performance
    • Use NVMe volumes for databases/high I/O
    • Monitor IOPS and throughput

  1. Backup
    • Regular snapshots
    • Off-site backup copies
    • Test restore procedures

  1. Security
    • Encrypt sensitive data
    • Use secure deletion
    • Regular access audits

Object Storage

  1. Organization
    • Consistent naming conventions
    • Use metadata effectively
    • Implement versioning

  1. Cost Optimization
    • Lifecycle policies
    • Storage class selection
    • Monitor usage patterns

Common Operations

Volume Operations

# Format a new volume (Linux)
sudo mkfs.ext4 /dev/vdb

# Mount volume
sudo mkdir /mnt/data
sudo mount /dev/vdb /mnt/data

# Add to fstab for persistence
echo '/dev/vdb /mnt/data ext4 defaults 0 0' | sudo tee -a /etc/fstab

Object Storage Operations

# Using AWS CLI with Gozunga endpoints
aws s3 ls --endpoint-url https://cloud.fsd1.gozunga.com:6780
aws s3 cp file.txt s3://my-bucket/ --endpoint-url https://cloud.fsd1.gozunga.com:6780


Troubleshooting

Volume Issues

  1. Volume Won't Attach
    • Check instance state
    • Verify device path
    • Review system logs

  1. Performance Problems
    • Monitor IO metrics
    • Check volume type
    • Verify instance limits

Object Storage Issues

  1. Access Denied
    • Check credentials
    • Verify bucket policy
    • Review ACLs

  1. Upload Failures
    • Check file size limits
    • Verify network connectivity
    • Review API endpoints

Updated on: 20/01/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!