When we build applications, we need a place to store files such as images, videos, documents, backups, and other data. Traditionally, these files might be stored on a local computer or physical server. However, as applications grow, managing storage can become difficult.
Amazon Simple Storage Service (Amazon S3) is an AWS service that provides scalable and secure object storage in the cloud.
In this article, I will explain the basics of Amazon S3 and why it is useful for modern applications.
What is Amazon S3?
Amazon S3 stands for Amazon Simple Storage Service.
It allows us to store and retrieve data from anywhere over the internet. S3 is designed to provide highly scalable storage, making it suitable for applications ranging from small personal projects to large enterprise systems.
For example, imagine that you are building a website where users can upload profile pictures. Instead of storing all those images directly on your application server, you can store them in an S3 bucket.
How does S3 work?
S3 uses a simple structure:
Bucket → Object → Data
1. Bucket
A bucket is a container where we store our files.
For example:
my-website-images
A bucket can contain many different objects.
2. Object
An object is the actual file stored inside the bucket.
Loading article