Skip to content

Cloud storage improvements (light) #4623

Closed

Description

@vlidholt

The current cloud storage integration works, but it's not well documented and non-trivial to set up with Google Cloud. Let's patch it up and make play well with GCP and other cloud storage providers other than GCP and AWS.

Image

We currently have integrations for GCP and AWS which lives in the serverpod_cloud_storage_gcp and serverpod_cloud_storage_aws packages. They are virtually the same, as the GCP integration uses the AWS compatibility layer provided by Google Cloud.

New GCP integration

Build a new integration specifically for GCP, which is using Google Cloud's native APIs. There is working code used by Serverpod Cloud, which can be used as a starting point. We can most likely use the very same APIs, but check for another set of keys for accessing the Google APIs. This would keep the implementation completely backwards compatible.

Harmonize the AWS-compatible code

Almost all the code (except configuration) is exactly the same between the old GCP and AWS. We should move the similar code out into its own package (e.g., serverpod_cloud_storage_s3compat). This base package can be used with any S3 compatible service. However, we keep the AWS and GCP packages for backwards compatibility.

Good docs

This is the largest part that is missing. Good documentation for how to set up GCP buckets to be correctly configured with Serverpod (and in the extension, Serverpod Cloud).

Future goals are outlined in the more comprehensive RFC:
#3128

Activity

  1. added
    area: storage
    on Jan 20, 2026
  2. moved this from Inbox 📫 to Planned 🔭 in Serverpod Frameworkson Jan 20, 2026
  3. moved this from Planned 🔭 to Next Up 🎯 in Serverpod Frameworkson Jan 26, 2026
  4. 17 remaining items

  5. moved this from In Progress 🔥 to Done 🚀 in Serverpod Frameworkson Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: storage

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions