Abstract
This document outlines a comprehensive approach to deploying a static website on Amazon
Web Services (AWS) through Infrastructure as Code (IaC). The system used AWS services like
Simple Storage Service (S3) for hosting static content and CloudFront for distributing content,
ensuring scalability, minimal latency, and high availability.
Automated deployment is achieved using a Terraform script. The script creates an S3 bucket
specifically configured for hosting a static website, handles file uploads, implements security
measures, and establishes a CloudFront distribution for worldwide content delivery. Additionally,
the document addresses considerations to fulfill requirements such as high availability,
minimizing global latency, and adhering to Infrastructure as Code (IaC) principles.
By following the guidance provided in this document, users can easily establish a resilient and
expandable architecture for hosting static websites on AWS, addressing contemporary needs
for worldwide access, efficient content delivery, and streamlined infrastructure management.