About Cloud Storage buckets  |  Google Cloud (2024)

Stay organized with collections Save and categorize content based on your preferences.

This page describes buckets, a resource in Cloud Storage. For a generaloverview of how Cloud Storage works, see theCloud Storage product overview.

Buckets

Buckets are the basic containers that hold your data. Everything that youstore in Cloud Storage must be contained in a bucket. You can usebuckets to organize your data and control access to your data, but unlikedirectories and folders, you cannot nest buckets.

  • Pricing (such as charges for data storage, data processing, and networkoutbound data transfer) depends on factors such as the bucket's location andthe storage classes of objects within it. For more details, seeCloud Storage pricing.

Enable hierarchical namespace in buckets

When you create a bucket, you have the option to enablehierarchical namespace (preview) foryour bucket. Buckets with hierarchical namespace enabled have an optimizedstorage structure similar to a file system, organizing objects within ahierarchy of folders. This provides improved performance, consistency, and easeof management, especially for data-intensive and file-oriented workloads. Forinformation about enabling hierarchical namespace, see Create andmanage buckets with hierarchical namespace enabled.

Bucket names

Your bucket names must meet the following requirements:

  • Bucket names can only contain lowercase letters, numeric characters, dashes (-), underscores (_), and dots (.). Spaces are not allowed. Names containing dots require verification.
  • Bucket names must start and end with a number or letter.
  • Bucket names must contain 3-63 characters. Names containing dots can contain up to 222 characters, but each dot-separated component can be no longer than 63 characters.
  • Bucket names cannot be represented as an IP address in dotted-decimal notation (for example, 192.168.5.4).
  • Bucket names cannot begin with the "goog" prefix.
  • Bucket names cannot contain "google" or close misspellings, such as "g00gle".

Bucket name considerations

  • Bucket names reside in a single namespace that is shared by allCloud Storage users. This means that:

    • Every bucket name must be globally unique.

      If you try to create a bucket with a name that already belongs to anexisting bucket, such as example-bucket, Cloud Storageresponds with an error message.

    • Bucket names are publicly visible.

      Don't use user IDs, email addresses, project names, project numbers, orany personally identifiable information (PII) in bucket names becauseanyone can probe for the existence of a bucket.

  • Once you delete a bucket, anyone can reuse its name for a new bucket.

    The time it takes a deleted bucket's name to become available again istypically on the order of seconds; however, keep in mind the following:

    • If you delete the project that contains the bucket, which effectivelydeletes the bucket as well, the bucket name may not be released for weeksor longer.
    • If a new bucket with the same name is created in a different location andwithin 10 minutes of the old bucket's deletion, requests made to the newbucket during this 10 minute timeframe might fail with a404-Bucket Not Found error.
    • If your requests go through the XML API, attempts to create a bucketthat reuses a name in a new location might fail with a404-Bucket Not Found error for up to 10 minutes after the old bucket'sdeletion.
  • You can use a bucket name in a DNS record as part of a CNAME or Aredirect.

    In order to do so, your bucket name should conform to standard DNS namingconventions. This means that your bucket name should not use underscores(_) or have a period next to another period or dash. For example, ..,-., and .- are invalid character combinations within DNS names.

Example bucket names

The following are examples of valid bucket names:

The following are examples of invalid bucket names:

  • My-Travel-Maps (contains uppercase letters)
  • my_google_bucket (contains "google")
  • test bucket (contains a space)

What's next

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-09-10 UTC.

About Cloud Storage buckets  |  Google Cloud (2024)
Top Articles
Vantage and FICO Scores: What's the Difference?
Personal line of credit | Unsecured loans | U.S. Bank
Scheelzien, volwassenen - Alrijne Ziekenhuis
Exclusive: Baby Alien Fan Bus Leaked - Get the Inside Scoop! - Nick Lachey
jazmen00 x & jazmen00 mega| Discover
Ffxiv Palm Chippings
Chatiw.ib
Don Wallence Auto Sales Vehicles
South Park Season 26 Kisscartoon
Costco The Dalles Or
1movierulzhd.fun Reviews | scam, legit or safe check | Scamadviser
Blairsville Online Yard Sale
Comenity Credit Card Guide 2024: Things To Know And Alternatives
Obituary Times Herald Record
Delectable Birthday Dyes
Valentina Gonzalez Leak
Check From Po Box 1111 Charlotte Nc 28201
Katherine Croan Ewald
Praew Phat
Spider-Man: Across The Spider-Verse Showtimes Near Marcus Bay Park Cinema
The best TV and film to watch this week - A Very Royal Scandal to Tulsa King
Zack Fairhurst Snapchat
Missed Connections Inland Empire
R. Kelly Net Worth 2024: The King Of R&B's Rise And Fall
Costco Gas Hours St Cloud Mn
Panola County Busted Newspaper
Black Panther 2 Showtimes Near Epic Theatres Of Palm Coast
Sinfuldeed Leaked
How often should you visit your Barber?
Broken Gphone X Tarkov
Boneyard Barbers
Mrstryst
Frommer's Belgium, Holland and Luxembourg (Frommer's Complete Guides) - PDF Free Download
Murphy Funeral Home & Florist Inc. Obituaries
The Bold And The Beautiful Recaps Soap Central
Rage Of Harrogath Bugged
Temu Y2K
15 Best Things to Do in Roseville (CA) - The Crazy Tourist
Infinite Campus Farmingdale
Umiami Sorority Rankings
Nimbleaf Evolution
Swsnj Warehousing Inc
Large Pawn Shops Near Me
Hillsborough County Florida Recorder Of Deeds
Keci News
Lesson 5 Homework 4.5 Answer Key
antelope valley for sale "lancaster ca" - craigslist
Solving Quadratics All Methods Worksheet Answers
Supervisor-Managing Your Teams Risk – 3455 questions with correct answers
Latest Posts
Article information

Author: Lakeisha Bayer VM

Last Updated:

Views: 6041

Rating: 4.9 / 5 (69 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Lakeisha Bayer VM

Birthday: 1997-10-17

Address: Suite 835 34136 Adrian Mountains, Floydton, UT 81036

Phone: +3571527672278

Job: Manufacturing Agent

Hobby: Skimboarding, Photography, Roller skating, Knife making, Paintball, Embroidery, Gunsmithing

Introduction: My name is Lakeisha Bayer VM, I am a brainy, kind, enchanting, healthy, lovely, clean, witty person who loves writing and wants to share my knowledge and understanding with you.