Skip to content

Storage Configuration

Quizora stores uploaded files (quiz cover images, certificates, avatars) either on your local server or on Amazon S3.


Local Storage (Default)

By default, all files are stored on your web server in the storage/app/public/ directory. No configuration needed — this works out of the box.

When to use local storage:

  • You have a VPS or dedicated server with enough disk space
  • You don't expect to store large amounts of media
  • Simplicity is more important than scalability

Amazon S3 (Cloud Storage)

For higher traffic platforms or shared hosting environments where disk space is limited, Amazon S3 is the better option.

Setup Steps

  1. Create an AWS account at aws.amazon.com
  2. Go to S3 and create a new bucket
    • Choose a region close to your users
    • Leave "Block Public Access" settings at default (Quizora manages access via signed URLs)
  3. Go to IAM → Users → Create User
    • Attach the AmazonS3FullAccess policy (or a scoped policy for the specific bucket)
    • Generate and copy the Access Key ID and Secret Access Key
  4. In Quizora: go to Admin → Settings → Storage
  5. Switch to S3 and enter:
    • AWS Access Key ID
    • AWS Secret Access Key
    • S3 Bucket Name
    • AWS Region (e.g. ap-south-1 for Mumbai)
  6. Click Save

Switching Storage Providers

Important

If you switch from local storage to S3 (or vice versa) after files have already been uploaded, existing files will not be moved automatically. You'll need to manually transfer them to the new location.

It's best to configure storage before going live.

Quizora — AI-Powered Quiz Platform