Skip to content
DocumentationLakehouse

Buckets

Buckets are the unit of storage in Altertable. They store the files behind lakehouse catalogs and file-backed external catalogs.

Buckets are object storage locations, so storage scales independently from compute. Workers can come and go while Buckets keep catalog data durable, portable, and ready for future queries.

Supported providers

Altertable can connect to object storage from:

Managed Buckets

Managed Buckets run on Altertable infrastructure and are the default for new environments. Today, managed Buckets are Cloudflare R2 buckets available in Europe (Germany).

We can provision managed Buckets on AWS or Google Cloud on demand for teams with cloud, residency, or procurement requirements.

Bring your own bucket

Bring your own bucket is designed for teams that already have object storage in their cloud provider. Connect an existing bucket from AWS, Google Cloud, Cloudflare, or another S3-compatible provider so lakehouse data stays in the account, region, and governance boundary you already operate.

Connect your bucket

You need permission to manage buckets in the target environment and access credentials for an existing storage bucket. Grant the credentials read, list, and write access to that bucket; include the metadata and object operations required by your provider. Keep this separate from a read-only external catalog connection.

  1. Open Buckets in the target environment and start a new bucket connection.
  2. Select the provider and enter the bucket name, access key ID, and secret access key.
  3. Set the region and endpoint when required by the provider. For S3-compatible storage, use its S3 endpoint.
  4. Test the connection and resolve any reported credential or bucket error before saving.
  5. Select the connected bucket when creating a managed catalog.

For Google Cloud Storage, use the provider's S3-compatible interoperability credentials. Keep storage credentials in the connection settings rather than application code.

Verify storage

Create a small table in a managed catalog that uses the connected bucket, append a known record, and query it back. Follow the first ingestion example, replacing its catalog with the one backed by your bucket. Confirm that the files appear in the chosen provider and bucket.

The connection test checks access to the bucket; a successful write and read verifies the managed table workflow. Do not rename or delete managed table objects directly in the storage provider.

Troubleshooting

  • Bucket test fails: check the bucket name, endpoint, region, and access key permissions.
  • Reads work but ingestion fails: confirm write permissions and that the catalog uses this bucket.
  • Access stopped after rotation: update the bucket's saved credentials and repeat the read/write check.
  • You only want to query existing files: use object-storage queries or an external catalog instead of creating managed storage.

Learn more