Migrate from Google Cloud Storage to SeaweedFS

A practical plan for moving GCS buckets to self-hosted SeaweedFS: what maps cleanly, what needs rework, how cold-class timing affects the copy, and how applications switch to S3 endpoints.

On this page

Migrate from Google Cloud Storage to SeaweedFS: what the move involves

If your renewal, data residency requirement or lock-in concern has pushed you toward self-hosting, the move is a data copy plus an application endpoint switch. The copy itself is usually the simpler part. The risk concentrates in three places: how identities and bucket policies map to SeaweedFS access controls, whether retention and holds carry over, and what happens to Nearline, Coldline and Archive objects whose retrieval fees and minimum storage durations shape when you can move them. Treat those three areas as the planning core and the bulk transfer as a scheduled task.

In most organizations the platform team does the work, with an implementation partner for cluster design, hardening and the cutover. The platform team owns the SeaweedFS master, volume and filer layout, the metadata store choice and the backup plan for the cluster itself. The application owners own the switch from the GCS JSON API and client libraries to S3 endpoints. Security and compliance staff should review the access model and any retention requirements before the first production bucket moves. Confirm who in your organization signs off on each of those decisions before the project is scoped.

Effort and risk depend mostly on the number of buckets, the number of applications that call GCS directly, and how many objects sit in cold classes. Ask any partner to size the work from your own inventory rather than from a generic estimate, and ask them to state which items are fixed scope and which depend on findings. Because SeaweedFS Enterprise adds recovery and self-healing features that the Apache-2.0 edition does not include, confirm which edition your design relies on and how it will be supported. Record a verified copy, checksum comparison and rollback path for each bucket before deleting anything in GCS.

Which GCS capabilities map cleanly to SeaweedFS

This table maps the Google Cloud Storage features your buckets depend on to the SeaweedFS components that replace them, marking each row as clean, needs rework or gap. Read the status column first, then check the notes for what you must build or confirm in your own cluster. Object Lock and retention equivalents must be confirmed against the SeaweedFS documentation and the scope of the Enterprise Edition before you rely on them for record keeping.

GCS capabilitySeaweedFS equivalentStatus and notes
Buckets and object access via XML API and S3 toolsS3 gateway on filer servers, buckets exposed through the S3 APINeeds rework: S3 tools work after endpoint and credential changes, but XML API and JSON API calls in applications must be rewritten
Storage classes (Standard, Nearline, Coldline, Archive)No direct class equivalent; erasure coding for warm data and replication settingsGap: map each GCS class to a SeaweedFS placement policy and confirm how warm data is handled before cutover
Object versioningVersioning support must be confirmed for your SeaweedFS release and S3 gateway configurationNeeds rework: test version listing, restore and delete markers with your own clients before migrating
Retention and Bucket LockObject Lock and retention equivalents must be confirmed against SeaweedFS documentation and Enterprise Edition scopeGap until confirmed: do not assume WORM behavior for regulated records without written verification
IAM roles and bucket policiesS3 credentials and access rules at the gateway, with policies to be mapped by handNeeds rework: rebuild IAM bindings as S3 identities and policies, then test each application's access
Durability through replicationRack- and data-center-aware replication configured on volume serversClean: replication topology is a deployment choice, so size failure domains to match your GCS durability expectations
Cold data economicsErasure coding for warm data on volume serversNeeds rework: erasure coding is available, but cost and recovery behavior must be tested against your access patterns
Encryption at rest and in transitAES256-GCM encryption at rest, TLS or mTLS for transportClean: configure key management and certificate rotation yourself and record both in your control evidence

Migration sequence from inventory to decommission

This sequence moves Google Cloud Storage data into a self-hosted SeaweedFS cluster in controlled stages, with each stage producing evidence that the copy is complete and the applications work before the old buckets are retired. The steps below follow the order a team usually works through, so each output feeds the next.

  1. Inventory buckets, classes and retention

    The platform or storage team lists every GCS bucket, its project, location, storage class (Standard, Nearline, Coldline or Archive), object count, total size, versioning state, lifecycle rules, retention policies and any Bucket Lock settings. Cold classes need extra attention because retrieval fees and minimum storage durations can make reading or deleting objects costly or early. Confirm the minimum durations and fee schedules in Google's current pricing documentation for each class you hold. The output is a signed-off inventory sheet that names the owning application for each bucket and states which objects must be copied, which can be expired and which need a retention decision from compliance.

  2. Size the cluster and stand up a pilot

    Using the inventory, the team sizes a SeaweedFS deployment: master servers (one, or a Raft group of three for production), volume servers that hold blobs in append-only volume files, and filer servers with a metadata store that suits the expected file count. SeaweedFS keeps a small in-memory index per blob, so the number of small objects matters as much as raw capacity. Choose replication or erasure coding for warm data, and confirm encryption and TLS or mTLS settings. Deploy the pilot on Kubernetes with Helm or on Docker or bare metal, then create one non-critical pilot bucket through the S3 gateway. The output is a documented cluster layout, a capacity model reviewed by the storage owner and a pilot bucket that accepts test writes and reads.

  3. Copy the pilot bucket with rclone

    Configure rclone with the Google Cloud Storage backend, or with the S3-compatible Google endpoint using HMAC keys, as a read source, and configure a second rclone remote pointing at the SeaweedFS S3 endpoint. Copy the pilot bucket first, and record the command, flags and rclone version so the run can be repeated. Check the rclone documentation for the current options for each backend before you rely on them. The output is a pilot copy log with transferred and failed object counts, plus a list of any objects whose metadata, content type or custom headers did not carry over, which the team must handle in the application layer.

  4. Run the parallel copy and verify

    Copy the remaining buckets in batches that match the inventory, starting with the least critical data. Run rclone in check mode after each batch to compare sizes and hashes where both sides provide them, and compare object counts per prefix against the inventory. Objects in Coldline or Archive must be read to be copied, so schedule those reads with the retrieval fees in mind and confirm the fees with the current Google price list. Keep GCS as the source of truth during this stage, and keep copies running on a schedule until the final delta sync. The output is a verification report per bucket that shows matching object counts, zero unexplained differences and a named owner who accepted each batch.

  5. Test applications against S3 endpoints

    Application teams change their clients from the Google Cloud Storage JSON API or client libraries to an S3 SDK pointed at the SeaweedFS endpoint, using a non-production environment first. They test uploads, multipart transfers, listing, presigned URLs, lifecycle behavior and any object versioning or retention the application relies on, and confirm which features SeaweedFS supports and which need a workaround. Confirm the exact feature set against SeaweedFS's current documentation, since Object Lock and some bucket policy behaviors differ by provider. The output is a signed application test matrix that lists each service, each feature used, the test result and any accepted gap.

  6. Run the cutover with a final delta sync

    Freeze writes to each bucket or pause the producing service, run a final incremental copy from GCS to SeaweedFS, and repeat the count and checksum check on the changed prefixes. Then switch application configuration to the SeaweedFS S3 endpoint and credentials, using the change process the organization already uses for production releases. Watch error rates, latency and storage writes for an agreed observation window set by the application owner. The output is a cutover record for each bucket with the time of the final sync, the configuration change reference and the observation result, along with a rollback path that points back to GCS until the owner signs off.

  7. Decommission the GCS buckets

    Once owners confirm the applications are stable, the team removes lifecycle rules that would delete or transition objects still in use, then retires the GCS buckets in line with retention obligations. Buckets under a retention policy or Bucket Lock cannot be deleted early, so compliance must confirm that the retention period has expired or that a compliant copy exists in SeaweedFS with its own controls. Revoke HMAC keys and service account access that no longer need it, and archive the inventory, verification reports and cutover records for audit. Note that SeaweedFS Object Lock-style retention is a separate control that the team must design and test on its own cluster. The output is a closed decommission ticket per bucket, revoked credentials and an archived evidence set.

How data and applications move, by path

rclone is the most direct route for copying data into SeaweedFS, because SeaweedFS exposes its S3 API through filer servers and rclone's S3 backend supports SeaweedFS as a named provider. Configure one remote for Google Cloud Storage and a second S3 remote that points at the SeaweedFS endpoint, then copy one bucket at a time.

  • Remote setup: choose the SeaweedFS provider option described in the rclone S3 documentation and set the endpoint to your filer's S3 address.
  • Verification: run rclone check after each copy to compare sizes and hashes where both sides support them.
  • Credentials: keep GCS service account credentials and SeaweedFS access keys in the rclone configuration file, readable only by the migration host account.
  • Throughput: test one large bucket first and tune transfer settings against measured results in your own network.
  • Archive classes: objects in Coldline or Archive must be restored before they can be read, so schedule them in a separate pass.

Confirm the rclone version in your environment, since the supplied release is v1.75.2, and run a small-bucket test with checksum verification before scheduling the full copy.

How Nearline, Coldline and Archive objects change the timing

Retrieval fees and minimum storage durations on Nearline, Coldline and Archive decide when and in what order you read and copy objects. Standard objects can be copied at any time without extra charges, but a Nearline, Coldline or Archive object that is read before its minimum storage duration has passed, or deleted early, can trigger a charge for the remaining time. Those rules, and the retrieval fees attached to each class, are set by Google's published terms for Cloud Storage. Confirm the current figures for your bucket location and each storage class with Google before you build a copy schedule, because they are the inputs that determine the cost of the copy itself.

Start with an inventory of cold objects. For each bucket, list the storage class of every object or prefix, the date each object was written or moved into its current class, and any lifecycle rules that transition objects between classes. Use that list to group objects by class and age, then schedule the Nearline, Coldline and Archive groups so they are read once, in a single pass, and copied to SeaweedFS before any bucket is emptied. Objects whose minimum duration has not yet elapsed should be copied during the window in which you are already paying for them, and not deleted from GCS until the copy is verified. Check each cold object's checksum on the SeaweedFS side against the source before you remove it from Google, so a failed copy does not cost you a second retrieval.

How the SeaweedFS parts fit during the parallel run

The run starts with the GCS source, where an rclone job or the XML API reads objects and writes them into SeaweedFS through its S3 gateway on the filer. Inside the client's boundary, the filer asks the master for volume locations, and volume servers hold the blobs. Applications are pointed at the S3 endpoint only after verification, so the team should compare object counts and checksums between GCS and SeaweedFS before any cutover.

Data path from GCS through the copy job into SeaweedFS, with verification before applications switch.

What usually goes wrong and how to prevent it

Most failed GCS-to-SeaweedFS moves fail in predictable places: identity, metadata, storage class timing, verification, application code and cluster sizing. Each card below names one of these risks and the check that prevents it before cutover.

IAM and service account mapping gaps

GCS access is granted through IAM roles on buckets and service accounts, and SeaweedFS uses its own S3 identities and permissions. Before copying, list every service account and signed URL holder that reads or writes each bucket, then map each one to a SeaweedFS S3 identity with bucket-scoped actions. Test each application with its new credentials in staging, because a missing grant often surfaces only as a failed batch job weeks later.

Lost object metadata and content types

Copy tools do not always carry custom metadata, cache-control headers or content types across providers. Objects can arrive with a generic binary type, which breaks browser delivery and some signed-download flows. Sample objects from each bucket, compare their headers on the source and destination, and set explicit metadata rules in the copy job for any fields your applications depend on.

Cold-class retrieval surprises

Objects in Nearline, Coldline and Archive carry retrieval fees and minimum storage durations, so reading or deleting them early can cost more than the migration itself. Inventory storage classes per bucket before scheduling the copy, and decide whether to read cold objects in a planned window. Confirm the current retrieval and early-deletion terms in Google's pricing documentation for your locations, since these are not set in this page.

Unverified copies deleted early

Teams often delete source buckets once the copy job reports success, but a job exit code does not prove every object arrived intact. Compare object counts, total bytes and checksums between source and SeaweedFS for each bucket, and keep the GCS source readable until a full verification pass and a rollback window have both finished. Keep object versions and retention settings in the inventory as part of that check.

Application code still calling GCS APIs

Services that use the GCS JSON API or client libraries will fail once endpoints change, even when the data is correct. Search repositories, build pipelines and infrastructure templates for GCS client imports, gs:// paths and JSON API calls, then rewrite them to S3 calls against the SeaweedFS endpoint. Run integration tests for uploads, presigned URLs and listing pagination before switching production traffic.

Single master or undersized cluster

A SeaweedFS deployment with one master server has no failover for volume location tracking, and an undersized volume tier can fill before the migration finishes. Size the cluster from total bytes, object count and expected growth, and run three masters in a Raft group for production. Confirm replication and erasure coding settings against your durability target, and load-test with a representative sample of small objects before cutover.

What drives the cost and duration of the move

The cost of this move splits into one-time migration work and recurring run costs, and the two respond to different decisions. The one-time side covers the copy itself, the labor to rewrite GCS client calls to S3 requests, testing, and cutover. The recurring side covers the SeaweedFS cluster, the people who operate it, support, and any network transfer you pay for. On the GCS side, the bill for reading data out is driven by network egress and by retrieval fees on Nearline, Coldline and Archive objects, so the volume and location of data you copy matter as much as the number of bytes. Ask the vendor or your cloud account team to confirm current egress and retrieval rates for your bucket locations, since these are not set out here.

Timing is driven more by the storage class mix than by raw volume. Nearline, Coldline and Archive objects carry minimum storage durations, and deleting or moving them early can trigger early deletion charges, so the inventory should record class, creation date and any retention policy per bucket before anything is scheduled. Confirm the minimum durations for each class in the Amazon S3 storage class documentation only as a comparison point, and check the GCS documentation for the figures that apply to you. Retrieval of cold objects can also take time that a copy job does not control, so plan those buckets as their own wave.

For a quote, ask for each component to be priced separately: discovery and inventory, cluster design and sizing for SeaweedFS (volume servers, filer metadata store, master servers and replication or erasure coding choices), data transfer and verification, application changes from JSON API and client library calls to S3 endpoints, testing, cutover, and a run model covering monitoring, upgrades and backups. Also request the assumptions behind each line, including which buckets are in scope, the expected GCS retrieval volume, and who owns the S3 credential rollout. A quote that lists only a total hides the drivers you will need to manage later.

Effort and cost drivers and how to reduce each

This table lists the factors that most change the effort and cost of moving Google Cloud Storage data to SeaweedFS, with a short reason for each and practical ways to keep it down. Read each row against your own bucket inventory, since the size of each driver differs by estimate and by environment.

DriverWhy it mattersHow to keep it down
Data volume and object countCopy time, cluster sizing, metadata load on the filer and the number of requests all grow with bytes and objects. Object count often matters more than total bytes for metadata.Inventory buckets with gcloud storage or rclone before sizing. Copy in batches by bucket or prefix and confirm object counts after each batch.
Small-file shareSeaweedFS is optimized for many small files, which suits the workload, but a very large count of tiny objects still loads the filer metadata store and the volume index.Measure the size distribution in the inventory. Choose a filer metadata store sized for the object count and test it before the main copy.
Cold-class share (Nearline, Coldline, Archive)Retrieval fees and minimum storage durations on these classes can be charged on objects read or deleted early, so reading them to copy can add cost and time.Identify cold-class objects first. Confirm minimum durations and retrieval terms with Google Cloud pricing documentation and schedule their copy around those dates.
Number of applications and SDKsEach client using the JSON API, the GCS client libraries or gsutil needs a change to an S3 endpoint, credentials and request signing. Count of call sites drives most of the code work.Find every client by reviewing service logs and code. Move applications in groups and test each one against the SeaweedFS S3 endpoint before cutover.
Retention or legal hold requirementsBucket retention policies and holds must be reproduced or replaced in SeaweedFS, which does not carry over GCS Bucket Lock. Compliance evidence must be rebuilt on your own cluster.Document each retention rule and hold before migrating. Decide early which controls and audit logs you will add, and confirm with your compliance team what they accept.
IAM complexityService accounts, bucket-level and object-level IAM bindings and signed URLs must be mapped to SeaweedFS access settings. Gaps here cause access failures after cutover.Export IAM bindings and list the principals that use each bucket. Map them to a small set of SeaweedFS identities and test each permission with a read and write check.
Network pathCopying data out of Google Cloud involves network egress charges and transfer speed depends on the route between Google and your cluster. Routing that crosses the public internet or a narrow link extends copy time.Ask your cloud team for the egress charge for your region and route. Run the copy from a host close to the destination and in parallel where the link allows it.

How the migration differs by starting point

A small estate usually has a handful of buckets, mostly in Standard class, with a few applications reading and writing through the JSON API or client libraries. The inventory, sizing and copy steps shrink because there is little to map and a single SeaweedFS deployment, often one master with volume and filer servers on a small number of hosts, can hold the data. The application switch becomes the main effort, since each service needs its endpoint, credentials and SDK calls changed from the GCS API to S3.

  • Inventory: List every bucket, its location, class, lifecycle rules and access paths, even if the list is short.
  • Sizing: Confirm capacity and replication settings against the data volume and your failure tolerance before provisioning.
  • Copy: Use rclone for an initial sync, then a final incremental pass during a short write freeze.
  • Application switch: Update endpoints, HMAC or S3 credentials and SDK calls one service at a time, and test each.
  • Operations: Confirm backups of filer metadata and a restore test, since a small team may run the cluster alone.

Before cutover, confirm object counts and checksums match between source and target for every bucket.

Questions teams ask before moving GCS to SeaweedFS

What does moving Google Cloud Storage to SeaweedFS cost?

The move has one-time costs and recurring costs, and the one-time part is usually the copy and the cutover work. Recurring costs are the hardware or cloud instances for volume servers, master servers and filers, the metadata store you choose for the filer, power and rack space if on premises, backup storage, monitoring, and the staff who run the cluster. Network egress out of Google Cloud during the copy is a one-time charge that depends on how much data you move and from which region. Ask any quote to show each component separately, including who pays for egress and how retrieval fees for Nearline, Coldline and Archive objects are counted. SeaweedFS itself is Apache-2.0, so software licensing is not a line item unless you choose the paid Enterprise Edition, which its README says adds data recovery and self-healing storage.

How long does a GCS to SeaweedFS migration take?

Duration depends on the volume of data, the number of objects, the bandwidth between Google Cloud and your target, and how many applications must switch to S3 endpoints. Small-file workloads usually take longer than the byte count suggests, because object count drives request overhead during the copy. Cold-class data adds timing constraints: objects in Nearline, Coldline and Archive have minimum storage durations and retrieval fees, so moving them early can cost more than waiting. Plan the schedule around an inventory of buckets, classes and object counts, then agree a timeline in writing with whoever runs the engagement. No duration figure should be taken from this page without a scoped estimate for your own environment.

What does the migration need from our own team?

Expect to supply people who know the data and the applications, not only the people who run infrastructure. The work needs an owner for bucket inventory, retention and access policies, someone who can rewrite JSON API or client library calls to S3 endpoints, and an operations owner for the SeaweedFS master, volume and filer servers. Security must review how TLS or mTLS, AES256-GCM encryption at rest and access keys are configured, and compliance must confirm which retention controls replace Google's bucket-level settings. Ask your provider to document these handoffs in the written scope so gaps show up before cutover.

Can our own engineers run the migration without outside help?

Yes, many teams do the copy themselves, but the decision depends on skills and risk tolerance. rclone supports about 48 S3-compatible providers, including SeaweedFS, and its Google Cloud Storage backend can read source buckets, so the copy tooling is accessible. The harder parts are sizing and running the cluster, designing the filer metadata store, setting up replication and backups, verifying object counts and checksums, and changing application code. Engineers who have not operated a distributed object store should weigh the cost of learning on production data. Independent review of the cluster design and the cutover plan is a common middle path.

Can we run GCS and SeaweedFS in parallel during the move?

Yes. The usual pattern is to copy data while applications keep writing to GCS, then sync changes, switch read paths to SeaweedFS, and finally switch writes once checksums and object counts match. Running both stores in parallel adds cost for as long as both hold data, including duplicate storage and any egress for re-syncs. Keep a clear rollback path and do not delete source objects until verification is complete. Check how object versioning and retention settings behave during the sync, because SeaweedFS does not replace every GCS control one-for-one, so confirm each feature in the SeaweedFS documentation before you rely on it.

Will rclone copy everything from GCS to SeaweedFS, including metadata and retention?

rclone copies object data and common metadata for supported backends, but it cannot guarantee that every Google-specific setting, such as IAM bindings, retention policies or object holds, moves across. Test a representative sample of buckets first and compare object counts, sizes and checksums on both sides before deleting anything. Confirm how rclone handles the storage classes and versions you use, since behavior differs by backend. Versioning and lifecycle rules need to be rebuilt on the SeaweedFS side, so treat them as separate work items in your plan.

What happens to retention settings and Archive objects during the move?

Archive, Coldline and Nearline objects carry minimum storage durations and retrieval fees on Google Cloud, so deleting or moving them early can trigger charges, and reading them back costs money. Retrieve or copy them in an order that matches the fee schedule your team has confirmed with Google. Retention and hold settings do not transfer automatically, and SeaweedFS is not a drop-in replacement for Bucket Lock, so compliance owners must decide what evidence is required and how it will be preserved. Ask any provider to document the retention controls you will run on the target and the audit logging you will add.

How DeployOpen scopes and runs the migration

DeployOpen plans, implements, integrates, hardens, backs up, documents and supports self-hosted open-source platforms inside your own infrastructure. For a move from Google Cloud Storage to SeaweedFS, we start with a written scope covering your buckets, storage classes and applications, then build and test the cluster and copy in your environment.

How we scope

  • Inventory every GCS bucket, its storage class, object counts, retention settings and the applications that call it
  • Record which Nearline, Coldline and Archive objects need retrieval planning before any copy starts
  • Agree in writing the SeaweedFS topology, filer metadata store and S3 endpoints in scope
  • Engagements are fixed-scope, with deliverables and timelines confirmed before work begins

How we build

  • Deploy the SeaweedFS master, volume and filer servers in your infrastructure, with TLS or mTLS and encryption at rest configured
  • Run rclone copy jobs against source and destination with checksum and object count verification per bucket
  • Test S3 client compatibility for each application, including the versioning and lifecycle behavior your teams rely on
  • Review access control, credential handling and audit logging so your security team can assess the setup

How we hand over

  • Deliver written runbooks for cluster operations, replication, backup and restore, and object verification
  • Provide a migration record listing buckets moved, verification results and any objects left on GCS
  • Document application configuration changes from JSON API and client library calls to S3 endpoints
  • Walk your platform, security and compliance teams through the controls and evidence they will review

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover
  • Retainer scope, response expectations and upgrade cadence are agreed in writing, not assumed
  • Re-test the cluster after SeaweedFS upgrades or configuration changes, with findings and fixes reported
  • Ask any provider, including DeployOpen, to confirm exactly what support covers before signing

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.