Skip to main content

Command Palette

Search for a command to run...

โœ… Day 9 of My Cloud Journey โ˜ โ€“ Dive into Amazon S3 ๐Ÿชฃ

Updated
โ€ข3 min readโ€ขView as Markdown

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

ConceptDescription
๐Ÿชฃ BucketsTop-level containers in S3; each object is stored in a bucket
๐Ÿ“„ ObjectsFiles (data + metadata) stored in buckets
๐Ÿ”‘ KeysUnique names assigned to objects
๐Ÿ“ฆ Storage ClassesOptimize for performance/cost (Standard, IA, Glacier)
๐ŸŒ€ VersioningRetain multiple versions of an object
๐Ÿ” Lifecycle RulesAutomate file transition or deletion
๐Ÿ”’ Bucket PoliciesJSON rules to control access to entire buckets

๐Ÿ› ๏ธ What I Did Today

Hereโ€™s what I practiced:

  1. Created an S3 Bucket from the AWS Console

  2. Uploaded files: images, HTML pages, logs

  3. Enabled Versioning โ€“ tested overwriting files

  4. Configured Bucket Policies & public access

  5. Generated Pre-signed URLs to share objects securely

  6. 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

More from this blog

90DaysOfCloud

55 posts