{"title":"Buckets","description":"Buckets are the object storage units that keep Altertable lakehouse data durable, portable, and scalable.","order":200,"askSuggestions":["What permissions does my own bucket need?","Why do reads work but ingestion fails?","Can managed buckets run on AWS or Google Cloud?"],"navigation":true,"routeId":"lakehouseBuckets","body":{"code":"var Component=(()=>{var g=Object.create;var c=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var k=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty;var f=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),y=(t,e)=>{for(var o in e)c(t,o,{get:e[o],enumerable:!0})},i=(t,e,o,r)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let a of b(e))!m.call(t,a)&&a!==o&&c(t,a,{get:()=>e[a],enumerable:!(r=p(e,a))||r.enumerable});return t};var w=(t,e,o)=>(o=t!=null?g(k(t)):{},i(e||!t||!t.__esModule?c(o,\"default\",{value:t,enumerable:!0}):o,t)),v=t=>i(c({},\"__esModule\",{value:!0}),t);var d=f((B,s)=>{s.exports=_jsx_runtime});var C={};y(C,{default:()=>u,frontmatter:()=>x});var n=w(d()),x={title:\"Buckets\",routeId:\"lakehouseBuckets\",description:\"Buckets are the object storage units that keep Altertable lakehouse data durable, portable, and scalable.\",order:200,askSuggestions:[\"What permissions does my own bucket need?\",\"Why do reads work but ingestion fails?\",\"Can managed buckets run on AWS or Google Cloud?\"]};function l(t){let e={a:\"a\",h1:\"h1\",h2:\"h2\",li:\"li\",ol:\"ol\",p:\"p\",strong:\"strong\",ul:\"ul\",...t.components},{DocsPreviewDocument:o,DocsPreviewSection:r}=e;return o||h(\"DocsPreviewDocument\",!0),r||h(\"DocsPreviewSection\",!0),(0,n.jsxs)(o,{anchors:\"buckets supported-providers managed-buckets bring-your-own-bucket connect-your-bucket verify-storage troubleshooting learn-more\",children:[(0,n.jsxs)(r,{sectionId:\"buckets\",sectionTitle:\"Buckets\",anchors:\"\",ancestors:\"\",index:\"0\",children:[(0,n.jsx)(e.h1,{id:\"buckets\",children:\"Buckets\"}),`\n`,(0,n.jsxs)(e.p,{children:[(0,n.jsx)(e.strong,{children:\"Buckets\"}),\" are the unit of storage in Altertable. They store the files behind lakehouse catalogs and file-backed external catalogs.\"]}),`\n`,(0,n.jsx)(e.p,{children:\"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.\"}),`\n`]}),(0,n.jsxs)(r,{sectionId:\"supported-providers\",sectionTitle:\"Supported providers\",anchors:\"\",ancestors:\"\",index:\"1\",children:[(0,n.jsx)(e.h2,{id:\"supported-providers\",children:\"Supported providers\"}),`\n`,(0,n.jsx)(e.p,{children:\"Altertable can connect to object storage from:\"}),`\n`,(0,n.jsxs)(e.ul,{children:[`\n`,(0,n.jsx)(e.li,{children:(0,n.jsx)(e.strong,{children:(0,n.jsx)(e.a,{href:\"https://developers.cloudflare.com/r2/\",children:\"Cloudflare R2\"})})}),`\n`,(0,n.jsx)(e.li,{children:(0,n.jsx)(e.strong,{children:(0,n.jsx)(e.a,{href:\"https://aws.amazon.com/s3/\",children:\"Amazon S3\"})})}),`\n`,(0,n.jsx)(e.li,{children:(0,n.jsx)(e.strong,{children:(0,n.jsx)(e.a,{href:\"https://cloud.google.com/storage\",children:\"Google Cloud Storage\"})})}),`\n`,(0,n.jsx)(e.li,{children:(0,n.jsx)(e.strong,{children:(0,n.jsx)(e.a,{href:\"https://docs.aws.amazon.com/AmazonS3/latest/API/Welcome.html\",children:\"S3-compatible providers\"})})}),`\n`]}),`\n`]}),(0,n.jsxs)(r,{sectionId:\"managed-buckets\",sectionTitle:\"Managed Buckets\",anchors:\"\",ancestors:\"\",index:\"2\",children:[(0,n.jsx)(e.h2,{id:\"managed-buckets\",children:\"Managed Buckets\"}),`\n`,(0,n.jsxs)(e.p,{children:[\"Managed Buckets run on Altertable infrastructure and are the default for new environments. Today, managed Buckets are Cloudflare R2 buckets available in \",(0,n.jsx)(e.strong,{children:\"Europe (Germany)\"}),\".\"]}),`\n`,(0,n.jsxs)(e.p,{children:[\"We can provision managed Buckets on \",(0,n.jsx)(e.strong,{children:\"AWS\"}),\" or \",(0,n.jsx)(e.strong,{children:\"Google Cloud\"}),\" on demand for teams with cloud, residency, or procurement requirements.\"]}),`\n`]}),(0,n.jsxs)(r,{sectionId:\"bring-your-own-bucket\",sectionTitle:\"Bring your own bucket\",anchors:\"\",ancestors:\"\",index:\"3\",children:[(0,n.jsx)(e.h2,{id:\"bring-your-own-bucket\",children:\"Bring your own bucket\"}),`\n`,(0,n.jsx)(e.p,{children:\"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.\"}),`\n`]}),(0,n.jsxs)(r,{sectionId:\"connect-your-bucket\",sectionTitle:\"Connect your bucket\",anchors:\"\",ancestors:\"\",index:\"4\",children:[(0,n.jsx)(e.h2,{id:\"connect-your-bucket\",children:\"Connect your bucket\"}),`\n`,(0,n.jsx)(e.p,{children:\"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.\"}),`\n`,(0,n.jsxs)(e.ol,{children:[`\n`,(0,n.jsxs)(e.li,{children:[\"Open \",(0,n.jsx)(e.strong,{children:\"Buckets\"}),\" in the target environment and start a new bucket connection.\"]}),`\n`,(0,n.jsx)(e.li,{children:\"Select the provider and enter the bucket name, access key ID, and secret access key.\"}),`\n`,(0,n.jsx)(e.li,{children:\"Set the region and endpoint when required by the provider. For S3-compatible storage, use its S3 endpoint.\"}),`\n`,(0,n.jsx)(e.li,{children:\"Test the connection and resolve any reported credential or bucket error before saving.\"}),`\n`,(0,n.jsxs)(e.li,{children:[\"Select the connected bucket when creating a managed \",(0,n.jsx)(e.a,{href:\"/docs/lakehouse/catalogs\",children:\"catalog\"}),\".\"]}),`\n`]}),`\n`,(0,n.jsx)(e.p,{children:\"For Google Cloud Storage, use the provider's S3-compatible interoperability credentials. Keep storage credentials in the connection settings rather than application code.\"}),`\n`]}),(0,n.jsxs)(r,{sectionId:\"verify-storage\",sectionTitle:\"Verify storage\",anchors:\"\",ancestors:\"\",index:\"5\",children:[(0,n.jsx)(e.h2,{id:\"verify-storage\",children:\"Verify storage\"}),`\n`,(0,n.jsxs)(e.p,{children:[\"Create a small table in a managed catalog that uses the connected bucket, append a known record, and query it back. Follow the \",(0,n.jsx)(e.a,{href:\"/docs/getting-started/ingest-data\",children:\"first ingestion example\"}),\", replacing its catalog with the one backed by your bucket. Confirm that the files appear in the chosen provider and bucket.\"]}),`\n`,(0,n.jsx)(e.p,{children:\"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.\"}),`\n`]}),(0,n.jsxs)(r,{sectionId:\"troubleshooting\",sectionTitle:\"Troubleshooting\",anchors:\"\",ancestors:\"\",index:\"6\",children:[(0,n.jsx)(e.h2,{id:\"troubleshooting\",children:\"Troubleshooting\"}),`\n`,(0,n.jsxs)(e.ul,{children:[`\n`,(0,n.jsxs)(e.li,{children:[(0,n.jsx)(e.strong,{children:\"Bucket test fails:\"}),\" check the bucket name, endpoint, region, and access key permissions.\"]}),`\n`,(0,n.jsxs)(e.li,{children:[(0,n.jsx)(e.strong,{children:\"Reads work but ingestion fails:\"}),\" confirm write permissions and that the catalog uses this bucket.\"]}),`\n`,(0,n.jsxs)(e.li,{children:[(0,n.jsx)(e.strong,{children:\"Access stopped after rotation:\"}),\" update the bucket's saved credentials and repeat the read/write check.\"]}),`\n`,(0,n.jsxs)(e.li,{children:[(0,n.jsx)(e.strong,{children:\"You only want to query existing files:\"}),\" use \",(0,n.jsx)(e.a,{href:\"/docs/lakehouse/query/object-storage\",children:\"object-storage queries\"}),\" or an \",(0,n.jsx)(e.a,{href:\"/docs/lakehouse/external-catalogs\",children:\"external catalog\"}),\" instead of creating managed storage.\"]}),`\n`]}),`\n`]}),(0,n.jsxs)(r,{sectionId:\"learn-more\",sectionTitle:\"Learn more\",anchors:\"\",ancestors:\"\",index:\"7\",children:[(0,n.jsx)(e.h2,{id:\"learn-more\",children:\"Learn more\"}),`\n`,(0,n.jsxs)(e.ul,{children:[`\n`,(0,n.jsxs)(e.li,{children:[(0,n.jsx)(e.strong,{children:(0,n.jsx)(e.a,{href:\"/docs/lakehouse/catalogs\",children:\"Altertable Catalogs\"})}),\": Catalogs for storing and querying your data\"]}),`\n`,(0,n.jsxs)(e.li,{children:[(0,n.jsx)(e.strong,{children:(0,n.jsx)(e.a,{href:\"/docs/lakehouse/external-catalogs\",children:\"External Catalogs\"})}),\": Connect databases, warehouses, and file-backed catalogs\"]}),`\n`,(0,n.jsxs)(e.li,{children:[(0,n.jsx)(e.strong,{children:(0,n.jsx)(e.a,{href:\"/docs/administration/encryption\",children:\"Encryption\"})}),\": How Altertable protects credentials and stored data\"]}),`\n`]})]})]})}function u(t={}){let{wrapper:e}=t.components||{};return e?(0,n.jsx)(e,{...t,children:(0,n.jsx)(l,{...t})}):l(t)}function h(t,e){throw new Error(\"Expected \"+(e?\"component\":\"object\")+\" `\"+t+\"` to be defined: you likely forgot to import, pass, or provide it.\")}return v(C);})();\n;return Component;"},"_id":"docs/lakehouse/storage/buckets.mdx","_raw":{"sourceFilePath":"docs/lakehouse/storage/buckets.mdx","sourceFileName":"buckets.mdx","sourceFileDir":"docs/lakehouse/storage","contentType":"mdx","flattenedPath":"docs/lakehouse/storage/buckets"},"type":"Docs","path":"/lakehouse/storage/buckets","level":3,"parent":"lakehouse/storage"}