DEV Community

Cover image for Supriya R

Supriya R

I recently deployed my personal portfolio website on Amazon Web Services (AWS) using Amazon S3 and Amazon CloudFront. The main goal of this deployment was to host my static website in the cloud and make it accessible to users through a reliable content delivery network.

The website was first uploaded to an Amazon S3 bucket. I created an S3 bucket named supriya-2403717674422053 and used it to store my website files. The main file of the website, index.html, was uploaded successfully to the bucket. The portfolio website contains sections such as Home, About, Education, Projects, Skills, Experience, and Contact. S3 provides a simple way to store and serve these static website files without requiring a traditional web server.

After successfully hosting the website through S3, I configured Amazon CloudFront to improve the way the website content is delivered to users. I created a CloudFront distribution named portfolio and configured the S3 bucket as its origin. This allows CloudFront to retrieve the website content from S3 and distribute it through its content delivery network.

The final architecture of my deployment is simple: when a user accesses my portfolio, the request is handled by CloudFront, which retrieves the required website content from the S3 bucket and delivers it to the user's browser. CloudFront can cache static content at edge locations, which helps reduce latency and provides faster content delivery.

The deployment process can be summarized as: I developed my portfolio website, created an Amazon S3 bucket, uploaded the website files, configured the website, created a CloudFront distribution, connected CloudFront to the S3 bucket, and finally accessed the website through the CloudFront distribution.

This project gave me practical experience with AWS cloud deployment and helped me understand how Amazon S3 and CloudFront can work together. I learned how to create and configure an S3 bucket, upload and host static website files, create a CloudFront distribution, configure an S3 origin, and deliver website content through a CDN.

Overall, deploying my portfolio using Amazon S3 and CloudFront was a valuable hands-on experience in cloud computing. It helped me understand the complete process of taking a locally developed website and making it accessible through AWS infrastructure.

Top comments (0)