Before you upload a single photo, backup or website file to Amazon Simple Storage Service (Amazon S3), you need to create the place where it will live. That place is the bucket, and even though creating one takes less than a minute, in that minute you make decisions that stay with your data for good: what it’s called, which region of the world it lives in and who can see it.
In this article you’ll learn what an S3 bucket is, what you decide when you create it and which of those decisions can’t be changed afterwards. You’ll also see why a new bucket starts out private and why, even though the console shows folders, a bucket doesn’t work like a folder on your computer.
What an Amazon S3 bucket is
Amazon S3 is an object storage service: it stores files of any kind (images, videos, documents, backups, data to analyze) and makes them reachable from anywhere over the internet or from other AWS services. To store something in S3, it has to go inside a bucket.
A bucket is a container for objects. Every file you upload is stored as an object inside a bucket, and you can store as many objects as you need: S3 sets no maximum bucket size and no limit on the number of objects in it.
If you think of it as a giant warehouse, S3 is the warehouse and each bucket is a box with a unique label. The analogy helps place the pieces, but it has a limit worth knowing right away: the warehouse isn’t yours, but each box is. A bucket belongs to the AWS account that created it, and that ownership can’t be transferred to another account.

Every object lives in a bucket, and every bucket lives in a Region you choose.
Three decisions you make when you create a bucket
When you create a general purpose bucket, AWS asks you for very little. Three of those choices are structural: the name, the Region and the bucket type. All three are permanent.
The name: unique across AWS, with its own rules
By default, general purpose buckets live in a global namespace. That means your bucket name can’t be in use by any other AWS account in the same partition (the standard commercial Regions are one partition; the China Regions and AWS GovCloud form others). If someone already created photos, you can’t use it.
Besides being unique, the name has to follow formatting rules:
- Be between 3 and 63 characters long.
- Use only lowercase letters, numbers, periods and hyphens.
- Begin and end with a letter or a number.
- Not be formatted as an IP address (for example,
192.168.5.4). - Not use certain prefixes and suffixes reserved by AWS, such as
xn--at the start or--x-s3at the end.
A name like lucia-tienda-fotos meets every rule. Lucia_Tienda doesn’t: it has uppercase letters and an underscore.
AWS also lets you create buckets in your account’s regional namespace, where the name follows a convention that includes your account number and the Region, and nobody else can claim it. You don’t need it for your first bucket, but it’s good to know it exists when you work with many buckets or with infrastructure as code.
The Region: where your data physically lives
Each bucket is created in an AWS Region, such as us-east-1 (N. Virginia) or sa-east-1 (São Paulo). The objects you upload are stored in that Region, so the choice affects three things:
- Latency: a Region close to your users or applications responds faster.
- Legal requirements: some organizations must keep certain data inside a country or area.
- Cost: storage and data transfer prices vary between Regions.
The bucket type
S3 now offers four bucket types, each designed for a different workload. For almost everything you’ll do when starting out, the right type is the first one.
| Bucket type | What it’s designed for |
|---|---|
| General purpose | The classic bucket. Recommended for most use cases: files, backups, websites, data to analyze |
| Directory | Very low-latency workloads with the S3 Express One Zone storage class; organizes data in real directories |
| Table | Tabular data in Apache Iceberg format for analytics |
| Vector | Storing and querying vectors (embeddings) by similarity, useful in AI applications |
What you can’t change later
Once created, a bucket keeps its name and Region forever. There’s no button to rename it or move it. If you need a different name or Region, the solution is to create a new bucket and copy the objects over.
Almost everything else can be adjusted later: Block Public Access, encryption, versioning, access policies, tags or lifecycle rules.

Before creating the bucket, think carefully about the name and the Region: those are the two decisions you can’t undo.
A new bucket starts private
Accidentally exposed buckets are among the best-known mistakes in the history of the cloud. That’s why S3 now applies secure settings by default to every new bucket:
- S3 Block Public Access turned on. All four of its settings are enabled, so neither a bucket policy nor an access control list can make the contents public unless someone deliberately turns it off.
- Access control lists (ACLs) disabled. The bucket uses the Bucket owner enforced setting: your account owns every object and access is controlled only through policies, such as those in AWS Identity and Access Management (IAM).
- Server-side encryption. New objects are automatically encrypted at rest with keys managed by S3 (SSE-S3).
In practice, only your account and the identities you grant permission to can read what’s inside. If you ever need to publish files, such as the images for a website, the recommended approach isn’t to open up the bucket but to serve it through a service like Amazon CloudFront while keeping the bucket private.

By default, access comes through IAM permissions, not the open internet.
A bucket is not a folder (even if the console looks like one)
In the S3 console you can create “folders” and browse between them, so it’s easy to imagine a bucket works like your computer’s disk. It doesn’t. A general purpose bucket has a flat structure: each object is identified by a full name called its key.
When you see a photos/ folder with a cover.jpg file, there’s really an object whose key is photos/cover.jpg. The console uses the / character as a delimiter to show you a tidy view, but that “folder” is just a prefix inside the name. The difference matters when you write code, when you write access policies that target prefixes or when you search by name.
Directory buckets are the exception: there, hierarchical directories really do exist.
How many buckets you can have and how to organize them
By default, each AWS account can create up to 10,000 general purpose buckets, and you can request an increase up to one million. The first 2,000 buckets carry no charge for existing; above that number there’s a small monthly fee. What you pay for in S3 depends mainly on what you store and how you use it, not on having a bucket created.
With that much room, there’s no need to put everything in a single bucket. Some useful ways to split things up:
- By application or project: one bucket for the website, another for backups.
- By environment: testing and production in separate buckets.
- By data sensitivity: confidential data apart from what will be published, so you can apply stricter permissions.
Splitting also simplifies security, because each bucket has its own access, encryption and lifecycle settings.
And a tip about names: since they’re visible and unique across AWS, don’t include personal data, customer names or internal information. If you’re worried someone might guess the name, you can add a random suffix.
How to create a bucket
From the AWS Management Console, the path is short:
- Open the console, search for S3 and choose Create bucket.
- Keep the General purpose type.
- Enter a unique name that follows the rules.
- Choose the Region.
- Check that Block all public access stays turned on.
- Confirm with Create bucket.
The bucket appears empty, ready to receive objects.
If you prefer the command line, the AWS CLI does it in a single instruction. In this hypothetical example, Lucía creates the bucket for her shop’s photos in the São Paulo Region:
aws s3api create-bucket \
--bucket lucia-tienda-fotos \
--region sa-east-1 \
--create-bucket-configuration LocationConstraint=sa-east-1
If the Region is us-east-1, leave out --create-bucket-configuration.
Common mistakes when getting started
- Picking the name carelessly. Since it can’t be changed, a test name like
test123ends up staying in production. - Creating the bucket in the wrong Region. It happens when the console is set to another Region without you noticing. Check the Region before confirming.
- Turning off Block Public Access to make something work. The real problem is almost always a missing IAM permission.
- Keeping everything in one bucket. It works at first, but later it complicates permissions and costs.
The essentials of S3 buckets
A bucket is the container where everything you store in Amazon S3 lives. When you create it you choose a unique name, a Region and a type, and those decisions are permanent. Everything else is configured afterwards. A new bucket starts private and encrypted, and the sensible thing is to keep it that way unless you have a clear reason to open it.
With your bucket created, the next step is understanding what you store inside it: objects, which combine the file’s data, its key and its metadata.
References
- General purpose buckets overview — Amazon S3 User Guide
- General purpose bucket naming rules — Amazon S3 User Guide
- Namespaces for general purpose buckets — Amazon S3 User Guide
- General purpose bucket quotas, limitations, and restrictions — Amazon S3 User Guide
- Amazon S3 now supports up to 1 million buckets per AWS account — AWS What’s New
- Amazon S3 now applies two security best practices to all new buckets by default — AWS What’s New
- Default encryption FAQ — Amazon S3 User Guide
- Working with directory buckets — Amazon S3 User Guide
- Amazon S3 FAQs
Keep learning:
- Previous class: What is Amazon S3 and what is it for?
- What is AWS? Explained from zero
- Next class: What is an object in S3? (coming soon to the blog)
- General purpose buckets overview — Amazon S3 User Guide
If this article helped you, share it with someone who is just getting started with the cloud. See you in the next AWS Unmapped article.
