Prerequisites
Before you begin, ensure you have:- Linux-based system (Ubuntu/Debian recommended).
- Internet connectivity.
- Google Cloud account with access to the target bucket.
- Appropriate permissions on the GCS bucket.
Method 1: Filesystem Mounting with GCS FUSE
This method provides direct access to your GCS bucket without copying files locally. GCS FUSE mounts a bucket as a local filesystem, making it appear as a regular folder on your machine.Install Google Cloud SDK
Update your system and install required dependencies:Authenticate with Google Cloud
Choose one of the following authentication methods based on your use case.User Authentication
Authenticate using your Google account:Service Account Authentication
For automated processes or production environments, use a service account. Create and download a service account key file from the Google Cloud Console, then set the environment variable:Install GCS FUSE
Add the Google Cloud packages repository:Create Mount Point
Create a directory where you want to mount the bucket:Authenticate for GCS FUSE
Choose the authentication method that matches what you used when authenticating with Google Cloud. For User Authentication:GOOGLE_APPLICATION_CREDENTIALS environment variable will be automatically used by GCS FUSE.
Mount the Bucket
Mount your GCS bucket to the local filesystem:Verify the Mount
Verify that the bucket is successfully mounted:Method 2: Command-Line Access
Use this method when you need to copy specific files locally before running Visual Layer profiler, or for one-time data transfers.Install Google Cloud SDK
If you haven’t already installed it for Method 1, update your system and install required dependencies:Authenticate with Google Cloud
Choose one of the following authentication methods based on your use case.User Authentication
Authenticate using your Google account:Service Account Authentication
For automated processes or production environments, use a service account. Create and download a service account key file from the Google Cloud Console, then set the environment variable:Access Bucket Contents
Once authenticated, you can list and access bucket contents usinggsutil:
Integration with Visual Layer
After setting up access to your GCS bucket, you can run Visual Layer’s profiler using either method.Using Mounted Bucket
With the bucket mounted as a local filesystem, run the profiler directly on the mounted directory:Using Command-Line Copied Data
First copy the data locally using gsutil, then run the profiler:Configuration Options
When using GCS buckets with Visual Layer on-premise installations, you can:- Use mounted buckets for seamless filesystem access (recommended).
- Copy data locally using gsutil commands for faster processing.
- Configure bucket URLs directly in Visual Layer dataset creation.
Related Resources
Amazon S3 Integration
Configure S3 bucket access for Visual Layer
Self-Hosting Documentation
On-premise deployment guides and scripts
Need Help?
For additional support:- Contact Visual Layer support: support@visual-layer.com
- Refer to Google Cloud Storage documentation
- Check GCS FUSE documentation for advanced configuration options