β Day 9 of My Cloud Journey β β Dive into Amazon S3 πͺ£

Today, I explored Amazon S3, the backbone of AWSβs storage services and one of the most powerful tools in cloud computing. I also hosted a static portfolio website directly from an S3 bucket as part of my hands-on learning! π
πΉ What is Amazon S3?
Amazon S3 (Simple Storage Service) is AWSβs object storage solution designed for scalability, availability, security, and performance. It's used to store and retrieve any amount of data, at any time, from anywhere on the web.
Itβs commonly used for:
Hosting websites
Storing backup and archive data
Logging and analytics
Serving static assets (images, CSS, JS)
Supporting data lakes and big data workloads
π§ Core Concepts in S3
Concept | Description |
πͺ£ Buckets | Top-level containers in S3; each object is stored in a bucket |
π Objects | Files (data + metadata) stored in buckets |
π Keys | Unique names assigned to objects |
π¦ Storage Classes | Optimize for performance/cost (Standard, IA, Glacier) |
π Versioning | Retain multiple versions of an object |
π Lifecycle Rules | Automate file transition or deletion |
π Bucket Policies | JSON rules to control access to entire buckets |
π οΈ What I Did Today
Hereβs what I practiced:
Created an S3 Bucket from the AWS Console
Uploaded files: images, HTML pages, logs
Enabled Versioning β tested overwriting files
Configured Bucket Policies & public access
Generated Pre-signed URLs to share objects securely
Explored CloudFront integration for CDN delivery
π Project: Hosting a Static Website on S3
As a hands-on activity, I hosted my static portfolio website on an S3 bucket with public access and website configuration enabled. It was an amazing experience to see my site live without any server setup!
π Check it out on LinkedIn π
Static Website Hosting on S3 β My LinkedIn Project Post
π£ Steps I Followed:
Created and named my S3 bucket
Uploaded HTML/CSS files
Enabled "Static Website Hosting" in bucket properties
Configured bucket policy for public read access
Accessed my portfolio using the S3 website endpoint
π‘Tip: Remember to add the correct bucket policy to allow public access for static site hosting. Also, avoid enabling public access globally β keep it scoped to only whatβs needed.
β Real-World Use Cases for Amazon S3
Hosting static websites
Cloud-native app file storage
Storing ML datasets for model training
Mobile app content delivery (images/videos)
IoT sensor logs and archives
π Quick Security Tips
β Use IAM policies or bucket policies to manage access
π« Block public access unless absolutely required (like for static sites)
π Enable encryption (SSE-S3 or SSE-KMS)
π Monitor access logs using S3 logging or CloudTrail
In conclusion, my exploration of Amazon S3 has been an enlightening journey into the world of cloud storage. By understanding its core concepts and practical applications, I've gained valuable insights into how S3 can be leveraged for various real-world use cases, from hosting static websites to supporting big data workloads. The hands-on experience of hosting a static portfolio website on S3 has reinforced the power and flexibility of cloud solutions. As I continue my cloud journey, I look forward to diving deeper into AWS services, enhancing my skills, and applying this knowledge to future projects.
π Whatβs Next?
Tomorrow on Day 10, Iβll dive into AWS CLI for S3 β performing tasks from the terminal, automating uploads/downloads, and integrating S3 with EC2 programmatically.
π Tags:
#Day9 #30DaysOfCloud #AWS #S3 #StaticWebsite #CloudStorage #DevOps #Hashnode #LearnInPublic #AWSBeginner #TruptiMane #CloudJourney #AmazonS3 #WebHosting #CloudProjects #PublicLearning
Subscribe to my newsletter
Read articles from Pratik Das directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
