S3 can serve static content (HTML, CSS, JS, images) directly over the Internet without a web server. Static website hosting must be enabled in bucket properties, and the bucket must have a policy allowing public read access to objects.
Website endpoint format:
http://bucket-name.s3-website-<AWS-region>.amazonaws.com
Common issue:
- A 403 Forbidden typically means the bucket policy does not allow
s3:GetObject
for public access.