SOHAIL
ASGHER
This session dives into one of the most robust and scalable
storage solutions: Amazon S3 (Simple Storage Service).
Whether you’re an individual developer, a large enterprise, or
anything, AWS S3 empowers you to store with unmatched
reliability.
Key Content
a) Introduction to S3
b) Creating a Bucket in S3
c) Public your Bucket Object
d) S3 Object Properties - S3 Object Metadata - S3 Object Key
e) Versioning in S3
f) Hosting a Static Website in S3
g) Redirect Pages in S3
SOHAIL
a) Introduction to S3 ASGHER
Amazon S3 stands for Simple Storage Service.
S3 offers unlimited storage capacity for any data.
We are using the bucket word in S3 for a folder.
We are using an object word for a file.
S3 charges are storage wise and Requests & data retrievals
Object size in S3 is a maximum of 5TB.
Professional Benefits:
Highly scalable
Durability and availability
Security and data protection
Lowest price and highest performance
For more information, you can visit this link
SOHAIL
ASGHER
b) Creating a Bucket in S3
Click S3 > Create Bucket.
Name Requirements: Globally unique, lowercase only, no
special characters. Bucket name should be between 3 to 63
characters.
Do not use IP and do not allow empty field
Bucket name should start with alphabet or number
SOHAIL
b) Creating a Bucket in S3 ASGHER
SOHAIL
ASGHER
b) Creating a Bucket in S3
c) Public your Bucket Object
SOHAIL
ASGHER
c) Public your Bucket Object
SOHAIL
c) Public your Bucket Object ASGHER
SOHAIL
c) Public your Bucket Object ASGHER
c) Public your Bucket Object SOHAIL
ASGHER
d) S3 Object Properties - S3 Object Metadata
- S3 Object Key
d) S3 Object Properties - S3 Object Metadata
- S3 Object Key
SOHAIL
e) Versioning in S3 ASGHER
Versioning in Amazon S3 is a feature that allows you to keep
multiple versions of an object in the same bucket.
It helps protect against accidental deletions and overwrites by
maintaining a history of object changes.
When enabled, S3 stores every version of an object, allowing you to
restore previous versions if needed.
This is useful for backup, recovery, and auditing purposes
SOHAIL
e) Versioning in S3 ASGHER
SOHAIL
e) Versioning in S3 ASGHER
f) Hosting a Static Website in S3
Host your static website effortlessly with Amazon S3! Upload your HTML
enable static hosting, and go live in minutes!
Steps to Host a Static Website on S3:
1. Create an S3 Bucket
The bucket name should match your domain name (e.g.,
example.com).
Enable public access (if needed).
2. Upload Website Files
Upload your HTML, CSS, JS, and other static assets.
3. Enable Static Website Hosting
Go to Properties → Static Website Hosting → Enable.
Set the index document (e.g., index.html).
Optionally, define an error document (e.g., error.html).
4. Set Bucket Policy (Public Access, if required)
Allow public read access using a bucket policy.
Access Your Website
SOHAIL
ASGHER
f) Hosting a Static Website in S3
5. S3 provides a public URL like:
http://your-bucket-name.s3-website-region.amazonaws.com
You can also configure Amazon Route 53 for a custom domain.
Limitations:
No server-side processing (only static files).
No HTTPS on default S3 website endpoint (use CloudFront for HTTPS).
SOHAIL
ASGHER
f) Hosting a Static Website in S3
SOHAIL
ASGHER
f) Hosting a Static Website in S3
SOHAIL
ASGHER
g) Redirect Pages in S3
Go to Google and search aws s3 redirection rules example
If you want to redirect one page to another
https://docs.aws.amazon.com/AmazonS3/latest/userguide/how-to-
page-redirect.html