
Hosting My Personal Portfolio Website Using Amazon S3: A Beginner's AWS Journey
In this article, I share my hands-on experience building and hosting my personal portfolio website using Amazon S3. I explain the process of creating an S3 bucket, uploading website files, enabling static website hosting, configuring access permissions, and troubleshooting a 403 Forbidden error. This project helped me understand the fundamentals of AWS cloud storage, website deployment, and cloud security as a beginner in cloud computing.
Hosting My Personal Portfolio Website Using Amazon S3: A Beginner's AWS Journey
Introduction
As a Computer Science Engineering student interested in cloud computing and emerging technologies, I wanted to gain practical experience with Amazon Web Services (AWS). I decided to start with a simple but useful project: hosting my personal portfolio website using Amazon S3.
My portfolio showcases my technical skills, academic background, projects, certifications, achievements, and professional links. Instead of keeping the website only on my local computer, I wanted to make it accessible through a web browser using a cloud service.
This project gave me an opportunity to apply my web development knowledge while exploring the fundamentals of AWS.
Why Amazon S3?
Amazon Simple Storage Service (Amazon S3) is an object storage service that allows users to store and retrieve data. It also supports static website hosting, making it a suitable option for websites built using HTML, CSS, and JavaScript.
I chose Amazon S3 because it provides a straightforward way to store website files and host a static website without managing a traditional web server.
My main objectives were to:
- Understand the basics of Amazon S3.
- Learn how to create and configure an S3 bucket.
- Upload and organize website files.
- Enable static website hosting.
- Understand public access permissions and troubleshoot deployment issues.
Technologies Used
The technologies and services used in this project were:
- HTML and CSS: To develop and style my portfolio website.
- Amazon S3: To store website files and host the static website.
- AWS Management Console: To configure the bucket, website hosting, and access permissions.
Step 1: Creating an S3 Bucket
I started by signing in to the AWS Management Console and navigating to Amazon S3.
I created an S3 bucket named
sandhiya-portfolio-site-2026 in the Asia Pacific (Mumbai) Region.An S3 bucket acts as a container for storing objects such as HTML documents, images, and other website resources.
I used this bucket to store all the files required for my portfolio website.
Step 2: Uploading Website Files
After creating the bucket, I prepared my portfolio website using HTML and CSS.
The website includes information about my education, technical skills, projects, certifications, achievements, and contact details.
I uploaded the following files to my S3 bucket:
-
index.html— The main webpage of my portfolio.
-
sandhiya.jpg— My profile photograph.
The
index.html file acts as the entry point for the website, while the image file provides the visual element displayed on the page.Uploading these files to S3 was my first step toward deploying my website in the cloud.
Step 3: Enabling Static Website Hosting
After uploading the files, I opened the Properties section of my S3 bucket.
I located the Static website hosting option and enabled it. I configured
index.html as the index document so that S3 would know which file to serve when visitors accessed the website's root endpoint.AWS provided a website endpoint for accessing my portfolio.
This step helped me understand how static website hosting connects stored website files to a browser-accessible endpoint.
Step 4: Configuring Access Permissions
When I initially opened my website endpoint, I encountered a 403 Forbidden / Access Denied error.
This was one of the most important learning moments in my project. I realized that uploading files and enabling website hosting do not automatically make the content publicly accessible.
I reviewed the bucket's permissions and public access settings to understand the issue.
For a public S3 static website, the relevant Block Public Access settings must allow the intended access, and the bucket policy must permit visitors to retrieve the website objects.
The public access policy should provide only the permissions needed to view the website. Visitors should not receive permission to upload, modify, or delete website files.
This experience helped me understand the relationship between AWS resource permissions and website accessibility.
Step 5: Testing the Website
After configuring the website hosting and permissions, I tested the website endpoint in my browser.
I checked whether the main webpage loaded correctly and whether the profile photograph and other links worked as expected.
Testing is an important part of deployment because a successful file upload does not necessarily mean the website is configured correctly.
This step helped me verify the website configuration and understand the importance of checking the complete user experience.
Figure 1: My Personal Portfolio Website Hosted Using Amazon S3 Static Website Hosting

Challenges Faced
The main challenge I encountered was the 403 Forbidden error when accessing the website.
Initially, I expected the website to work immediately after uploading the files. However, I learned that S3 static website hosting requires the correct website configuration and access permissions.
Understanding the Block Public Access settings and bucket policy helped me identify the areas that needed attention.
Rather than treating the error as just a technical problem, I used it as an opportunity to learn how AWS manages access to cloud resources.
What I Learned
This project helped me gain practical knowledge of several AWS concepts:
- Creating an S3 bucket and choosing an AWS Region.
- Uploading website files to cloud storage.
- Enabling static website hosting.
- Configuring an index document.
- Understanding website endpoints.
- Learning about public access settings and bucket policies.
- Troubleshooting access-denied errors.
- Recognizing the importance of cloud security.
Most importantly, I learned that cloud deployment involves more than uploading files. Correct configuration, testing, and security considerations are equally important.
Security Considerations
Since a publicly accessible portfolio website allows visitors to view its published content, it is important to upload only information intended for public access.
Sensitive information such as passwords, API keys, private documents, and credentials should never be stored in publicly accessible website files.
Public permissions should be restricted to the minimum required for visitors to view the website.
For websites that require HTTPS and stronger access controls, Amazon CloudFront with an appropriately configured S3 origin is an option worth exploring.
Conclusion
Hosting my personal portfolio website using Amazon S3 was a valuable hands-on learning experience. It helped me connect my web development knowledge with cloud computing concepts and understand the basic process of deploying a website through AWS.
The project also taught me how to approach deployment errors, investigate access permissions, and pay attention to cloud security.
As someone beginning my cloud computing journey, I believe that building small, practical projects is an effective way to strengthen technical knowledge.
This is my first step toward exploring more AWS services and building cloud-based projects.
Learning by building, improving through troubleshooting, and growing one project at a time!
#AWS #AmazonS3 #CloudComputing #AWSBeginner #WebDevelopment #LearningByDoing
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article