Every application ends up piling up files: its users’ profile pictures, invoice PDFs, the videos someone uploads, database backups. At first they fit anywhere. The problem shows up when the amount grows without warning and nobody knows how much space will be needed next month.
Amazon Simple Storage Service, or Amazon S3, is AWS’s answer to that problem and one of its oldest and most widely used services. In this article you will understand what Amazon S3 is, how it organizes information, what makes it different from buying your own disks, how you pay for it, why it is private from the very first moment and in which situations it is used in practice.
The problem of storing files that keep growing
Imagine a recipe app where each person uploads photos of their dishes. If the files are stored on your own server, someone has to decide how much disk to buy. If they buy too little, the space runs out and the app stops accepting photos. If they buy a lot, they pay for capacity that sits empty for months. And in both cases someone has to make sure the disks don’t fail, make backups and replace them when they break.
That’s the usual pattern: guessing capacity in advance and carrying the burden of hardware maintenance. As we saw in the article about cloud computing, the cloud changes that logic: instead of buying resources, you use them when you need them and pay for what you consume. Amazon S3 applies that idea to file storage.
What Amazon S3 is
Amazon S3 is an object storage service. It lets you store any amount of data in the cloud and retrieve it whenever you need it, from an application, from the AWS console or with command-line tools.
The phrase “object storage” is the key to understanding it. S3 doesn’t work like your computer’s hard drive, where the operating system organizes folders and you can install programs. It isn’t a database with tables and queries either. Every file you store becomes an independent object, with a unique name, that is uploaded and downloaded as a whole.
That way of working is simpler than a traditional file system, and precisely because of that it can grow almost without limit: the service doesn’t need you to reserve space before using it.
Buckets, objects and keys: how S3 organizes information
To use S3 you need to know three pieces that always appear together:
- Bucket. It is the container where objects are stored. Each bucket has a name and lives in an AWS Region you choose when you create it; neither the name nor the Region can be changed later.
- Object. It is the file plus the metadata that describes it, such as its type or the date it was uploaded. It is the basic unit of S3: from an empty file to objects several terabytes in size.
- Key. It is the unique name of each object within its bucket. With the bucket name and the key, S3 knows exactly which object you want.

In the recipe app, for example, a photo could be stored in a bucket called recetas-fotos-app with the key usuarios/ana/tarta-de-manzana.jpg. Even though the key has slashes and looks like a folder path, to S3 it is simply the object’s full name. How buckets are created and which rules their names follow deserves its own article, which is the next step on this path.
What changes compared with having your own disks
The difference between S3 and a server with your own disks is not only where the files live, but whose problem each thing is.

Space adjusts to what you store
In S3 you don’t choose a disk size. You store ten photos or ten million, and the service adjusts. There is no need to plan expansions or migrate data to a bigger disk when the current one fills up.
Durability: making sure the file isn’t lost
AWS designs S3 to offer 99.999999999% durability, the famous “eleven nines”. In the default storage class, S3 Standard, data is stored redundantly across at least three Availability Zones, which are separate data centers within the same Region. If one fails, the objects are still available in the others.
Don’t confuse durability with protection against your own mistakes: if you delete a file, S3 deletes it. That is what features like versioning are for, which we will see later in the series.
How you pay
S3 follows the pay-as-you-go model: there is no fixed fee for reserved capacity. The bill depends mainly on:
| Item | What is charged |
|---|---|
| Storage | How much space your objects take up, for how long and in which storage class they are |
| Requests | The operations you perform on objects, such as uploading, listing or downloading |
| Data transfer | Mainly data going out of AWS to the internet; data coming in from the internet is generally not charged |
Prices change by Region and storage class, so the reference is always the official Amazon S3 pricing page. Storage classes, by the way, let you pay less for files that are rarely accessed; they will also get their own article.
Private from the very first moment
Having your files in the cloud doesn’t mean anyone can see them. In S3, buckets and objects are private by default: only the account that created them and the identities that are given permission can access them.
In addition, new buckets are created with Block Public Access turned on. It is an extra safeguard that prevents a careless configuration from leaving the content open to the internet. AWS recommends keeping it that way unless you have a specific reason to make something public, such as certain static websites.

Access is granted explicitly, usually with AWS Identity and Access Management (IAM) policies or with policies on the bucket itself. In the recipe app, the backend would have permission to upload and read photos, and visitors would only see the images through the application, not by opening the bucket directly.
What Amazon S3 is used for
Because of its flexibility, S3 shows up in almost any AWS architecture. Some common uses:
- Application files: images, videos and documents uploaded by users.
- Backups and archives: database backups or documents that must be kept for years.
- Static websites: pages made only of HTML, CSS, JavaScript and images. This very website is served from a private S3 bucket behind Amazon CloudFront, as I explained in my static website on AWS end to end.
- Data for analytics and artificial intelligence: training datasets, process outputs and trained models are often stored in S3 so other services can use them.
Common mistakes when getting started with S3
- Thinking S3 is a disk for a server. You can’t install an operating system on S3 or mount it as the disk of an Amazon EC2 instance; that is what Amazon EBS is for. S3 stores whole objects that are accessed over the network.
- Making a bucket public “so it works”. Turning off Block Public Access to fix a permissions error is one of the most common causes of data leaks. The right thing is to give the exact permission to whoever needs it.
- Believing durability protects you from accidental deletion. S3 makes sure the hardware doesn’t lose your data, but if you delete an object, it is gone unless you have turned on protections like versioning.
- Leaving everything in the same storage class. Files that hardly anyone accesses can cost quite a bit less in other classes. It isn’t urgent at first, but it is worth knowing the option exists.
The essentials of Amazon S3
Amazon S3 is the AWS service for storing files in the cloud as objects. Each object lives inside a bucket and is identified by a unique key. Space grows with what you store, AWS takes care of the hardware and redundancy, you pay for what you use and, by default, nothing is public.
With these ideas clear, the natural next step is to create your first bucket and understand the rules that come with it: name, Region and access settings. From there, objects, storage classes and durability start to fit together like pieces of the same map.
References
- What is Amazon S3? — Amazon S3 User Guide
- Amazon S3 objects overview — Amazon S3 User Guide
- Amazon S3 Storage Classes
- Amazon S3 Pricing
- Amazon S3 increases the maximum object size to 50 TB — What’s New with AWS
Keep learning:
- What is AWS? Explained from zero
- What is cloud computing? The idea that makes AWS make sense
- My static website on AWS end to end: Route 53, S3, CloudFront and GitHub Actions
- What is Amazon S3? — Amazon S3 User Guide
- Amazon S3 Storage Classes
- Amazon S3 Pricing
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.
