Skip to content

Siddartha-DevOps/aws-s3-file-storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

☁️ AWS S3 Bucket Setup — File Storage & Public Access

This project showcases how to use Amazon S3 to create a storage solution for a fictional company (XYZ Corporation) that requires uploading and publicly sharing files.


📌 Problem Statement

XYZ Corporation needs a reliable cloud storage system to upload and store files. Some files must be publicly shareable. As a cloud associate, I implemented this using Amazon S3.


🎯 Tasks Performed

  • ✅ Created an S3 bucket
  • ✅ Uploaded 5 files of different types (JPG, PDF, TXT, PNG, MP4)
  • ✅ Configured bucket to allow public access
  • ✅ Verified public access via browser
  • ✅ Created this documentation to showcase the process

🛠️ Steps I Followed

1. Login to AWS Console

✅ Go to https://console.aws.amazon.com
✅ Search for S3 in the search bar

🖼️ Screenshot: AWS Console home


2. Create a New S3 Bucket

  • Gave it a unique name (xyzcorp-file-storage)
  • Chose region (Asia Pacific - Mumbai)
  • Disabled Block all public access

🖼️ Screenshot: Bucket creation settings


3. Upload Files

Uploaded 5 files:

  • image.jpg
  • resume.pdf
  • notes.txt
  • logo.png
  • intro.mp4

🖼️ Screenshot: Upload screen


4. Enable Public Access

  • Edited the bucket permissions
  • Disabled “Block all public access”
  • Added the following bucket policy:
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowPublicReadAccess",
      "Effect": "Allow",
      "Principal": "*",
      "Action": "s3:GetObject",
      "Resource": "arn:aws:s3:::sycorp-file-storage/*"
    }
  ]
}

About

AWS S3 project to store and share public files for xyz (sy) Corporation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published