This guide walks you through updating a GCP project from TrendAI™ Cloud One File Storage Security (C1FSS) to TrendAI Vision One™ File Security Storage (V1FSS). The update is coexistence-based and zero-downtime:
the tool stands up V1FSS alongside your existing C1FSS, confirms the new scanning
works, and then decommissions C1FSS one region at a time. Your buckets are never left
unprotected.
The process a glance:
-
Dry run:
runpreviews every change without touching anything. -
Execute:
run --executedeploys V1FSS beside C1FSS (both scan in parallel). -
Verify & tear down, per region: prove V1FSS works, then delete that region's C1FSS.
You can back out anytime before teardown using
rollback.Prerequisites
-
A TrendAI Vision One™ API key with the Operator role (or a custom role with equivalent permissions). The tool uses it to enable File Security and deploy the CAM template into your GCP project.
-
Permissions on the GCP project equivalent to Project Editor -- you are creating service accounts, custom roles, Workload Identity pools, Pub/Sub topics, Cloud Run services, secrets, and scheduler jobs. For scoped permissions, refer to GCP required permissions.
-
gcloud,jq, andterraformon the machine you deploy from. GCP Cloud Shell providesgcloud,gsutil, andjq, but Terraform is no longer preinstalled.deploy.shchecks for it and refuses to run without it. -
Access to GCP Cloud Shell (recommended). It supplies GCP credentials ambiently, so there's no local setup. To run elsewhere, see the Cloud Shell FAQ.
Run the update
-
Open Cloud Shell and set your project and API key.In the GCP project where C1FSS is deployed, open Cloud Shell and run:
gcloud config set project <your-project-id> export V1_API_KEY="your-vision-one-api-key"
-
Download the tool and do a dry run.
curl -sSL https://v1-file-security-storage.s3.amazonaws.com/gcp/tools/v1fss-migrate.zip \ -o v1fss-migrate.zip unzip -q v1fss-migrate.zip python3 -m v1fss_migrate run --provider gcp
Every mutating step is dry-run by default: nothing is created, changed, or deleted. This prints the discovered C1FSS deployments, the buckets they scan, and the exact actions the tool would take, walking through preflight, discover, onboard, sync, enable, verify. -
Review the plan, then execute.
python3 -m v1fss_migrate run --provider gcp --execute
Each run gets arun-id(checkpointed to~/.v1fss-migrate/state-<run-id>.json). If Cloud Shell's idle timeout interrupts you, resume without repeating completed phases:python3 -m v1fss_migrate resume --run-id <run-id> --provider gcp --execute
-
Verify and tear down, one region at a time.Verify proves V1FSS scans a bucket in that region: it uploads a clean object and an EICAR test object to a bucket that is not C1FSS-protected, polls their scan metadata, checks the results, and cleans up:
python3 -m v1fss_migrate verify \ --run-id <run-id> --regions us-east1 \ --provider gcp \ --verify-bucket <bucket-not-under-c1fss> --execute
Tear down that region's C1FSS. The tool performs exactly one mutation -- the cutover: it deletes C1's notification configuration from your buckets so both products can't scan mid-teardown. Then, if your C1FSS Terraform state directory is discoverable (it searches the home directory forterraform.tfstatematching each deployment), it runsterraform destroyfor those deployments. Anything else is reported as a manual remainder with exact commands:python3 -m v1fss_migrate teardown \ --run-id <run-id> --regions us-east1 --provider gcp --execute --yes
Each teardown asks you to typeDELETE C1FSSto confirm. The tool destroys your C1FSS deployments and the promote/quarantine plugin when their Terraform state directories are discoverable (it searches forterraform.tfstatefiles containing each deployment's / the plugin's name). Anything without a discoverable state is reported as a manual remainder with exact commands.
What isn't updated
-
Cross-project scanner topology -- not supported.
discoveraborts immediately if the storage deployment's scanner lives in a different project. -
C1 settings with no V1 equivalent (logged as NOTEs during
discover):reportObjectKey,objectFilterPrefix,disableScanningBucketIAMBinding. -
Promote/quarantine in copy mode -- V1FSS's post-scan action only moves a scanned object. If your plugin ran
PROMOTE_MODE/QUARANTINE_MODE= copy,onboardlogs a WARNING: after cutover the source object is deleted, not kept. -
The plugin without a discoverable Terraform state -- teardown destroys the plugin via its own Terraform state when it can find it; if not, it reports the exact cleanup commands instead of deleting blind (see the plugin section).
-
More than one C1FSS storage deployment -- fine for C1, but V1FSS is one deployment per project: all C1 storage deployments collapse into the single V1FSS deployment.
Troubleshooting & FAQ
- Can I run this outside GCP Cloud Shell?
-
Yes, on any host with
gcloud,jq, and Terraform, authenticated withgcloud auth loginandgcloud config set project <project>. Cloud Shell is recommended only because it has most of it preinstalled with ambient credentials. - What if my account spans multiple regions?
-
runscans all enabled regions by default and carries every region through onboard/sync/enable together. Onlyverifyandteardownare per region (step 4), so you prove and cut over each region independently. - How do I resume an interrupted run?
-
Check where it stopped, then continue; completed phases are skipped:
python3 -m v1fss_migrate status --run-id <run-id> --provider gcp python3 -m v1fss_migrate resume --run-id <run-id> --provider gcp --execute
- Is there downtime during the switch?
-
No. V1FSS's notification is added alongside C1FSS's on the same bucket, so both scan in parallel until you delete C1FSS at teardown.
- How do I back out before teardown?
-
python3 -m v1fss_migrate rollback --run-id <run-id> --provider gcp --execute
Rollback reverses the V1FSS onboarding: it disables the V1 scanning it turned on (removing the Bucket notification) and either deletes the V1 connector it created or restores it to its pre-update state. It never touches C1FSS (your C1 deployments, notifications, and promote/quarantine plugin stay intact throughout), so rollback simply returns you to "C1FSS only." It's only meaningful before teardown (deleting C1 deployments is irreversible), and it deliberately won't disable V1 in a region where teardown has already started (that would leave those buckets with neither C1 nor V1). - Do I have to run verify?
-
No. It is optional. Teardown only deletes a region's C1FSS deployments once V1FSS has confirmed its buckets protected, so cutover is safe without it.
verifyis an extra end-to-end proof: it uploads a clean and an EICAR object to a bucket not under C1FSS, in the region being verified, and checks the scan tags. If you skip it,teardownstill proceeds but logs that the region is being decommissioned without that proof. A verify that runs and fails, though, does block that region's teardown. If verify can't upload its test object (Object Lock, a restrictive bucket policy, or a required KMS key the caller can't use), it reports that and skips: confirm scanning manually in the V1 console, or pick a different verify bucket. (EICAR is the standard anti-malware test string, not real malware.) - How long does teardown take, and can a slow deployment fail it?
-
It usually takes a couple of minutes per deployment, but if your C1FSS is deployed in a complex GCP environment (for example, with private Google access), expect it to take longer. Teardown deletes deployments in parallel with Terraform, so the phase is bounded by the single slowest deployment rather than the sum, and each delete waits up to 1 hour by default; raise it with --teardown-timeout <seconds> for an unusually slow deployment. A deployment that still does not finish is reported and the phase stops with the others already torn down; re-run the same teardown command to retry just that one.
- What happens to my Scanner deployment at teardown?
-
Scanner and storage stacks are destroyed in two waves — storage first, scanners second. A standalone Scanner is shared infrastructure (one scanner can serve several storage deployments), so the tool auto-deletes it only when it can prove nothing else needs it. All of these must hold: (1) the scanner's Terraform state directory is discoverable; (2) the link to the storage being torn down is proven; either a storage deployment being destroyed declares the scanner's topic as its scanner (Deployment Manager generation), or the scanner is the only one in its region; and (3) on that second path, the scanner's topic grants no service accounts from other GCP projects. If any check fails — most importantly a cross-project / central scanner, or a storage deployment in any region still pointing at it — the tool leaves the Scanner deployment in place and logs a NOTE explaining exactly why (naming the other project IDs for the cross-project case), for you to delete manually once you've confirmed nothing else uses it.
- What happens to my promote/quarantine rules?
-
onboardreads your C1FSS promote/quarantine plugin configuration and maps it onto the equivalent V1FSS action parameters, so buckets keep the same clean/quarantine behavior after cutover. (Copy mode is exception: see "What isn't updated.") - Can I run individual phases?
-
Yes.
preflight,discover,onboard,sync,enable, andverifyeach run standalone (same flags asrun) if you prefer to go through the update manually.
