[Hands-On] AWS S3 Bucket Configurations

Hands-On [Day 5]

Amazon Simple Storage Service (S3) is one of the most powerful and widely used cloud storage solutions. Whether you’re hosting a website, storing backups, or managing big data, S3 has you covered!

Why AWS S3?

βœ… Scalability – Store unlimited data with automatic scaling.
βœ… Durability – 99.999999999% (11 9’s) durability ensures data safety.
βœ… Security – Supports encryption, access control, and compliance.
βœ… Cost-Effectiveness – Pay only for what you use, with multiple storage classes.

Use Cases of AWS S3

πŸ”Ή Backup & Disaster Recovery – Secure, durable storage for critical data.
πŸ”Ή Data Lakes & Big Data Analytics – Store massive datasets for analysis.
πŸ”Ή Static Website Hosting – Serve websites without servers.
πŸ”Ή Machine Learning & AI – Store training data efficiently.
πŸ”Ή Content Distribution – Deliver images, videos, and files via CDN.

[Hands-On]

Here’s a step-by-step guide to help you get hands-on with AWS S3 configuration:

  1. Sign in to AWS Management Console:

    • Go to the AWS Management Console and log in with your credentials.

  2. Create an S3 Bucket:

    • Navigate to the S3 service.

    • Click on "Create bucket."

    • Provide a unique bucket name and select the region closest to you.

    • Configure options like versioning, encryption, and public access settings as needed.

    • Click "Create bucket."

  3. Upload Objects to the Bucket:

    • Open your newly created bucket.

    • Click on "Upload" and select files from your local system.

    • Set permissions and properties for the uploaded files if required.

    • Click "Upload."

  4. Set Bucket Policies:

    • Go to the "Permissions" tab of your bucket.

    • Add a bucket policy to control access. For example, you can make the bucket public or restrict access to specific users.

  5. Enable Static Website Hosting (Optional):

    • In the "Properties" tab, enable static website hosting if you want to use the bucket to host a website.

    • Specify the index and error document names.

  6. Test Your Configuration:

    • Access the uploaded files using the S3 URL provided.

    • Verify permissions and ensure everything is working as expected.

      So, as of now, we are not able to access this website, so we need to make our bucket public accessible.

    Still, Website is not accessible, so now we need to enable Object(ACL enabled) ownership at bucket level.

    Step a.

Step b.

Now, we can access the website:

Clean Up Resources:

  • Once you're done, delete the bucket and objects to avoid unnecessary charges.

Hands-on AWS content is highly valuable for practical learning. As part of AWS Hands-on Topics covering all major AWS services. Today as this is our first hands-on,so starting with Launching of EC2 instance.

Featured

DevOps is a set of practices, tools, and a cultural philosophy that automate and integrate the processes between software development and IT teams.

In this article, we will discuss most important Interview Questions related with different tools, practices and culture.

The Essentials

Linux is an open-source, Unix-like operating system kernel that powers a wide range of devices, from servers and supercomputers to smartphones and embedded systems.

Shell scripting is the process of writing scripts using a shell (like Bash, Zsh, or KornShell) to automate tasks in Linux and Unix-based systems.

Amazon Web Services (AWS) is a cloud computing platform that provides scalable, on-demand computing, storage, and networking services.

Kubernetes is an open-source container orchestration platform that automates the deployment, scaling, and management of containerized applications.

Kubernetes - Errors, Troubleshooting & Fix

In this article, I have discussed different Kubernetes errors, Causes, Troubleshooting steps , fixxing issue and also suggesting preventive tips for every issue.

Connect with Me

Until next time,

Reply

or to participate.