Portfolio Website on AWS S3
One of the small projects I've created is this portfolio website that was initially hosted on Github Pages, and I've decided to redesign the website and migrate it to AWS S3 as part of my AWS learning process.
The website is currently hosted on AWS S3, and I've set it up to only be accessible through AWS Cloudfront for both cost optimization and security. The website is also hosted by using AWS Route 53.
The traffic control for the website is done by disabling public access on the website's S3 bucket, and in the bucket policy only allowing the CloudFront OAC (Origin Access Control) to have access to the bucket. A SSL certificate was also created in AWS ACM to be included as part of the OAC creation, this allows HTTPS connection to the website, although not necessary in this case, but it is a good practice. Related info from the SSL cert and cloudfront distribution are then added in Route 53 to make the routing possible.
Project information
- Category: Hosting, Website
- Project date: 20/1/2024 (last-update)
- Project URL: https://portfolio.vanislim.com/
- Tools: Visual Studio Code, AWS S3, Cloudfront, Route 53
- Technique: Cloud Hosting, Web Development, HTML, JavaScript