Google Cloud Storage (GCS)
Overview
Google Cloud Storage (GCS) is a scalable, fully managed, and highly reliable object storage service offered by Google Cloud, designed to store and access data from anywhere in the world. It provides a secure and cost-effective way to store data, including common data storage formats such as CSV and Parquet. Rill supports natively connecting to GCS using the provided Google Cloud Storage URI of your bucket to retrieve and read files.

Rill Developer (Local credentials)
When using Rill Developer on your local machine (i.e., rill start
), Rill will use either the credentials configured in your local environment using the Google Cloud CLI (gcloud
) or an explicitly defined connector YAML.
ollow these steps to configure your local environmental credentials:
To use the Google Cloud CLI, you will need to install the Google Cloud CLI. If you are unsure if this has been done, you can run the following command from the command line to see if it returns your authenticated user.
gcloud auth list
If an error or no users are returned, please follow Google's documentation on setting up your command line before continuing. Make sure to run gcloud init
after installation as described in the tutorial.
- Install the Google Cloud CLI.
- Initiate the Google Cloud CLI by running
gcloud init
. - Set up your user by running
gcloud auth application-default login
.
If you are using a service account, you will need to run the following command:
gcloud auth activate-service-account --key-file=path_to_json_key_file
You have now configured Google Cloud access from your local environment. Rill will detect and use your credentials the next time you try to ingest a source.
If this project has already been deployed to Rill Cloud and credentials have been set for this source, you can use rill env pull
to pull these cloud credentials locally (into your local .env
file). Please note that this may override any credentials you have set locally for this source.
Separating Dev and Prod Environments
When ingesting data locally, consider setting parameters in your connector file to limit how much data is retrieved, since costs can scale with the data source. This also helps other developers clone the project and iterate quickly by reducing ingestion time.
For more details, see our Dev/Prod setup docs.
Rill Cloud Deployment
When deploying a project to Rill Cloud, Rill requires a JSON key file to be explicitly provided for a Google Cloud service account with appropriate read access/permissions to the buckets used in your project.
When you first deploy a project using rill deploy
, you will be prompted to provide credentials for the remote sources in your project that require authentication.
If you subsequently add sources that require new credentials (or if you enter the wrong credentials during the initial deploy), you can update the credentials used by Rill Cloud by running:
rill env configure
If you've already configured credentials locally (in your <RILL_PROJECT_DIRECTORY>/.env
file), you can use rill env push
to push these credentials to your Rill Cloud project. This will allow other users to retrieve and reuse the same credentials automatically by running rill env pull
.